From 576a92a2b601a0a3801061ddc86146b5e3e2911c Mon Sep 17 00:00:00 2001 From: demo-bot Date: Tue, 5 May 2026 13:51:42 +0000 Subject: [PATCH] feat: add service discovery, OTel instrumentation, and k6 load tests --- overlays/otel/patches/otel-patch.yaml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 overlays/otel/patches/otel-patch.yaml diff --git a/overlays/otel/patches/otel-patch.yaml b/overlays/otel/patches/otel-patch.yaml new file mode 100644 index 0000000..bd8ab54 --- /dev/null +++ b/overlays/otel/patches/otel-patch.yaml @@ -0,0 +1,19 @@ +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-andrej-doc