Slackbot
09/12/2022, 6:58 PMPranay
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/
Pranay
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?
Pranay
Jason Harrison
09/12/2022, 10:23 PMJason Harrison
09/12/2022, 10:24 PMJason Harrison
09/12/2022, 10:26 PMJason Harrison
09/14/2022, 4:54 PMJason Harrison
09/14/2022, 4:58 PMAnkit Nayan
Ankit Nayan
Ankit Nayan
Pranay
Jason Harrison
09/14/2022, 6:22 PMJason Harrison
09/14/2022, 6:23 PMJason Harrison
09/14/2022, 6:23 PMAnkit Nayan
Ankit Nayan
Jason Harrison
09/20/2022, 8:30 PMPranay
Jason Harrison
09/20/2022, 8:32 PMJason Harrison
09/21/2022, 12:49 AMAnkit Nayan
Jason Harrison
09/26/2022, 7:58 PM