链路追踪配置
小于 1 分钟
rest
修改 etc/etc.yaml 添加一下内容
rest:
telemetry:
name: "your_project-api"
endpoint: "http://jaeger:14268/api/traces"
sampler: 1.0
batcher: "jaeger"
zrpc
修改 etc/etc.yaml, 增加以下配置
zrpc:
telemetry:
name: "your_project-rpc"
endpoint: "http://jaeger:14268/api/traces"
sampler: 1.0
batcher: "jaeger"
gateway
修改 etc/etc.yaml 添加一下内容
zrpc:
telemetry:
name: "your_project-rpc"
endpoint: "http://jaeger:14268/api/traces"
sampler: 1.0
batcher: "jaeger"
gateway:
telemetry:
name: "your_project-gw"
endpoint: "http://jaeger:14268/api/traces"
sampler: 1.0
batcher: "jaeger"