diff --git a/aidial_adapter_bedrock/app.py b/aidial_adapter_bedrock/app.py index a8d0a175..13ef6906 100644 --- a/aidial_adapter_bedrock/app.py +++ b/aidial_adapter_bedrock/app.py @@ -23,11 +23,13 @@ os.environ.get("OTEL_EXPORTER_OTLP_TRACES_ENDPOINT") is not None ) +SERVICE_NAME = os.environ.get("OTEL_SERVICE_NAME", "aidial-bedrock") + app = DIALApp( description="AWS Bedrock adapter for DIAL API", add_healthcheck=True, telemetry_config=TelemetryConfig( - service_name="bedrock", + service_name=SERVICE_NAME, tracing=TracingConfig( otlp_export=OTLP_EXPORT_ENABLED, logging=True,