[update] Trace Endpoint
All checks were successful
Build And Test / build-and-push (push) Successful in 2m52s

This commit is contained in:
2025-12-05 12:40:05 +09:00
parent 05f4ed5b2a
commit 118398fa68
3 changed files with 11 additions and 3 deletions

View File

@ -27,14 +27,16 @@ if not settings.DEBUG:
trace.set_tracer_provider(
TracerProvider(
resource=Resource.create({
"service.name": "msa-django-auth",
# "service.name": "msa-django-auth",
"service.name": settings.TRACE_SERVICE_NAME,
})
)
)
otlp_exporter = OTLPSpanExporter(
# endpoint="http://jaeger-collector.istio-system:4317",
endpoint="jaeger-collector.observability.svc.cluster.local:4317",
# endpoint="jaeger-collector.observability.svc.cluster.local:4317",
endpoint=settings.TRACE_ENDPOINT,
insecure=True,
)