[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

@ -12,6 +12,12 @@ python3 manage.py runserver 0.0.0.0:8000
gunicorn auth_prj.wsgi:application --bind 0.0.0.0:8000 --workers 3 gunicorn auth_prj.wsgi:application --bind 0.0.0.0:8000 --workers 3
``` ```
## 2025-12-05 TRACE ENDPOINT 변경 ( v0.0.15 )
* 변경전 static
* 변경후 변수 처리
* TRACE_ENDPOINT='test'
* TRACE_SERVICE_NAME=''
## 2025-09-29 jaeger Endpoint 변경 ( v0.0.14 ) ## 2025-09-29 jaeger Endpoint 변경 ( v0.0.14 )
* 변경전: endpoint="http://jaeger-collector.istio-system:4317", * 변경전: endpoint="http://jaeger-collector.istio-system:4317",
* 변경후: endpoint="http://jaeger-collector.observability.svc.cluster.local:4317", * 변경후: endpoint="http://jaeger-collector.observability.svc.cluster.local:4317",

View File

@ -27,14 +27,16 @@ if not settings.DEBUG:
trace.set_tracer_provider( trace.set_tracer_provider(
TracerProvider( TracerProvider(
resource=Resource.create({ resource=Resource.create({
"service.name": "msa-django-auth", # "service.name": "msa-django-auth",
"service.name": settings.TRACE_SERVICE_NAME,
}) })
) )
) )
otlp_exporter = OTLPSpanExporter( otlp_exporter = OTLPSpanExporter(
# endpoint="http://jaeger-collector.istio-system:4317", # 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, insecure=True,
) )

View File

@ -1 +1 @@
v0.0.14_r1 v0.0.15