DescartesResearch / TeaStore

A micro-service reference test application for model extraction, cloud management, energy efficiency, power prediction, single- and multi-tier auto-scaling
https://se.informatik.uni-wuerzburg.de
Apache License 2.0
122 stars 142 forks source link

How to fetch response time of each microservices ? #198

Open renruhak opened 3 years ago

renruhak commented 3 years ago

Dear Sir, I am using docker swarm mode. I want to use TeaStore benchmarking application. I want to fetch say average response time of each microservices at runtime using python code. is there any feature available to fetch response time from python ?

awaiting for the response.

thanks you. Hiren

SimonEismann commented 3 years ago

If you are running it without Kubernetes, I would suggest enabling the Kieker tracing with an AMQP server to centralize the traces. Then your python app can retrieve the response time information you need from there. You can find some documentation on how to set this up here:

https://github.com/DescartesResearch/TeaStore/wiki/Testing-and-Benchmarking#3-instrumenting-the-teastore

When it comes to working with the kieker traces, I can recommend the Kieker user guide:

https://kieker-monitoring.net/documentation/

Let me know if this helps ;)

renruhak commented 3 years ago

Thank you very much sir, I will test your suggestions.

Good Day Sir.