Is there any way to get an environment variable and use it in the prometheus.yml file?
For example, i have the env variable IP_ADDRESS and i want to use it like an endpoint in my job target like this:
- job_name: 'foo'
target_groups:
- targets: ['IP_ADDRESS:8080']
Thanks in advance!
Hi!
Is there any way to get an environment variable and use it in the prometheus.yml file?
For example, i have the env variable IP_ADDRESS and i want to use it like an endpoint in my job target like this:
- job_name: 'foo'
target_groups:
- targets: ['IP_ADDRESS:8080']
Thanks in advance!
--
You received this message because you are subscribed to the Google Groups "Prometheus Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to prometheus-devel...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.