-
Notifications
You must be signed in to change notification settings - Fork 55
Closed
Description
Describe the bug
When starting up a 1.4.0-rc.0 MAS instance without OpenTelemetry configured the following logging is seen:
2025-10-09T10:40:16.713133Z INFO mas_cli::commands::server:301 Listening on http://0.0.0.0:8081 with resources [Health, Prometheus, ConnectionInfo]
2025-10-09T10:40:18.412690Z ERROR mas_cli::server:147 GET-7 - Failed to set parent context on span error=OpenTelemetry layer not found
2025-10-09T10:40:18.413560Z INFO http.server.response GET-7 - "GET /health HTTP/1.1" 200 OK "kube-probe/1.33" [polls: 3, cpu: 0.3ms, elapsed: 0.9ms]
2025-10-09T10:40:18.968172Z ERROR mas_cli::server:147 GET-11 - Failed to set parent context on span error=OpenTelemetry layer not found
2025-10-09T10:40:18.968838Z INFO http.server.response GET-11 - "GET /health HTTP/1.1" 200 OK "kube-probe/1.33" [polls: 2, cpu: 0.3ms, elapsed: 0.7ms]
2025-10-09T10:40:19.025224Z INFO mas_tasks::new_queue:580 worker-run-loop-8 - I'm the leader now
2025-10-09T10:40:28.412190Z ERROR mas_cli::server:147 GET-24 - Failed to set parent context on span error=OpenTelemetry layer not found
2025-10-09T10:40:28.412543Z INFO http.server.response GET-24 - "GET /health HTTP/1.1" 200 OK "kube-probe/1.33" [polls: 2, cpu: 0.1ms, elapsed: 0.4ms]
2025-10-09T10:40:28.968243Z ERROR mas_cli::server:147 GET-27 - Failed to set parent context on span error=OpenTelemetry layer not found
2025-10-09T10:40:28.969069Z INFO http.server.response GET-27 - "GET /health HTTP/1.1" 200 OK "kube-probe/1.33" [polls: 2, cpu: 0.4ms, elapsed: 0.8ms]
On 1.3.0 the same configuration, the logging is
2025-10-09T10:41:09.165884Z INFO mas_cli::commands::server:301 Listening on http://0.0.0.0:8081 with resources [Health, Prometheus, ConnectionInfo]
2025-10-09T10:41:14.810427Z INFO http.server.response GET-11 - "GET /health HTTP/1.1" 200 OK "kube-probe/1.33" [polls: 3, cpu: 0.2ms, elapsed: 0.5ms]
2025-10-09T10:41:15.322140Z INFO http.server.response GET-14 - "GET /health HTTP/1.1" 200 OK "kube-probe/1.33" [polls: 2, cpu: 0.2ms, elapsed: 0.5ms]
2025-10-09T10:41:15.377370Z INFO mas_tasks::new_queue:580 worker-run-loop-8 - I'm the leader now
2025-10-09T10:41:24.810252Z INFO http.server.response GET-27 - "GET /health HTTP/1.1" 200 OK "kube-probe/1.33" [polls: 2, cpu: 0.1ms, elapsed: 0.3ms]
2025-10-09T10:41:25.323768Z INFO http.server.response GET-30 - "GET /health HTTP/1.1" 200 OK "kube-probe/1.33" [polls: 2, cpu: 0.3ms, elapsed: 0.8ms]
2025-10-09T10:41:34.809770Z INFO http.server.response GET-42 - "GET /health HTTP/1.1" 200 OK "kube-probe/1.33" [polls: 2, cpu: 0.1ms, elapsed: 0.4ms]
2025-10-09T10:41:35.323742Z INFO http.server.response GET-46 - "GET /health HTTP/1.1" 200 OK "kube-probe/1.33" [polls: 2, cpu: 0.4ms, elapsed: 1.1ms]
2025-10-09T10:41:44.809681Z INFO http.server.response GET-58 - "GET /health HTTP/1.1" 200 OK "kube-probe/1.33" [polls: 2, cpu: 0.1ms, elapsed: 0.3ms]
2025-10-09T10:41:45.322190Z INFO http.server.response GET-62 - "GET /health HTTP/1.1" 200 OK "kube-probe/1.33" [polls: 2, cpu: 0.2ms, elapsed: 0.5ms]
2025-10-09T10:41:54.810870Z INFO http.server.response GET-75 - "GET /health HTTP/1.1" 200 OK "kube-probe/1.33" [polls: 2, cpu: 0.2ms, elapsed: 0.3ms]
To Reproduce
Telemetry config in use:
telemetry:
metrics:
exporter: prometheus
Expected behavior
Failed to set parent context on span error=OpenTelemetry layer not found
not logged repeatedly
Additional context
sandhose
Metadata
Metadata
Assignees
Labels
No labels