feat(otel): auto-detected language instrumentation patch
Some checks failed
CI Pipeline / Build and Test (push) Has been cancelled
Security Scanning / Security Summary (push) Has been cancelled
Security Scanning / Trivy — Filesystem & Dependency Scan (push) Has been cancelled
Security Scanning / Gitleaks — Secret Scan (push) Has been cancelled
Build and Publish TechDocs / build-and-publish (push) Has been cancelled
Some checks failed
CI Pipeline / Build and Test (push) Has been cancelled
Security Scanning / Security Summary (push) Has been cancelled
Security Scanning / Trivy — Filesystem & Dependency Scan (push) Has been cancelled
Security Scanning / Gitleaks — Secret Scan (push) Has been cancelled
Build and Publish TechDocs / build-and-publish (push) Has been cancelled
This commit is contained in:
230
overlays/otel/patches/otel-patch.yaml
Normal file
230
overlays/otel/patches/otel-patch.yaml
Normal file
@@ -0,0 +1,230 @@
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: ad
|
||||
namespace: default
|
||||
spec:
|
||||
template:
|
||||
metadata:
|
||||
annotations:
|
||||
instrumentation.opentelemetry.io/inject-java: monitoring/otel-instrumentation
|
||||
spec:
|
||||
containers:
|
||||
- name: ad
|
||||
env:
|
||||
- name: OTEL_SERVICE_NAME
|
||||
value: ad
|
||||
- name: OTEL_EXPORTER_OTLP_ENDPOINT
|
||||
value: http://otel-collector.monitoring.svc.cluster.local:4318
|
||||
- name: OTEL_RESOURCE_ATTRIBUTES
|
||||
value: app=otel-demo
|
||||
---
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: email
|
||||
namespace: default
|
||||
spec:
|
||||
template:
|
||||
metadata:
|
||||
annotations:
|
||||
instrumentation.opentelemetry.io/inject-ruby: monitoring/otel-instrumentation
|
||||
spec:
|
||||
containers:
|
||||
- name: email
|
||||
env:
|
||||
- name: OTEL_SERVICE_NAME
|
||||
value: email
|
||||
- name: OTEL_EXPORTER_OTLP_ENDPOINT
|
||||
value: http://otel-collector.monitoring.svc.cluster.local:4318
|
||||
- name: OTEL_RESOURCE_ATTRIBUTES
|
||||
value: app=otel-demo
|
||||
---
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: fraud-detection
|
||||
namespace: default
|
||||
spec:
|
||||
template:
|
||||
metadata:
|
||||
annotations:
|
||||
instrumentation.opentelemetry.io/inject-java: monitoring/otel-instrumentation
|
||||
spec:
|
||||
containers:
|
||||
- name: fraud-detection
|
||||
env:
|
||||
- name: OTEL_SERVICE_NAME
|
||||
value: fraud-detection
|
||||
- name: OTEL_EXPORTER_OTLP_ENDPOINT
|
||||
value: http://otel-collector.monitoring.svc.cluster.local:4318
|
||||
- name: OTEL_RESOURCE_ATTRIBUTES
|
||||
value: app=otel-demo
|
||||
---
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: frontend
|
||||
namespace: default
|
||||
spec:
|
||||
template:
|
||||
metadata:
|
||||
annotations:
|
||||
instrumentation.opentelemetry.io/inject-nodejs: monitoring/otel-instrumentation
|
||||
spec:
|
||||
containers:
|
||||
- name: frontend
|
||||
env:
|
||||
- name: OTEL_SERVICE_NAME
|
||||
value: frontend
|
||||
- name: OTEL_EXPORTER_OTLP_ENDPOINT
|
||||
value: http://otel-collector.monitoring.svc.cluster.local:4318
|
||||
- name: OTEL_RESOURCE_ATTRIBUTES
|
||||
value: app=otel-demo
|
||||
---
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: kafka
|
||||
namespace: default
|
||||
spec:
|
||||
template:
|
||||
metadata:
|
||||
annotations:
|
||||
instrumentation.opentelemetry.io/inject-python: monitoring/otel-instrumentation
|
||||
spec:
|
||||
containers:
|
||||
- name: kafka
|
||||
env:
|
||||
- name: OTEL_SERVICE_NAME
|
||||
value: kafka
|
||||
- name: OTEL_EXPORTER_OTLP_ENDPOINT
|
||||
value: http://otel-collector.monitoring.svc.cluster.local:4318
|
||||
- name: OTEL_RESOURCE_ATTRIBUTES
|
||||
value: app=otel-demo
|
||||
---
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: llm
|
||||
namespace: default
|
||||
spec:
|
||||
template:
|
||||
metadata:
|
||||
annotations:
|
||||
instrumentation.opentelemetry.io/inject-python: monitoring/otel-instrumentation
|
||||
spec:
|
||||
containers:
|
||||
- name: llm
|
||||
env:
|
||||
- name: OTEL_SERVICE_NAME
|
||||
value: llm
|
||||
- name: OTEL_EXPORTER_OTLP_ENDPOINT
|
||||
value: http://otel-collector.monitoring.svc.cluster.local:4318
|
||||
- name: OTEL_RESOURCE_ATTRIBUTES
|
||||
value: app=otel-demo
|
||||
---
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: load-generator
|
||||
namespace: default
|
||||
spec:
|
||||
template:
|
||||
metadata:
|
||||
annotations:
|
||||
instrumentation.opentelemetry.io/inject-python: monitoring/otel-instrumentation
|
||||
spec:
|
||||
containers:
|
||||
- name: load-generator
|
||||
env:
|
||||
- name: OTEL_SERVICE_NAME
|
||||
value: load-generator
|
||||
- name: OTEL_EXPORTER_OTLP_ENDPOINT
|
||||
value: http://otel-collector.monitoring.svc.cluster.local:4318
|
||||
- name: OTEL_RESOURCE_ATTRIBUTES
|
||||
value: app=otel-demo
|
||||
---
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: payment
|
||||
namespace: default
|
||||
spec:
|
||||
template:
|
||||
metadata:
|
||||
annotations:
|
||||
instrumentation.opentelemetry.io/inject-nodejs: monitoring/otel-instrumentation
|
||||
spec:
|
||||
containers:
|
||||
- name: payment
|
||||
env:
|
||||
- name: OTEL_SERVICE_NAME
|
||||
value: payment
|
||||
- name: OTEL_EXPORTER_OTLP_ENDPOINT
|
||||
value: http://otel-collector.monitoring.svc.cluster.local:4318
|
||||
- name: OTEL_RESOURCE_ATTRIBUTES
|
||||
value: app=otel-demo
|
||||
---
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: product-reviews
|
||||
namespace: default
|
||||
spec:
|
||||
template:
|
||||
metadata:
|
||||
annotations:
|
||||
instrumentation.opentelemetry.io/inject-python: monitoring/otel-instrumentation
|
||||
spec:
|
||||
containers:
|
||||
- name: product-reviews
|
||||
env:
|
||||
- name: OTEL_SERVICE_NAME
|
||||
value: product-reviews
|
||||
- name: OTEL_EXPORTER_OTLP_ENDPOINT
|
||||
value: http://otel-collector.monitoring.svc.cluster.local:4318
|
||||
- name: OTEL_RESOURCE_ATTRIBUTES
|
||||
value: app=otel-demo
|
||||
---
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: recommendation
|
||||
namespace: default
|
||||
spec:
|
||||
template:
|
||||
metadata:
|
||||
annotations:
|
||||
instrumentation.opentelemetry.io/inject-python: monitoring/otel-instrumentation
|
||||
spec:
|
||||
containers:
|
||||
- name: recommendation
|
||||
env:
|
||||
- name: OTEL_SERVICE_NAME
|
||||
value: recommendation
|
||||
- name: OTEL_EXPORTER_OTLP_ENDPOINT
|
||||
value: http://otel-collector.monitoring.svc.cluster.local:4318
|
||||
- name: OTEL_RESOURCE_ATTRIBUTES
|
||||
value: app=otel-demo
|
||||
---
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: grafana
|
||||
namespace: default
|
||||
spec:
|
||||
template:
|
||||
metadata:
|
||||
annotations:
|
||||
instrumentation.opentelemetry.io/inject-python: monitoring/otel-instrumentation
|
||||
spec:
|
||||
containers:
|
||||
- name: grafana-sc-alerts
|
||||
env:
|
||||
- name: OTEL_SERVICE_NAME
|
||||
value: grafana
|
||||
- name: OTEL_EXPORTER_OTLP_ENDPOINT
|
||||
value: http://otel-collector.monitoring.svc.cluster.local:4318
|
||||
- name: OTEL_RESOURCE_ATTRIBUTES
|
||||
value: app=otel-demo
|
||||
Reference in New Issue
Block a user