Skip to content

Commit

Permalink
send OTEL to HC without collector
Browse files Browse the repository at this point in the history
  • Loading branch information
andracc committed Aug 20, 2024
1 parent 3b19691 commit 9cf971c
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,4 @@ data:
COMBINE_JWT_SECRET_KEY: {{ .Values.global.combineJwtSecretKey | b64enc }}
COMBINE_SMTP_USERNAME: {{ .Values.global.combineSmtpUsername | b64enc }}
COMBINE_SMTP_PASSWORD: {{ .Values.global.combineSmtpPassword | b64enc }}
HONEYCOMB_API_KEY: {{ .Values.global.honeycombSecretKey | b64enc }}
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,17 @@ spec:
image: {{ include "backend.containerImage" . }}
imagePullPolicy: {{ .Values.global.imagePullPolicy }}
env:
- name: OTEL_SERVICE_NAME
value: "Otel-k8s-simple"
- name: OTEL_EXPORTER_OTLP_PROTOCOL
value: "http/protobuf"
- name: OTEL_EXPORTER_OTLP_ENDPOINT
value: "https://api.honeycomb.io"
- name: OTEL_EXPORTER_OTLP_HEADERS
valueFrom:
secretKeyRef:
key: HONEYCOMB_API_KEY
name: env-backend-secrets
- name: COMBINE_CAPTCHA_REQUIRED
valueFrom:
configMapKeyRef:
Expand Down Expand Up @@ -89,6 +100,7 @@ spec:
secretKeyRef:
key: COMBINE_SMTP_USERNAME
name: env-backend-secrets

ports:
- containerPort: 5000
resources:
Expand Down

0 comments on commit 9cf971c

Please sign in to comment.