lass=language-bash data-expandlinks=true data-repo=istio>$ kubectl apply -f - &lt;&lt;EOF
apiVersion: telemetry.istio.io/v1alpha1
kind: Telemetry
metadata:
  name: mesh-default
  namespace: istio-system
spec:
  tracing:
  - randomSamplingPercentage: 100.00
EOF
</code></pre><h2 id=deploy-otel-collector>部署 OpenTelemetry Collector</h2><p>OpenTelemetry Collector 支持默认将链路导出到核心分发中的<a href=https://github.com/open-telemetry/opentelemetry-collector/blob/master/exporter/README.md#ge