forked from open-telemetry/opentelemetry-helm-charts
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathinstrumentation.yaml
More file actions
34 lines (34 loc) · 782 Bytes
/
Copy pathinstrumentation.yaml
File metadata and controls
34 lines (34 loc) · 782 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
---
# Source: opentelemetry-kube-stack/templates/instrumentation.yaml
apiVersion: opentelemetry.io/v1alpha1
kind: Instrumentation
metadata:
name: example
labels:
helm.sh/chart: opentelemetry-kube-stack-0.16.0
app.kubernetes.io/version: "0.151.0"
app.kubernetes.io/managed-by: Helm
release: "example"
spec:
exporter:
endpoint: http://${OTEL_K8S_NODE_NAME}:4317
propagators:
- tracecontext
- baggage
- b3
- b3multi
- jaeger
- xray
- ottrace
env:
- name: OTEL_K8S_NODE_NAME
valueFrom:
fieldRef:
fieldPath: spec.nodeName
resource:
addK8sUIDAttributes: true
resourceAttributes: {}
python:
env:
- name: OTEL_EXPORTER_OTLP_ENDPOINT
value: http://${OTEL_K8S_NODE_NAME}:4318