Update system-traces.md

Sync doc about Traces For Kubernetes System Components
This commit is contained in:
my-git9
2022-03-06 12:49:16 +08:00
committed by GitHub
parent c5651721b3
commit c4c2288084
@@ -119,7 +119,7 @@ spans for 1 in 10000 requests, and uses the default OpenTelemetry endpoint:
下面是一个示例配置,它为万分之一的请求记录 spans,并使用了默认的 OpenTelemetry 端口。 下面是一个示例配置,它为万分之一的请求记录 spans,并使用了默认的 OpenTelemetry 端口。
```yaml ```yaml
apiVersion: apiserver.config.k8s.io/v1beta1 apiVersion: apiserver.config.k8s.io/v1alpha1
kind: TracingConfiguration kind: TracingConfiguration
# default value # default value
#endpoint: localhost:4317 #endpoint: localhost:4317
@@ -128,11 +128,11 @@ samplingRatePerMillion: 100
<!-- <!--
For more information about the `TracingConfiguration` struct, see For more information about the `TracingConfiguration` struct, see
[API server config API (v1beta1)](/docs/reference/config-api/apiserver-config.v1beta1/#apiserver-k8s-io-v1beta1-TracingConfiguration). [API server config API (v1alpha1)](/docs/reference/config-api/apiserver-config.v1alpha1/#apiserver-k8s-io-v1alpha1-TracingConfiguration).
--> -->
有关 TracingConfiguration 结构体的更多信息,请参阅 有关 TracingConfiguration 结构体的更多信息,请参阅
[API 服务器配置 API (v1beta1)](/docs/reference/config-api/apiserver-config.v1beta1/#apiserver-k8s-io-v1beta1-TracingConfiguration)。 [API 服务器配置 API (v1alpha1)](/zh/docs/reference/config-api/apiserver-config.v1alpha1/#apiserver-k8s-io-v1alpha1-TracingConfiguration)。
<!-- <!--
## Stability ## Stability
@@ -154,4 +154,4 @@ there are no guarantees of backwards compatibility for tracing instrumentation.
<!-- <!--
* Read about [Getting Started with the OpenTelemetry Collector](https://opentelemetry.io/docs/collector/getting-started/) * Read about [Getting Started with the OpenTelemetry Collector](https://opentelemetry.io/docs/collector/getting-started/)
--> -->
* 阅读[Getting Started with the OpenTelemetry Collector](https://opentelemetry.io/docs/collector/getting-started/) * 阅读[Getting Started with the OpenTelemetry Collector](https://opentelemetry.io/docs/collector/getting-started/)