79142672

Date: 2024-10-30 20:23:25
Score: 1
Natty:
Report link

On going through the Datadog aggregation methods and space aggregation documents, it can be seen that they support group by aggregation in the queries for metrics.

In this case it is using sum by in the following way:

sum:orders{status:failed} by{category}.as_count()

One can refer the Datadog nested queries multilayer space aggregation for more examples.

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Amit