更换oltp服务器
This commit is contained in:
parent
85c2e7459e
commit
6b5975d8b9
@ -23,7 +23,7 @@ def init_opentelemetry():
|
|||||||
|
|
||||||
# 使用HTTP协议上报
|
# 使用HTTP协议上报
|
||||||
span_processor = BatchSpanProcessor(OTLPSpanHttpExporter(
|
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)
|
trace_provider = TracerProvider(resource=resource, active_span_processor=span_processor)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user