prometheus-nats-exporter
prometheus-nats-exporter copied to clipboard
Support RTT metrics
Is it possible to get RTT ? Or would you tell me the other way to get data like it ?
@Takashi-kun , Thank you for using NATS. Can you describe in more detail about you are asking for? RTT between routes, or between a client and server?
We have a latency testing framework that will give you RTT on a client connection to a server, along with latency metrics. You can find that here: https://github.com/nats-io/latency-tests
@ColinSullivan1 Thank you for replying.
between routes, or between a client and server
I'm looking for client and server one, In depth I want to collect PING/PONG latency with NATS server. (e.g. https://github.com/nats-io/gnatsd/commit/f9f78a2b55a2fcf57a11005208857a96c3726014) If possible I want messages latency between routes(if possible)
I hope to collect these metrics and monitoring by Prometheus, so would you have any roadmap to implement in prometheus-nats-exporter ?
This would be very useful to detect network and buffering/queuing delays. It's possible to have low amount of pending messages/data but high buffering/queuing delay. By measuring RTT it's possible to detect this.