Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Usage of as_count() along with avg() aggregation method should not be permitted in monitor #2755

Open
julienfoenet opened this issue Jan 8, 2025 · 0 comments

Comments

@julienfoenet
Copy link

What resources or data sources are affected?

  • resource_datadog_monitor

Feature Request

When validating the formula inside the "query" parameter, it should be forbidden to use the as_count() modifier along with the aggregation method avg(). Only sum() should be allowed with as_count(), like it is today in the UI of the monitor.
It is explained at the end of the doc: https://docs.datadoghq.com/monitors/guide/as-count-in-monitor-evaluations/Image

References

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant