Grafana alert - Time shift not working

  • What Grafana version and what operating system are you using?
    Centos 7 and Grafana 6.7.5 Datasource Elasticsearch 6.8

  • What are you trying to achieve?

Trying to create alert with MAX tps for yesterday that will fire once a day.

  • How are you trying to achieve it?
    Created a dashboard with time shift now-1d/d+2h, that works fine for me

  • What happened?

When trying to create an alert that will evaluate every 24h with

Conditions

WHEN max () OF query (A, 24h, now/d) IS ABOVE 0

I get an error

Alert validation error: time: invalid duration now/d PanelId: 2 DashboardId: 224

  • What did you expect to happen?

For alert to evaluate 24h until start of the current day.

Does alert time reference conditions support time notation like this ? now-1d/d or similar ?
If not, any idea how to achieve this ? To analyze traffic for yesterday and post back max TPS

In the graph I do get correct result with legend table max display, but not able to post that back to the alert.

Thank you in advance.
Regards

This topic was automatically closed after 365 days. New replies are no longer allowed.