Imporve monitoring 2
This commit is contained in:
@@ -48,7 +48,7 @@ def setup_tracing(service_name: str = "gateway"):
|
||||
|
||||
# Configure OTLP exporter (sends to OpenTelemetry Collector)
|
||||
otlp_exporter = OTLPSpanExporter(
|
||||
endpoint=os.getenv("OTEL_EXPORTER_OTLP_ENDPOINT", "http://otel-collector.monitoring.svc.cluster.local:4317"),
|
||||
endpoint=os.getenv("OTEL_EXPORTER_OTLP_ENDPOINT", "http://signoz-otel-collector.bakery-ia.svc.cluster.local:4317"),
|
||||
insecure=True # Use insecure connection for internal cluster communication
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user