teleport
teleport copied to clipboard
Latency Metrics for Teleport App Access
What would you like Teleport to do?
Implement Prometheus metrics for latency measurements of Teleport App Access. Specifically, metrics that measure the latency between the Teleport app agent and the backend application.
Kube access currently utilizes the promhttp
go interface to publish Prometheus metrics that do this. I suspect a similar approach would be straightforward to implement inside app access.
References:
- https://goteleport.com/docs/reference/metrics/#client
- https://github.com/gravitational/teleport/blob/b178b8b7322e7c6348bbd17ed1d3251ad34d946b/lib/kube/proxy/prometheus.go#L135-L147
What problem does this solve?
A team that is in charge of running Teleport would like to be able to measure how their Teleport service is performing to make sure it is within their service level objectives.
If a workaround exists, please include it.
There isn't a good workaround for app access latency metrics.