You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
I'm trying to make a high level overview dashboard and I've column for 'Availability' and 'Alerts'. Availability basically checks if there is data or not. Alerts is the number of alerts.
I'm using influxdb as datasource and query returns nothing if there is no data for the selected time interval.
Query below will display 0 if host is down in last 10 minute, yet it will return nothing ('non matching series') if it has been down for more than 10m. I can make time interval longer but I don't think it'a good solution.
SELECT non_negative_derivative(mean("uptime") AS "isUp" FROM system WHERE "host" =~ /$host/ AND time > now()-10m GROUP BY time(1m), "host" fill(0)
Non matching series is useful for setting a "default value" for this kind of queries but here is the problem. If there is no matching series, Alerts should display 'OK' which means no problem while Availability should display 'NON-OK' since it means the host is not available.
Describe the solution you'd like
A clear and concise description of what you want to happen.
If I can override "non matching series" for each rule, problem I explained above will be solved. It will add more flexibility.
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
I'm trying to make a high level overview dashboard and I've column for 'Availability' and 'Alerts'. Availability basically checks if there is data or not. Alerts is the number of alerts.
I'm using influxdb as datasource and query returns nothing if there is no data for the selected time interval.
Query below will display 0 if host is down in last 10 minute, yet it will return nothing ('non matching series') if it has been down for more than 10m. I can make time interval longer but I don't think it'a good solution.
Non matching series is useful for setting a "default value" for this kind of queries but here is the problem. If there is no matching series, Alerts should display 'OK' which means no problem while Availability should display 'NON-OK' since it means the host is not available.
Describe the solution you'd like
A clear and concise description of what you want to happen.
If I can override "non matching series" for each rule, problem I explained above will be solved. It will add more flexibility.
The text was updated successfully, but these errors were encountered: