Skip to content

Commit ed6512a

Browse files
committed
add node auto-instrumentation
1 parent bd87007 commit ed6512a

File tree

3 files changed

+2158
-128
lines changed

3 files changed

+2158
-128
lines changed

charts/templates/deployment.yaml

+12
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,18 @@ spec:
2323
value: '{{ .Values.fasit.tenant.name }}'
2424
- name: 'GITHUB_ORGANIZATION'
2525
value: '{{ .Values.gitHub.organization }}'
26+
- name: 'OTEL_TRACES_EXPORTER'
27+
value: 'otlp'
28+
- name: 'OTEL_METRICS_EXPORTER'
29+
value: 'otlp'
30+
- name: 'OTEL_LOGS_EXPORTER'
31+
value: 'otlp'
32+
- name: 'NODE_OPTIONS'
33+
value: '--require @opentelemetry/auto-instrumentations-node/register'
34+
- name: 'OTEL_RESOURCE_ATTRIBUTES'
35+
value: 'service.instance.id=console-frontend'
36+
- name: 'OTEL_NODE_RESOURCE_DETECTORS'
37+
value: 'env,host,os'
2638
envFrom:
2739
- secretRef:
2840
name: '{{ .Release.Name }}'

0 commit comments

Comments
 (0)