Hi Team,
I have configured Grafana(using influx Db) with Slack to receive alerts if the load in api is above a threshold. The alert message comes up. But found 3 issues and need assistance.
-
I need to get the graph embedded in the message.
<https://your-grafana-url/d/YOUR_DASHBOARD_ID?orgId=1&**from**=now-6h&**to**=now-1h&panelId=YOUR_PANEL_ID&tz=America%2FNew_York|View Graph>
I configured the above url, whenever we click on the link in slack message it opens a graph with a timerange of last 6 hours always. But I need to display the graph for last 6 hours from the time when the alert was triggered. So how can I update the from and to parameter to find the time in which the alert was triggered and use them ? -
The alerts always works perfect if the load is more than the threshold defined. But, I am getting 2 alerts at the same time instead of 1, how to remove the duplicate alert ?
-
At times, getting alerts, if there is no data available in the defined timeline which I am getting following message?
[[FIRING:1] DatasourceNoData app name ( A Threshold breach alert - list endpoint)|attachment]
FiringValue: [no value]
Thanks.