scylla-monitoring
scylla-monitoring copied to clipboard
Allow labeling hosts (e.g. using their DNS names)
scylla_servers.yaml
today only allows defining targets by giving either an IP or a DNS name of corresponding hosts.
It would be very useful if we could configure both an IP (e.g. an internal one) for actual addressing but also being able to define a label (e.g. corresponding DNS name) that would appear in drop down menus and on pop-up messages and queries.
Meaning there should be a way to tell Grafana that a specific label should translate to a given IP.
@amnonh Is it hard to implement?
Sounds like something that needs to be done with a dns/service discovery
Sounds like something that needs to be done with a dns/service discovery
Imagine a situation when a DNS resolves to a public IP (as expected) while scraping is done via internal ones.
I understand the scenario, the question is how it's going to be provisioned? will someone manually going to change those labels?
I understand the scenario, the question is how it's going to be provisioned? will someone manually going to change those labels?
Manually is one option. Automation tool (e.g. Ansible) is another.
There isn't any auto-detection today either AFAIK.
Whatever the future format is going to be - we can automate its generation.