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

Issues creating alerts #132

Closed
BrianFarnhill opened this issue May 19, 2022 · 2 comments · Fixed by #135
Closed

Issues creating alerts #132

BrianFarnhill opened this issue May 19, 2022 · 2 comments · Fixed by #135

Comments

@BrianFarnhill
Copy link

I'm trying to create alerts in Grafana based on SiteWise data. The dashboard panels all work a treat (with with the historical values and aggregates query types) but I am unable to use either of this to create alerts. When I attempt to make an alert I see this warning:

Failed to evaluate queries and expressions: failed to execute conditions: input data must be a wide series but got type long (input refid)

Steps to reproduce:

  1. Browse to /alerting/new
  2. Choose SiteWise as the query, choose either the property value history, or property aggregate option for type of query.
  3. Choose a specific sitewise asset, then a property from the asset (type of property is "Double")
  4. Warning message appears with message from above
  5. Save the alert, which works - but the alert does nothing
  6. Browse back to the alert, observe that it shows "no data" when trying to see the alert details

The environment is running on Grafana 8 on Ubuntu (based on the latest-ubuntu tag of the grafana-oss image). Any thoughts on how to resolve this are appreciated.

@BrianFarnhill
Copy link
Author

Actually looking at this, i can see the alerts on the dashboard itself - it appears to just be the preview in the "edit alert" page that isn't showing data correctly, which makes it harder to set up and understand

@BrianFarnhill
Copy link
Author

Upon further testing - it all works fine with legacy alerts mode, but the new unified alert stuff is where the wheels fall off. I've managed to get things going that way but given the legacy mode is being retired this isn't a long term fix.

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

Successfully merging a pull request may close this issue.

1 participant