Fix neuron-mcp OTLP endpoint: alloy → alloy-otlp service
The `alloy` ClusterIP service only exposes port 12345 (UI/metrics). OTLP HTTP ingestion on port 4318 is on the separate `alloy-otlp` service. Pointing OTEL_EXPORTER_OTLP_ENDPOINT at `alloy:4318` caused continuous SocketTimeoutException in neuron-mcp. Updated both blue and green deployments.
This commit is contained in:
@@ -34,7 +34,7 @@ spec:
|
||||
containerPort: 8080
|
||||
env:
|
||||
- name: OTEL_EXPORTER_OTLP_ENDPOINT
|
||||
value: "http://alloy.monitoring.svc.cluster.local:4318"
|
||||
value: "http://alloy-otlp.monitoring.svc.cluster.local:4318"
|
||||
- name: JAVA_TOOL_OPTIONS
|
||||
value: "-XX:+UseContainerSupport -XX:MaxRAMPercentage=75.0 -XX:+ExitOnOutOfMemoryError"
|
||||
envFrom:
|
||||
|
||||
@@ -32,7 +32,7 @@ spec:
|
||||
containerPort: 8080
|
||||
env:
|
||||
- name: OTEL_EXPORTER_OTLP_ENDPOINT
|
||||
value: "http://alloy.monitoring.svc.cluster.local:4318"
|
||||
value: "http://alloy-otlp.monitoring.svc.cluster.local:4318"
|
||||
- name: JAVA_TOOL_OPTIONS
|
||||
value: "-XX:+UseContainerSupport -XX:MaxRAMPercentage=75.0 -XX:+ExitOnOutOfMemoryError"
|
||||
envFrom:
|
||||
|
||||
Reference in New Issue
Block a user