Skip to content

Commit 83aff71

Browse files
authored
Merge pull request #43415 from my-git9/apiserver-config.v1alpha
[zh-cn] sync apiserver-config.v1alpha1.md
2 parents 57c5d71 + b618d30 commit 83aff71

File tree

1 file changed

+56
-56
lines changed

1 file changed

+56
-56
lines changed

content/zh-cn/docs/reference/config-api/apiserver-config.v1alpha1.md

Lines changed: 56 additions & 56 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,62 @@ Package v1alpha1 is the v1alpha1 version of the API.
2424
- [EgressSelectorConfiguration](#apiserver-k8s-io-v1alpha1-EgressSelectorConfiguration)
2525
- [TracingConfiguration](#apiserver-k8s-io-v1alpha1-TracingConfiguration)
2626

27+
## `TracingConfiguration` {#TracingConfiguration}
28+
29+
<!--
30+
**Appears in:**
31+
-->
32+
**出现在:**
33+
34+
- [KubeletConfiguration](#kubelet-config-k8s-io-v1beta1-KubeletConfiguration)
35+
36+
- [TracingConfiguration](#apiserver-k8s-io-v1alpha1-TracingConfiguration)
37+
38+
<p>
39+
<!--
40+
TracingConfiguration provides versioned configuration for OpenTelemetry tracing clients.
41+
-->
42+
TracingConfiguration 为 OpenTelemetry 跟踪客户端提供了不同版本的配置。
43+
</p>
44+
45+
<table class="table">
46+
<thead><tr><th width="30%"><!--Field-->字段</th><th><!--Description-->描述</th></tr></thead>
47+
<tbody>
48+
49+
<tr><td><code>endpoint</code><br/>
50+
<code>string</code>
51+
</td>
52+
<td>
53+
<p>
54+
<!--
55+
Endpoint of the collector this component will report traces to.
56+
The connection is insecure, and does not currently support TLS.
57+
Recommended is unset, and endpoint is the otlp grpc default, localhost:4317.
58+
-->
59+
采集器的端点,此组件将向其报告跟踪信息。
60+
连接不安全,目前不支持 TLS。
61+
推荐不设置,端点为 otlp grpc 默认值 localhost:4317。
62+
</p>
63+
</td>
64+
</tr>
65+
<tr><td><code>samplingRatePerMillion</code><br/>
66+
<code>int32</code>
67+
</td>
68+
<td>
69+
<p>
70+
<!--
71+
SamplingRatePerMillion is the number of samples to collect per million spans.
72+
Recommended is unset. If unset, sampler respects its parent span's sampling
73+
rate, but otherwise never samples.
74+
-->
75+
SamplingRatePerMillion 是每百万 span 中采集的样本数。
76+
推荐不设置。如果不设置,采集器将继承其父级 span 的采样率,否则不进行采样。
77+
</p>
78+
</td>
79+
</tr>
80+
</tbody>
81+
</table>
82+
2783
## `AdmissionConfiguration` {#apiserver-k8s-io-v1alpha1-AdmissionConfiguration}
2884

2985
<p>
@@ -511,59 +567,3 @@ UDSTransport 设置通过 UDS 连接 konnectivity 服务器时需要的信息。
511567
</tr>
512568
</tbody>
513569
</table>
514-
515-
## `TracingConfiguration` {#TracingConfiguration}
516-
517-
<!--
518-
**Appears in:**
519-
-->
520-
**出现在:**
521-
522-
- [KubeletConfiguration](#kubelet-config-k8s-io-v1beta1-KubeletConfiguration)
523-
524-
- [TracingConfiguration](#apiserver-k8s-io-v1alpha1-TracingConfiguration)
525-
526-
<p>
527-
<!--
528-
TracingConfiguration provides versioned configuration for OpenTelemetry tracing clients.
529-
-->
530-
TracingConfiguration 为 OpenTelemetry 跟踪客户端提供了不同版本的配置。
531-
</p>
532-
533-
<table class="table">
534-
<thead><tr><th width="30%"><!--Field-->字段</th><th><!--Description-->描述</th></tr></thead>
535-
<tbody>
536-
537-
<tr><td><code>endpoint</code><br/>
538-
<code>string</code>
539-
</td>
540-
<td>
541-
<p>
542-
<!--
543-
Endpoint of the collector this component will report traces to.
544-
The connection is insecure, and does not currently support TLS.
545-
Recommended is unset, and endpoint is the otlp grpc default, localhost:4317.
546-
-->
547-
采集器的端点,此组件将向其报告跟踪信息。
548-
连接不安全,目前不支持 TLS。
549-
推荐不设置,端点为 otlp grpc 默认值 localhost:4317。
550-
</p>
551-
</td>
552-
</tr>
553-
<tr><td><code>samplingRatePerMillion</code><br/>
554-
<code>int32</code>
555-
</td>
556-
<td>
557-
<p>
558-
<!--
559-
SamplingRatePerMillion is the number of samples to collect per million spans.
560-
Recommended is unset. If unset, sampler respects its parent span's sampling
561-
rate, but otherwise never samples.
562-
-->
563-
SamplingRatePerMillion 是每百万 span 中采集的样本数。
564-
推荐不设置。如果不设置,采集器将继承其父级 span 的采样率,否则不进行采样。
565-
</p>
566-
</td>
567-
</tr>
568-
</tbody>
569-
</table>

0 commit comments

Comments
 (0)