I have deployed 3 microservices on kubrnetes and I have deployed linkerd as well. I am able to proxy the requests. I have two use cases :
- I need to trace all the calls between the microservices. Hence, I need a tracing id for all the successful as well as unsuccessful calls. Moreover, is there a way to add a unique id to the request entering the linkerd proxy ?
- I need to route requests based on the request body. Yes, this sounds odd but the use case demands the request body to be read and a logic to be applied to the routing based on the request body. So, is there a way to read the request at the linkerd proxy layer ?
- Can I log the request to a persistent database so that I can analyse the historical data to derive some meaningful insights? I read about prometheus and Grafana. But I want a simple solution.
I am a newbie in the linkerd world, so please correct me if I have done anything wrong.