Feature Request: Expose Native Prometheus Metrics Endpoint in LiveKit Agent SDK
Context
Currently, the LiveKit Agent SDK does not expose a native metrics endpoint in Prometheus format, requiring users to implement this functionality manually. This adds unnecessary complexity for those who need to monitor agents in production.
Request
Add an HTTP /metrics endpoint to the LiveKit Agent SDK that exposes all existing agent metrics in a Prometheus-compatible format.
Benefits
- Enables seamless integration with Prometheus without requiring manual instrumentation.
- Makes the agent more Kubernetes-friendly by allowing metrics to be directly consumed by a Prometheus Operator ServiceMonitor.
- Reduces operational overhead for gaining visibility into the agent in distributed environments.
we definitely would like to implement this one. it's on the roadmap!
Any deadline.. when this feature will be rolled out ? We also need this functionality to export agent related metrics
Any deadline.. when this feature will be rolled out ? We also need this functionality to export agent related metrics
Also wondering the same. Would be super nice to have this feature.
plus one! or any community best-practice to implement monitoring stack with Livekit agents, e.g. I want to see if delete room requests succeeded across the fleet
@davidzhao Any idea when can we expect this implemented ?
@davidzhao any update here?
Also interested!