mirror of
https://github.com/ocaml-tracing/ocaml-opentelemetry.git
synced 2026-03-09 12:23:32 -04:00
19 lines
474 B
YAML
19 lines
474 B
YAML
apiVersion: v1
|
|
kind: Pod
|
|
metadata:
|
|
name: ocaml-otel-test
|
|
spec:
|
|
containers:
|
|
- name: emit
|
|
image: %IMAGE%
|
|
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"
|
|
|