mirror of
https://github.com/ocaml-tracing/ocaml-opentelemetry.git
synced 2026-03-08 03:47:59 -04:00
19 lines
489 B
YAML
19 lines
489 B
YAML
apiVersion: v1
|
|
kind: Pod
|
|
metadata:
|
|
name: ocaml-otel-test
|
|
spec:
|
|
containers:
|
|
- name: emit
|
|
image: ocaml-otel-test:latest
|
|
env:
|
|
- name: HOST_IP
|
|
valueFrom:
|
|
fieldRef:
|
|
fieldPath: status.hostIP
|
|
# This is picked up by the opentelemetry sdks
|
|
- name: OTEL_EXPORTER_OTLP_ENDPOINT
|
|
value: "http://$(HOST_IP):4318"
|
|
- name: OTEL_RESOURCE_ATTRIBUTES
|
|
value: "service.name=t1,service.version=1,deployment.environment=poc"
|
|
|