Jason Harrison09/12/2022, 6:58 PM
an we query SigNoz to get metrics about a service that is running?
Docker container, running python program, instrumented with OpenTelemetry
many instances of this docker container running on different machines/cloud deploymentsFor this, you have to first send data from your python program to SigNoz - are you sending the telemetry data to SigNoz currently? - This doc should be helpful https://signoz.io/docs/instrumentation/python/ YOU should be able to send from multiple containers to SigNoz instance
program sends/creates a "heartbeat" that includes the version of the program and the latest measurement of how long it took to execute the main loopYou can either send this as an event attribute or as a metric - I think manual instrumentation would be needed - https://opentelemetry.io/docs/instrumentation/python/manual/
We want to know, in a separate a process, not using SigNoz dashboard in browser:
1. How many docker containers are running our program
2. What the mean/median amount of time the main loop is requiringCan you share more details on the use case here? Are you trying to use this data in another python process?
Jason Harrison09/12/2022, 10:23 PM
Jason Harrison09/14/2022, 6:22 PM
Jason Harrison09/20/2022, 8:30 PM
Jason Harrison09/20/2022, 8:32 PM
Jason Harrison09/26/2022, 7:58 PM