Closed Zylphrex closed 5 years ago
I did notice one thing when I ran this in composer where the state transition to scheduled
weren't reported. This could either have been
I'm going to do some more tests to verify this.
This does do all the counting correctly, however due to Datadog only has 1s of granularity, so it will over write other metrics within the second. In the case of state counting, many of the state transitions happen very close to each other especial when scheduling and they happen in different processes so the metric recorded on Datadog becomes basically useless as some are overwritten.
To indiciate the number of tasks in each state. For example, a high number of tasks being stuck in the queued/scheduled state can indicate that the system is behaving abnormally.