Files
petclinic-demo-jonathan-scaf-2/overlays/otel/patches/otel-patch.yaml
demo-bot bf0e0f5f38
All checks were successful
Build and Push to ACR / Build and Push (push) Has been skipped
Build and Publish TechDocs / build-and-publish (push) Successful in 1m16s
feat: add service discovery, OTel instrumentation, and k6 load tests (#1)
2026-05-05 10:01:35 +00:00

20 lines
537 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-demo-jonathan-scaf-2