I would like to send job failure notifications from AWX to Grafana dashboard (Grafana version 8.4). In the Grafana side, should I need to configure datasource (Postgres) or just creating a dashboard is enough ?
On the AWX side, I will provide Grafana URL, API key.
Since this is kind of a push mechanism (AWX to Grafana), I don’t see the point of creating datasource in Grafana. Please help me to clarify this. Are there any KB articles for the same ?
@TheRealHaoLiu @amvj
While that doc does show the few steps to set up a grafana notification in AWX - I believe the original question was more to do with how does grafana accept the incoming data from AWX?
There is no such data source plugin in grafana to add ansible
Hello,
I played a bit, and managed to retrieve the notifications sent from AAP/AWX after setting up a grafana-testdata-datasource; then you can explore in Scenario => Grafana API, Endpoint => Annotations to retrieve the messages. Not sure however this is a reliable way to exploit all these messages, I fell the messages should be sent to a third party source, and then queried by Grafana.