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

Add aggregate functions to query builder #73

Open
asimpson opened this issue Sep 14, 2023 · 4 comments
Open

Add aggregate functions to query builder #73

asimpson opened this issue Sep 14, 2023 · 4 comments

Comments

@asimpson
Copy link
Contributor

In order to support additional alerting functionality (e.g. fire an alert when the number of issues crosses an interval) we should support aggregate functionality in the query builder.

@asimpson asimpson added type/bug Something isn't working datasource/Sentry enhancement New feature or request and removed type/bug Something isn't working labels Sep 14, 2023
@vanchaxy
Copy link
Contributor

Isn't this already covered by reduce expression?

E.g: this alert will fire when you have more than 300 issues in 3 hours
image

@asimpson
Copy link
Contributor Author

@vanchaxy You are correct that reduce is the right expression but if you try a Issue query it won't work.

@louiswebdev
Copy link

We were also not able to create an alert for an issue query - but thanks for showing a possible alternative here
#73 (comment)

@kesik87
Copy link

kesik87 commented Dec 15, 2023

Having same issue with creating grafana alert. Creating one for "stats" query type doesn't work for me as there is no filtering by environment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Feature Requests
Development

No branches or pull requests

5 participants