openzipkin / zipkin-php

Zipkin instrumentation for PHP
Apache License 2.0
274 stars 59 forks source link

Calculate number of messages and message size among microservices #199

Open ktsakos opened 3 years ago

ktsakos commented 3 years ago

Hello everyone,

I have a php app which communicates with other microservices for its operations.

Can i use Zipkin to observe every message between microservices and their size?

Essentially, i need to have a clear picture for the affinities between the microservices of my architecture.

How can i do it?

jcchavezs commented 3 years ago

Yes, you can. What message in library are you using in PHP?

ktsakos commented 3 years ago

If you mean how i make my requests from the application logic to the microservices , the answer is with curl library, as each microservice offers a rest api. My main problem is, how can i instrument a microservice if i am using it as a black box. There are some microservices on my architecture that have not been implemented by me. So it is difficult to inject code inside their source code in order to make them compatible with jaeger or zipkin. I have read that there are some proxies that simplify the job such as Envoy. Do you know something for it?