��根配置命名空间中添加新的（或编辑现有的）<code>Telemetry</code> 资源。</p><p>以下是上一节中使用提供程序配置的示例配置：</p><pre><code class=language-yaml data-expandlinks=true data-repo=istio>apiVersion: telemetry.istio.io/v1alpha1
kind: Telemetry
metadata:
  name: mesh-default
  namespace: istio-system
spec:
  tracing:
  - providers:
    - name: localtrace
    customTags:
      foo:
        literal:
          value: bar
    randomSamplingPercentage: 100
</code><