Forum Discussion
Anonymous
2 years agoA better pattern is figuring out how to assess the operational health of a process through querying it directly instead of predicating it upon whether or not we see it in the process list.
This! I recently implemented something like this with my dockerized applications. I have one DS that checks if the container is up, but that doesn’t always mean the script is progressling/looping like it should. So i added some local logging at the end of each loop where the current timestamp is written to a file. A simple datasource later and i have “uptime in secs/mins/hours/days/weeks”.
Related Content
- 8 months ago
- 9 months ago
- 6 months ago