[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:
@ -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",
|
||||||
|
|||||||
@ -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,
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user