How to send ansible tower metrics to prometheus

Hi Ansible experts,
We are trying to push Ansible metrics to Prometheus and create a Grafana dashboard.

Can you please provide a sample playbook/ note to hook up Ansible metrics to Prometheus?

This list is for support on ansible. You might try the dedicated awx
list instead.
Or even better, for Tower contact Redhat support.

Hello,

Check this: 12. Metrics — Ansible Tower Administration Guide v3.8.1

Hi Ankit,
Thanks for sharing the details. Do you have a sample Ansible playbook to connect to the Prometheus?

Hello,

I don’t have a playook however, if you want to collect and send the metrics from tower/awx, you might have to write a script for that. Please also see if the external logging is helpful.

You don’t need a script this can all be done with Ansible - you should be able to replay the session I recorded for https://events.redhat.com/profile/form/index.cfm?PKformID=0x183978abcd
"Hello Ansible Tower! - How’s Your Health?"

Hi Phil,

I am not able to access the video. Is there any other way to access the content?

I can only see the agenda but can’t access any videos in it.

Regs
Ankit

Hi Ankit

There should be a register option as well? If you use that you get access to the full back catalogue of recordings as well as mine.

Regards
Phil.

Thanks Phil, i will check it.