ping_exporter icon indicating copy to clipboard operation
ping_exporter copied to clipboard

additional target label

Open freedomwarrior opened this issue 2 years ago • 2 comments

Hello. Is it possible to add functionality of additional label hostname for targets, for example:

targets:
  - 8.8.8.8|my-custom-hostname-for-google
  - 1.1.1.1|my-custom-hostname-for-cf

freedomwarrior avatar Nov 29 '23 14:11 freedomwarrior

You could add your own label and replace it when scraping or just use that label instead of hostname in your dashboards.

kgcgs avatar Nov 30 '23 01:11 kgcgs

Unfortunately in my setup I cannot change the way it's scraping or add relabling, so I end up with unmeaninglul IP addresses without any option to add context.

Could you consider adding lables into the config?

aytugan avatar Jun 09 '24 11:06 aytugan