Skip to content
This repository has been archived by the owner. It is now read-only.

Add support for alerting on azure datasource #11

Closed
dkmla opened this issue Nov 3, 2017 · 41 comments
Closed

Add support for alerting on azure datasource #11

dkmla opened this issue Nov 3, 2017 · 41 comments

Comments

@dkmla
Copy link

@dkmla dkmla commented Nov 3, 2017

I need the possibility of enabling alerts from the azure metrics.

Currently I get the following error:
"The datasource does not support alerting queries"

@daniellee
Copy link
Member

@daniellee daniellee commented Nov 14, 2017

At the moment, a data source has to be part of core Grafana to be able to support alerting. Whether this gets merged into core, depends on the plugin's popularity. But for now support for alerting is not possible.

@regevbr
Copy link

@regevbr regevbr commented Dec 18, 2017

In order to make this data source popular, alerts will play a big part of it... Currently I monitor my message queues with it but with no alerts it has little use to me...

@sguleff
Copy link

@sguleff sguleff commented Jan 16, 2018

Agree with this. I work for a large eCommerce company on Azure. We'd be able to leverage this if only there were alerting available.

@daniellee
Copy link
Member

@daniellee daniellee commented Jan 16, 2018

The Grafana team is working on making data source plugins for the backend which means that we will be able to add a backend for this plugin and automatically get alerting. But it is still a month or two away in the future.

@goatmale
Copy link

@goatmale goatmale commented Mar 20, 2018

Any update on this? It looks like I can send test alerts, but I get a big ole error that it's not supported.
Thanks.

@LuisLoranca
Copy link

@LuisLoranca LuisLoranca commented Apr 9, 2018

@daniellee did you get any update from Grafana team regarding the alerts support for third party plugins?

Thanks!
Luis

@Sojjocola
Copy link

@Sojjocola Sojjocola commented Apr 26, 2018

Any news?

Thanks
François

@alhardy
Copy link

@alhardy alhardy commented Apr 27, 2018

Looking forward to seeing this done. Agree with - "In order to make this data source popular, alerts will play a big part of it."

Grafana is just so much nicer to use for visualisation and easier to build out dashboards, not having alerting and templated dashboards are the primary features stopping me using it full-time with Azure.

@faesel
Copy link

@faesel faesel commented May 2, 2018

Has there been any progress on this?

After being frustrated but the lack of flexibility for alerting on the Azure portal, I discovered this plugin and thought it would be the solution to having an alerting system for custom telemetry events.

@daniellee
Copy link
Member

@daniellee daniellee commented May 2, 2018

The azure monitor plugin will be added to core Grafana in the coming month or two (or three). See the Grafana roadmap here. Once we have reimplemented some of the query logic in Go (Grafana's backend language) then it will automatically have support for alerting.

@francoisbeaussier
Copy link

@francoisbeaussier francoisbeaussier commented Jul 4, 2018

Hi @daniellee, any update on this? The roadmap link you supplied does not mention the azure monitor plugin, so maybe the grafana team made the backend changes required for alerting to be implemented?

@alhardy
Copy link

@alhardy alhardy commented Jul 4, 2018

Hope so, really keen on this too ;)

@dbronk
Copy link

@dbronk dbronk commented Jul 5, 2018

@daniellee any update on alerting from Azure? Without alerting, Grafana is little value add for me.

@daniellee
Copy link
Member

@daniellee daniellee commented Jul 5, 2018

Currently working on adding support for Log Analytics. This added more dependencies which complicates adding it to core Grafana. Still a candidate for being released in Grafana v5.3 (so nothing has changed in the planning so far).

@dbronk
Copy link

@dbronk dbronk commented Jul 5, 2018

Thanks @daniellee - Any ETA?

@amitkumarcn
Copy link

@amitkumarcn amitkumarcn commented Sep 5, 2018

@daniellee Any Progress with alerting in azure monitor plugin?

@bhozar
Copy link

@bhozar bhozar commented Sep 5, 2018

Grafana 5.3 doesn't have many items to complete for the milestone, and I see no mention of Azure Monitoring alerting. Is it still on track for the 5.3 release?

@cypherhyper
Copy link

@cypherhyper cypherhyper commented Sep 18, 2018

What's the latest on this?

@spurthimallesh
Copy link

@spurthimallesh spurthimallesh commented Sep 25, 2018

Hello,

Currently I am using Grafana v5.2.4 and I can successfully install the azure-monitor datasource and create a graph for application insights. But I am facing a problem with alert config for the same .

image

Could you please help me with this issue?

Thanks

@daniellee
Copy link
Member

@daniellee daniellee commented Sep 30, 2018

The plugin has to be moved into Grafana core to get alerting support. We have focused on adding support for Azure Log Analytics the last few months so moving this plugin into core was postponed. The work to do the move is planned for the next few months and should be included in Grafana 6.0 (with a release in February 2019). But this is only preliminary so nothing guaranteed.

@spurthimallesh
Copy link

@spurthimallesh spurthimallesh commented Oct 1, 2018

Thank you for the update Daniellee. Will look forward for more updates relating to support for azure in grafana.

@arthurvanzyl
Copy link

@arthurvanzyl arthurvanzyl commented Oct 11, 2018

Hi Everyone,

Same issue experienced on Azure Application Insights and Grafa. Is there any work around for this issue ?
A

@CarlosTenorio
Copy link

@CarlosTenorio CarlosTenorio commented Oct 26, 2018

Something new about it? :octocat:

@javiermarasco
Copy link

@javiermarasco javiermarasco commented Oct 26, 2018

Adding into the people waiting for this to come to release. Alerting is really a needed feature.

Thanks!

@jungopro
Copy link

@jungopro jungopro commented Oct 26, 2018

Same here, I’m using azure alerts now and I really don’t like it (putting it delicately 😂)

@somehowadev
Copy link

@somehowadev somehowadev commented Oct 26, 2018

Guys could you please just subscribe for notifications to this thread and not keep posting the same thing? I'm sure I'm not the only one who's subscribed and is getting emails constantly about people asking the same thing.

We know.. we all want this and their working on it ;)

@EduardCloud
Copy link

@EduardCloud EduardCloud commented Feb 1, 2019

Hi all,
Is possible get the azure monitor alerts into dashboard? (I'm referring the alerts created in Azure Monitor -Alerts)
Thank for advance.
Eduard.

@daniellee
Copy link
Member

@daniellee daniellee commented Feb 5, 2019

@Tulkis being worked on right now and will hopefully be included in Grafana 6.0 in 2 weeks time. Have just moved Azure Monitor into Grafana for the first beta release (so will be closing this GitHub repo in the near future and all open issues will be ported over to the main Grafana repo).

@EduardCloud
Copy link

@EduardCloud EduardCloud commented Feb 5, 2019

@daniellee excuse me, I'm talking about the whole alerts we have in Azure Portal (service alerts , log search alerts, metric alerts, etc).
I understand this thread is for the data source metric alerts?

@daniellee
Copy link
Member

@daniellee daniellee commented Feb 5, 2019

@Tulkis oh sorry. No plans currently for integrating that into Grafana.

At the moment, I don't have enough insight into how popular the Azure alerts are. Also, until we have completed the project to have a pluggable alert engine for Grafana, it would be a technically difficult feature to add.

@javiermarasco
Copy link

@javiermarasco javiermarasco commented Feb 7, 2019

As of the launch of Grafana 6.0 (as beta) the datasource for Azure is integrated and no longer an external plugin for this reason alerting should be working now.

I am testing grafana 6.0Beta now with alerts on Azure but still getting the "Alerts not supported for this datasource" error, I will continue investigating on what could be wrong for getting this error.

If someone else has the same situation, please reach back to check possibilities.

Thanks!

@marefr
Copy link
Member

@marefr marefr commented Feb 7, 2019

@javiermarasco alerting didn't make it for 6.0-beta1, but will hopefully be included 6.0-beta2 and/or 6.0 stable.

@kwaazaar
Copy link

@kwaazaar kwaazaar commented Mar 11, 2019

So it didn't seem to have made it into 6.0 (which is not according to the docs) and no commits for the last month.
Since the roadmap doesn't show much detail, can anyone indicate when alerting can be expected?

@JamesHealey94
Copy link

@JamesHealey94 JamesHealey94 commented Mar 11, 2019

So it didn't seem to have made it into 6.0 (which is not according to the docs) and no commits for the last month.
Since the roadmap doesn't show much detail, can anyone indicate when alerting can be expected?

@kwaazaar Azure Monitor alerting is in 6.0.0 (I've just created a test alert and it fired as expected).

@dougnd
Copy link

@dougnd dougnd commented Mar 11, 2019

I believe some other parts of the Azure Monitor datasource are not yet available for alerting (Log Analytics, Application Insights). I saw a bunch of issues get bumped to a future 6.1 release.

grafana/grafana#14943
grafana/grafana#15153

Consider following those issues to get more feedback on when they will be released.

@kwaazaar
Copy link

@kwaazaar kwaazaar commented Mar 11, 2019

I guess you guys are right as I no do see alerts coming in. However, my alerts (currently sending them to an MS Teams-channel) do contain this errormessage: "Error message | tsdb.HandleRequest() error Alerting not supported for Azure Log Analytics", so quite confusing still.

My dashboard query is running on Application Insights, one of the ' in progress' sources mentioned above.

@javiermarasco
Copy link

@javiermarasco javiermarasco commented Mar 11, 2019

@stebet
Copy link

@stebet stebet commented Apr 3, 2019

Any ETA on App Insights and Azure Log analytics alerting? Is it being worked on?

@bhozar
Copy link

@bhozar bhozar commented May 8, 2019

6.2-beta1 has just been released, but it looks like it has been bumped from 6.2 to the next milestone, 6.3 :(

@daniellee
Copy link
Member

@daniellee daniellee commented May 22, 2019

This repo is going to be archived. The Azure Monitor plugin was moved into the Grafana repository for version 6.0 of Grafana. If you are using Grafana 6.x then you will automatically start using the built-in version of the Azure Monitor datasource.

Announcement: https://grafana.com/blog/2019/02/25/grafana-v6.0-released/#azure-monitor-datasource
Documentation for Azure Monitor in Grafana: https://grafana.com/docs/features/datasources/azuremonitor/

This issue is partially implemented. There are already issues in the Grafana repo for supporting alerting for Azure Logs and for App Insights:

Current status is that I have started on alerting support for App Insights and it will be included in 6.3. It is also on our backlog is to start working on alerting for Azure Logs (as well as the Azure Data Explorer datasource plugin which also uses the Kusto query language). Not sure exactly when that will be done however, 6.3 maybe but more likely to be 6.4 or 6.5.

@viboga
Copy link

@viboga viboga commented Sep 10, 2019

I still see the data source not supported error for Azure Data Explorer.
I am looking to Alert based on Kusto.. Is this in the roadmap?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet