istio向otel-collector上报trancing数据

1.通过OpenTelemetryTracingProvider的方式

参考:https://istio.io/latest/zh/docs/reference/config/istio.mesh.v1alpha1/#MeshConfig-ExtensionProvider-OpenTelemetryTracingProvider

 

2.通过proxyconfig的方式

参考:https://istio.io/v1.19/docs/reference/config/istio.mesh.v1alpha1/#ProxyConfig

           https://istio.io/v1.19/docs/reference/config/istio.mesh.v1alpha1/#Tracing

           https://istio.io/v1.19/docs/reference/config/istio.mesh.v1alpha1/#Tracing-OpenCensusAgent

 

otel-collector开启55678端口,proxyconfig配置opencensusagent

注意,这种方式在后面的版本被废弃了

参考:https://istio.io/v1.19/zh/docs/tasks/observability/distributed-tracing/opencensusagent/

posted @ 2025-12-09 14:32  wdgde  阅读(1)  评论(0)    收藏  举报