Re: [prometheus-users] Reloading DNS IPs in prometheus

2021-01-27 Thread eswar yaga
Also consider using DNS SD, it gives you slightly more control over the > > refresh cycle. > > > > /MR > > > > On Fri, Jan 15, 2021, 14:33 eswar yaga wrote: > > > > > > > > Hi, > > > > > > My configuration

[prometheus-users] Reloading DNS IPs in prometheus

2021-01-15 Thread eswar yaga
Hi, My configuration uses a DNS like this *- job_name: 'app-dev'* *metrics_path: '/federate'* *params:* *'match[]':* * - "{__name__ =~ '^.+'}"* *static_configs:* * - targets: ['app-dev-prom.localdns.myaddress.com']* But When the DNS points to a new IP of APP server, DNS looks sticky and still