Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

additional target label #97

Open
freedomwarrior opened this issue Nov 29, 2023 · 2 comments
Open

additional target label #97

freedomwarrior opened this issue Nov 29, 2023 · 2 comments

Comments

@freedomwarrior
Copy link

freedomwarrior commented Nov 29, 2023

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
@kgcgs
Copy link

kgcgs commented Nov 30, 2023

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

@aytugan
Copy link

aytugan commented Jun 9, 2024

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants