Remove retarded build time variables
This commit is contained in:
@@ -53,6 +53,14 @@ class Settings(BaseSettings):
|
||||
otel_collector_endpoint: str = "http://localhost:4318"
|
||||
otel_export_timeout_ms: int = 10000
|
||||
|
||||
# Browser-reachable OTLP endpoint — served to the SPA via GET /api/config.
|
||||
# Distinct from otel_collector_endpoint, which is the backend's own
|
||||
# in-cluster collector address.
|
||||
frontend_otel_collector_endpoint: str = "/otel"
|
||||
frontend_otel_service_name: str = "otel-bi-frontend"
|
||||
frontend_otel_service_namespace: str = "final-thesis"
|
||||
frontend_deployment_environment: str = "production"
|
||||
|
||||
# Report output — points at the K8s CSI / SMB mountpoint in production
|
||||
report_output_dir: str = "/tmp/otel-bi-reports"
|
||||
|
||||
|
||||
@@ -36,6 +36,10 @@ def frontend_config() -> dict:
|
||||
"oidc_authority": settings.frontend_jwt_issuer_url,
|
||||
"oidc_client_id": settings.frontend_oidc_client_id,
|
||||
"oidc_scope": settings.frontend_oidc_scope,
|
||||
"otel_collector_endpoint": settings.frontend_otel_collector_endpoint,
|
||||
"otel_service_name": settings.frontend_otel_service_name,
|
||||
"otel_service_namespace": settings.frontend_otel_service_namespace,
|
||||
"deployment_environment": settings.frontend_deployment_environment,
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user