diff --git a/overlays/otel/patches/otel-patch.yaml b/overlays/otel/patches/otel-patch.yaml new file mode 100644 index 0000000..cafb308 --- /dev/null +++ b/overlays/otel/patches/otel-patch.yaml @@ -0,0 +1,19 @@ +apiVersion: apps/v1 +kind: Deployment +metadata: + name: reno-realworld-5 +spec: + template: + metadata: + annotations: + instrumentation.opentelemetry.io/inject-nodejs: monitoring/otel-instrumentation + spec: + containers: + - name: reno-realworld-5 + env: + - name: OTEL_SERVICE_NAME + value: reno-realworld-5 + - name: OTEL_EXPORTER_OTLP_ENDPOINT + value: http://otel-collector.monitoring.svc.cluster.local:4318 + - name: OTEL_RESOURCE_ATTRIBUTES + value: app=reno-realworld-5