feat(k8s): add OpenTelemetry exporter endpoint to deploy.yaml
Add the OTEL_EXPORTER_OTLP_ENDPOINT environment variable to the deployment configuration. This change enables the application to send telemetry data to the specified OpenTelemetry collector endpoint for better monitoring and observability.
This commit is contained in:
@@ -56,6 +56,9 @@ spec:
|
||||
ports:
|
||||
- name: api
|
||||
containerPort: 8080
|
||||
env:
|
||||
- name: OTEL_EXPORTER_OTLP_ENDPOINT
|
||||
value: http://k8s-monitoring-alloy-receiver.monitoring.svc.cluster.local:4318
|
||||
envFrom:
|
||||
- configMapRef:
|
||||
name: schemas
|
||||
|
||||
Reference in New Issue
Block a user