feat(otel): auto-detected language instrumentation patch
Some checks failed
CI Pipeline / Build and Test (push) Successful in 6s
Security Scanning / Trivy — Filesystem & Dependency Scan (push) Has been cancelled
Build and Publish TechDocs / build-and-publish (push) Has been cancelled
Security Scanning / Gitleaks — Secret Scan (push) Has been cancelled
Security Scanning / Security Summary (push) Has been cancelled
Some checks failed
CI Pipeline / Build and Test (push) Successful in 6s
Security Scanning / Trivy — Filesystem & Dependency Scan (push) Has been cancelled
Build and Publish TechDocs / build-and-publish (push) Has been cancelled
Security Scanning / Gitleaks — Secret Scan (push) Has been cancelled
Security Scanning / Security Summary (push) Has been cancelled
This commit is contained in:
19
overlays/otel/patches/otel-patch.yaml
Normal file
19
overlays/otel/patches/otel-patch.yaml
Normal file
@@ -0,0 +1,19 @@
|
|||||||
|
apiVersion: apps/v1
|
||||||
|
kind: Deployment
|
||||||
|
metadata:
|
||||||
|
name: redis-cart
|
||||||
|
spec:
|
||||||
|
template:
|
||||||
|
metadata:
|
||||||
|
annotations:
|
||||||
|
instrumentation.opentelemetry.io/inject-python: monitoring/otel-instrumentation
|
||||||
|
spec:
|
||||||
|
containers:
|
||||||
|
- name: redis
|
||||||
|
env:
|
||||||
|
- name: OTEL_SERVICE_NAME
|
||||||
|
value: redis-cart
|
||||||
|
- name: OTEL_EXPORTER_OTLP_ENDPOINT
|
||||||
|
value: http://otel-collector.monitoring.svc.cluster.local:4318
|
||||||
|
- name: OTEL_RESOURCE_ATTRIBUTES
|
||||||
|
value: app=online-boutique
|
||||||
Reference in New Issue
Block a user