Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can we create an alert on a singlestat

Can we create an alert on a singlestat? I don't see an "alert tab" to create an alert. Can you please suggest me a way to compare two singlestat from 2 data sources.

like image 529
naga g Avatar asked Apr 11 '18 20:04

naga g


People also ask

Can we create alerts in Grafana?

The rules can also define alerting behavior in the absence of data. You can: Create Grafana Mimir or Loki managed alert rule. Create Grafana Mimir or Loki managed recording rule.

How does Grafana Alert work?

Grafana alerts are dashboard panel-driven and can only be created using the Graph panel. This style of alerting builds on top of the query defined for the graph visualization, so alerts and notifications are sent based on breaking some threshold in the associated panel.

How do I pause Grafana alerts?

For example, during a maintenance window, pausing alert rules can avoid initiating a flood of alerts. In the Grafana side bar, pause on the Alerting (bell) icon and then choose Alert Rules. All configured alert rules are listed, along with their current state.


1 Answers

At the moment, you cannot define alert on Singlestat. Future request is still open: https://github.com/grafana/grafana/issues/6983

As of Grafana version 2.5 you can create Panels which can query multiple datasource at once. You just need to switch the Data Source into --Mixed-- mode.

You can try it here: https://play.grafana.org/d/000000014/elasticsearch-metrics?panelId=4&fullscreen&edit

like image 78
Andrea Nagy Avatar answered Nov 15 '22 11:11

Andrea Nagy