hi guys,
im pretty new to Prometheus config, i read the manual but i still cant make it work.
my goal is to relabel multiple roles in kubernetes_sd_configs, i wanna use node role + pod role in the same target.
so that the endpoint URL will look like this:
http://<pod-ip1>:8082/metrics?instance=<node-ip1>
http://<pod-ip2>:8082/metrics?instance=<node-ip1>
http://<pod-ipN>:8082/metrics?instance=<node-ip1>
.
.
http://<pod-ip1>:8082/metrics?instance=<node-ip2>
http://<pod-ip2>:8082/metrics?instance=<node-ip2>
http://<pod-ipN>:8082/metrics?instance=<node-ip2>
.
.
.
i hope my question is clear enough.