Skip to content

[backplane] support OTEL spec for env vars#35

Merged
theRealWardo merged 9 commits intomainfrom
mw-otel-envs
Apr 3, 2025
Merged

[backplane] support OTEL spec for env vars#35
theRealWardo merged 9 commits intomainfrom
mw-otel-envs

Conversation

@theRealWardo
Copy link
Copy Markdown
Member

@theRealWardo theRealWardo commented Apr 1, 2025

see the OpenTelemetry specification

backplane can be configured with environment variables to support relaying to another OTLP ingestion endpoint. for example, if a Datadog agent or Vector instance is running on the host then a Kubernetes deployment of backplane can be provided the extraEnv vars of something like:

 - name: HOST_IP
   valueFrom:
     fieldRef:
       fieldPath: status.hostIP
 - name: OTEL_EXPORTER_OTLP_ENDPOINT
   value: "$(HOST_IP):4317"
- name: OTEL_EXPORTER_OTLP_PROTOCOL
   value: "gprc"
- name: OTEL_EXPORTER_OTLP_INSECURE
   value: "true"

Base automatically changed from mw-mon-api to main April 1, 2025 21:35
@theRealWardo theRealWardo merged commit 053f5d2 into main Apr 3, 2025
1 check passed
@theRealWardo theRealWardo deleted the mw-otel-envs branch April 3, 2025 03:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant