A request's round trip time monitoring at microservice production best tools and practices?
https://softwareengineering.stackexchange.com/questions/415001
-
15-03-2021 - |
题
I've a microservice's system at production which provide an API to the outer world. Along with each service monitoring via monitoring tool ( Prometheus, zabbix, etc.) of course it's highly desirable to monitor every single request's round trip time. The requests could have different nature: synchronous or asynchronous:
- a request came to API gateway, goes to MS1, MS2, response to client
- a request came to API gateway, goes to MS1 -> MessageBroker ...[stay here, client received 201 ] ... -> consumed, handled, pushed to client Need to measure these 2 cases.
What are the best tools and practices?
解决方案
I guess a request tracing can help ( zipkin, sleuth, jager) presents execution requests as traces. A trace shows the data/execution path through a system