feat(otel): auto-detected language instrumentation patch
Some checks failed
CI Pipeline / Build and Test (push) Successful in 5s
Build and Publish TechDocs / build-and-publish (push) Has been cancelled

This commit is contained in:
2026-03-23 17:40:25 +00:00
parent 22e968a2bf
commit eedd68c470

View File

@@ -0,0 +1,79 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: redis
spec:
template:
metadata:
annotations:
instrumentation.opentelemetry.io/inject-python: monitoring/otel-instrumentation
spec:
containers:
- name: redis
env:
- name: OTEL_SERVICE_NAME
value: redis
- name: OTEL_EXPORTER_OTLP_ENDPOINT
value: http://otel-collector.monitoring.svc.cluster.local:4317
- name: OTEL_RESOURCE_ATTRIBUTES
value: app=vote
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: result
spec:
template:
metadata:
annotations:
instrumentation.opentelemetry.io/inject-nodejs: monitoring/otel-instrumentation
spec:
containers:
- name: result
env:
- name: OTEL_SERVICE_NAME
value: result
- name: OTEL_EXPORTER_OTLP_ENDPOINT
value: http://otel-collector.monitoring.svc.cluster.local:4317
- name: OTEL_RESOURCE_ATTRIBUTES
value: app=vote
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: vote
spec:
template:
metadata:
annotations:
instrumentation.opentelemetry.io/inject-python: monitoring/otel-instrumentation
spec:
containers:
- name: vote
env:
- name: OTEL_SERVICE_NAME
value: vote
- name: OTEL_EXPORTER_OTLP_ENDPOINT
value: http://otel-collector.monitoring.svc.cluster.local:4317
- name: OTEL_RESOURCE_ATTRIBUTES
value: app=vote
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: worker
spec:
template:
metadata:
annotations:
instrumentation.opentelemetry.io/inject-dotnet: monitoring/otel-instrumentation
spec:
containers:
- name: worker
env:
- name: OTEL_SERVICE_NAME
value: worker
- name: OTEL_EXPORTER_OTLP_ENDPOINT
value: http://otel-collector.monitoring.svc.cluster.local:4317
- name: OTEL_RESOURCE_ATTRIBUTES
value: app=vote