Files
petclinic/overlays/otel/patches/otel-patch.yaml
demo-bot 95bc58546f
Some checks failed
Build and Publish TechDocs / build-and-publish (push) Failing after 2s
CI Pipeline / Build and Test (push) Has been cancelled
feat(otel): auto-detected language instrumentation patch
2026-03-24 20:10:26 +00:00

20 lines
516 B
YAML

apiVersion: apps/v1
kind: Deployment
metadata:
name: petclinic
spec:
template:
metadata:
annotations:
instrumentation.opentelemetry.io/inject-java: monitoring/otel-instrumentation
spec:
containers:
- name: workload
env:
- name: OTEL_SERVICE_NAME
value: petclinic
- name: OTEL_EXPORTER_OTLP_ENDPOINT
value: http://otel-collector.monitoring.svc.cluster.local:4318
- name: OTEL_RESOURCE_ATTRIBUTES
value: app=petclinic