Comments (12)
It probably helps if you post an screenshot of how exactly your are querying the alertmanager (metrics section of the configuration).
from grafana-prometheus-alertmanager-datasource.
from grafana-prometheus-alertmanager-datasource.
Looks about right for me, are you 100% sure the context label is present in the alert? Can you put it in the legend to check?
from grafana-prometheus-alertmanager-datasource.
Not sure what you mean. This one https://user-images.githubusercontent.com/4995222/38625039-e3c96562-3da9-11e8-8315-5e3e209b6d60.png is a screenshot of alertmanager which shows that I have the context labels, for example context="PSP-T". Unfortunately the second screenshot https://user-images.githubusercontent.com/4995222/38673880-deb64154-3e52-11e8-9cb6-cf8b254705fd.png is an other example which uses context="IT". Sorry, but I didn't have an other one at this moment.
from grafana-prometheus-alertmanager-datasource.
I am also having the same issue. I can display all my current alerts on the table.
If one has a product table of test and i put product='test' in to the query box, it doesn't seem to do anything... in fact i cant get any query to work.
saying that the lable field works and its still great being able to display all my alerts...
from grafana-prometheus-alertmanager-datasource.
Could you open the "query inspector" and check if your label is set under response -> data -> 0 -> labels
?
from grafana-prometheus-alertmanager-datasource.
yep, its under that, but it just doesn't seem to do anything...
from grafana-prometheus-alertmanager-datasource.
from grafana-prometheus-alertmanager-datasource.
Same problem here.
Given that using template variables is not supported, this bug kills the only case where I could use Grafana for alerts.
from grafana-prometheus-alertmanager-datasource.
@Santec Which version of Grafana and of the datasource are you using? Could you share the request created by the datasource and sent to the alertmanager (value of url
in the Grafana's query inspector)?
from grafana-prometheus-alertmanager-datasource.
Meanwhile it' Grafana 5.3.4 and 0.0.7 in my case. And it still does not filter.
URL in my case:
url:"https://server.domain.com/alert-manager//api/v1/alerts?silenced=false&inhibited=false&filter=context%3D%22IT%22%0A"
from grafana-prometheus-alertmanager-datasource.
Since I'm using 6.2.x and the current version of this plugin (which is still the same), it works for me.
from grafana-prometheus-alertmanager-datasource.
Related Issues (20)
- Issues with Stat Panel using Alertmanager Data Source HOT 6
- Показывает 0 на панели несмотря на алерт HOT 1
- Cmaptocamp alert manager plugin object(...)(...) fetch is not a function error HOT 3
- Add AWS SigV4 compatibility Feature request HOT 1
- Plugin doesn't work in Grafana 8.3.5 HOT 6
- Grafana 8.4.4] After grafana upgrade Alertmanager datasource started behaving strange. One time displaying alarm annotation next time labels HOT 3
- Show only most critical alerts on a panel HOT 1
- The 1.2.1 plugin version is not available in the official Grafana repo HOT 2
- Missing high severity value
- Wrong logo HOT 3
- Add variable query editor HOT 1
- Plugin doesn't work normally after grafana upgrading to version 9 HOT 4
- Angular is deprecated - please migrate to React HOT 3
- Plugin doesn't work when Openalerts manager uses the alertmanager data source HOT 1
- Would it be possible to share the JSON for the dashboard shown in the README image? HOT 1
- Grafana11 Will not support Angular plugins HOT 3
- Configure Datasource returns error HOT 2
- alertstatus and alertstatus_code field no value
- alertstatus and alertstatus_code field not work
- Configurable severity and SeverityLevels
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from grafana-prometheus-alertmanager-datasource.