Hi, We’re using Datadog to monitor all of our inf...
# prefect-cloud
o
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
Hey @Omri Ildis, did you happen to move forward on this? Community would really appreciate examples
o
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
Untitled.py
👀 1
@KG / @Michał Wysocki wondering if you got the chance to dig into it
still didn’t solve task timing