feat(otel): auto-detected language instrumentation patch
This commit is contained in:
79
overlays/otel/patches/otel-patch.yaml
Normal file
79
overlays/otel/patches/otel-patch.yaml
Normal 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
|
||||
Reference in New Issue
Block a user