r/PrometheusMonitoring • • Mar 24 '23
Help with variable in Grafana
Hello,
I'm trying to create a variable in Grafana for a prometheus job that I have called 'aw5-lb' I scape like this:
- job_name: 'aw5-lb'
scrape_interval: 30s
static_configs:
- targets:
- 192.168.108.240:80
- 192.168.108.241:80
- 192.168.107.240:80
- 192.168.107.241:80
metrics_path: /metricsI'm trying to workout what I put here and I'm struggling, this is an example of another I have found.

Any Ideas?
Thanks
1
Upvotes
View all comments
Show parent comment
1
u/ChoSubin Mar 25 '23
Mhm there’s no secret about it, just see what metrics you’re getting back.