Add production condition retrieval smoke test
This commit is contained in:
@@ -51,6 +51,13 @@ class Settings(BaseSettings):
|
||||
# never uses it.
|
||||
rerank_enabled: bool = False
|
||||
metrics_enabled: bool = True
|
||||
# Optional bearer token for `GET /metrics`. Empty by default so the
|
||||
# current Compose scrape and local development keep working: the endpoint
|
||||
# is not reachable from the internet today (Caddy proxies only `web`, and
|
||||
# ai-service publishes no host port). Set it wherever the service is
|
||||
# exposed through an Ingress, which the Helm chart now allows — metrics
|
||||
# carry query volumes, provider failure counts and abstain reasons.
|
||||
metrics_token: str = ""
|
||||
# OpenTelemetry is opt-in so the existing EC2 Compose deployment keeps
|
||||
# answering when no collector is present. Docker/Kubernetes observability
|
||||
# profiles enable it and point OTLP/HTTP at their local collector Service.
|
||||
|
||||
Reference in New Issue
Block a user