更换oltp服务器

This commit is contained in:
Jerry Yan 2025-04-04 15:51:10 +08:00
parent 85c2e7459e
commit 6b5975d8b9

View File

@ -23,7 +23,7 @@ def init_opentelemetry():
# 使用HTTP协议上报
span_processor = BatchSpanProcessor(OTLPSpanHttpExporter(
endpoint="http://tracing-analysis-dc-sh.aliyuncs.com/adapt_e7qojqi4e0@aa79b4d367fb6b7_e7qojqi4e0@53df7ad2afe8301/api/otlp/traces",
endpoint="https://oltp.jerryyan.top/v1/traces",
))
trace_provider = TracerProvider(resource=resource, active_span_processor=span_processor)