Skip to content

Commit 4c28c0a

Browse files
committed
remove an example
1 parent 844301b commit 4c28c0a

File tree

1 file changed

+0
-28
lines changed

1 file changed

+0
-28
lines changed

content/en/docs/concepts/cluster-administration/system-traces.md

Lines changed: 0 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -60,34 +60,6 @@ see [OTLP Exporter Configuration](https://opentelemetry.io/docs/languages/sdk-co
6060
Additionally, for trace resource attribute configuration such as Kubernetes cluster name, namespace, Pod name, etc.,
6161
environment variables can also be used with `OTEL_RESOURCE_ATTRIBUTES`, see [OTLP Kubernetes Resource](https://opentelemetry.io/docs/specs/semconv/resource/k8s/).
6262

63-
Below is an example that shows how to configure to emit traces directly to a backend.
64-
```yaml
65-
apiVersion: apps/v1
66-
kind: Deployment
67-
metadata:
68-
name: apiserver
69-
labels:
70-
component: apiserver
71-
spec:
72-
selector:
73-
matchLabels:
74-
component: apiserver
75-
template:
76-
metadata:
77-
labels:
78-
component: apiserver
79-
spec:
80-
containers:
81-
- name: apiserver
82-
env:
83-
- name: OTEL_EXPORTER_OTLP_HEADERS
84-
value: "<header_key1>=<header_value1>,<header_key2>=<header_value2>"
85-
- name: OTEL_RESOURCE_ATTRIBUTES
86-
value: "<resource_key1>=<resource_value1>,<resource_key1>=<resource_value1>"
87-
```
88-
Note: Replace header_key, header_value, resource_key, resource_value with your actual keys and values.
89-
90-
9163
## Component traces
9264

9365
### kube-apiserver traces

0 commit comments

Comments
 (0)