[update] Trace Endpoint
All checks were successful
Build And Test / build-and-push (push) Successful in 2m52s
All checks were successful
Build And Test / build-and-push (push) Successful in 2m52s
This commit is contained in:
@ -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,
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user