Hello!
Is there a way to see th final adderss value that prometheus will use to
talk to the instance?
I tried using DigitalOcean SD with additional relabelling
```
relabel_configs:
- source_labels: [__meta_digitalocean_private_ipv4]
regex: '(10\.133\.\d+\.\d+)'
target_label: __address__
replacement: '{$1}:9100'
- source_labels: [__meta_digitalocean_droplet_name]
target_label: instance
regex: '(.+)'
replacement: '${1}:9100'
```
and no matter what I try I see 0 when I ask for up{job="node"} metric
I also have the same server added via file_sd and they are available.
Also, these two sets of servers should not intersect because for file_sd
droplets instance is their private ip4 address, and for DigitalOcean_SD
droplets instance should be droplet name (something like
nginx-1.example.com)
My current best guess is that I've messed up with relabeling and prmetheus
tries to talk to the wrong IP address or wrong port, but I can't understand
what is exactly wrong
--
You received this message because you are subscribed to the Google Groups
"Prometheus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/prometheus-users/195eb849-42ce-46ff-ad46-6ea5d19e96fen%40googlegroups.com.