-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Grafana's /alerting/list doesn't show any alerts via datasource plugin #59
Comments
Forgot to mention: for both datasource I turned on |
Hi @chouzee ! I have checked your question.
|
@chouzee can you share what version you use? Your error said that something was wrong with the network. |
@dmitryk-dk |
@yuriydzobak ! Thank you, I will look at those issues and test them. |
@dmitryk-dk I can confirm alerting rules aren't working with VictoriaMetrics DS plugin. It needs to be fixed. It is likely, plugin doesn't forward alerts request to the VictoriaMetrics backend. Steps to reproduce:
|
Hi @hagen1778 , @yuriydzobak , @chouzee ! I have found the difference between grafana plugin and our implementation. I think we have a possible solution and @Loori-R will try to do it on FE part |
Hi @hagen1778 , @yuriydzobak , @chouzee ! I have investigated the issue and created two issues in the Grafana repository. The main problem is when data source type differs from |
So it is like Grafana doesn't make the API call to fetch the alerts if your datasource isn't |
They make API call, but they use the default source name
function getDatasourceAPIUid(dataSourceName) returns But even if we do some tricks with Grafana code the backend code has some conditions which prevent the request to data source different from Prometheus or loki. |
That seems like a fix for the issue VictoriaMetrics/VictoriaMetrics#1739 (comment)
|
|
So at the moment the Grafana (6.59.*) used in https://github.com/VictoriaMetrics/helm-charts/tree/master/charts/victoria-metrics-k8s-stack can be considered as not full compatible with VMalert (v1.94.0) from the same chart? :( |
Hi! I try to list alerts in Grafana using the plugin as a datasource but nothing shows up but they are show when I don't use the plugin. The url for both datasources are the same. Could you clarify if the plugin supports this feature?
The text was updated successfully, but these errors were encountered: