Hi,
We’re using Datadog to monitor all of our infrastructure. I couldn’t find an example of sending metrics like # of tasks, max time pending, number of tasks per status, etc online.
is there a recommended solution? (specifically for Datadog, or using open telemetry)
👀 1
k
KG
01/12/2024, 3:09 PM
Hey @Omri Ildis, did you happen to move forward on this? Community would really appreciate examples
o
Omri Ildis
01/14/2024, 8:41 AM
for now, my attempted solution is:
• wrap my flows with my own decorator that automatically logs the count & task execution time <-- currently debugging this one, most of the time the timing logged is zeros
• to have an external scheduled task that logs long-running tasks and other metrics
here’s a code snippet for the first part. would love to get help on why the timing reported is mostly zeros.
I’ll share the second once it’s stable