【发布时间】:2021-11-14 22:11:28
【问题描述】:
我想在 Jaeger span 中添加自定义标签,我尝试使用以下命令在我的 Kubernetes 集群上安装 Istio:
istioctl install --set profile=demo --set meshConfig.accessLogFile=/dev/stdout --set meshConfig.outboundTrafficPolicy.mode=REGISTRY_ONLY -f .\tracing.yaml -y
这是tracing.yaml:
apiVersion: install.istio.io/v1alpha1
kind: IstioOperator
spec:
meshConfig:
enableTracing: true
defaultConfig:
tracing:
sampling: 100.0
custom_tags:
my_tag_header:
header:
name: test
defaultValue: test
【问题讨论】:
-
您使用的是哪个版本的 Istio?
-
istioctl version client version: 1.11.2 control plane version: 1.11.2 data plane version: 1.11.2 (2 proxies)
标签: kubernetes istio jaeger