Skip to content

agent server otel metrics#5445

Open
Bnowako wants to merge 7 commits intolivekit:mainfrom
Bnowako:agent-server-otel-metrics
Open

agent server otel metrics#5445
Bnowako wants to merge 7 commits intolivekit:mainfrom
Bnowako:agent-server-otel-metrics

Conversation

@Bnowako
Copy link
Copy Markdown

@Bnowako Bnowako commented Apr 14, 2026

Complementary otel setup for Agent Server metrics.

It's enabled when either "OTEL_EXPORTER_OTLP_METRICS_ENDPOINT" | "OTEL_EXPORTER_OTLP_ENDPOINT" env var is set

The only thing I did not understood quite is multiproc prometheus setup, as agent server has only 1 process and the load_task is running there. Would appreciate help there!

Lmk if we should default to livekit o11y url

related issue: #5443

devin-ai-integration[bot]

This comment was marked as resolved.

@Bnowako Bnowako marked this pull request as draft April 14, 2026 12:29

telemetry.metrics._update_worker_load(self._worker_load)
if self._prometheus_multiproc_dir:
if (
Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This check could be confusing, I don't like it but not sure how to improve it for now

Im wondering If we even need multiproc setup, as we are collecting AgentServer metrics which is just 1 process, if yes potentially otel setup needs change now.

@Bnowako Bnowako marked this pull request as ready for review April 14, 2026 13:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant