Rename graphed targets
chrismooredev opened this issue · comments
I work with a ton of devices without domain names, or with a particularly long FQDN.
I would love seeing an option to rename the various hosts on the graph, so I can have more friendly names than their IPs.
A good companion option might be to use only the 'hostname' part of the FQDN, but an option to rename hosts would easily provide enough to do that myself.
Love using this tool, almost daily! Thanks!
Hey, thank you!
what kind of interface would you want for this? How would you specify the names?
I remember using a similar interface with hyperfine, where the same commandline usage would translate to gping as something like:
gping --display-name router 192.168.0.1 -d access-point 192.168.0.2 -d dns-google 8.8.4.4 -d dns-cloudflare 1.1.1.1
(Would have used --name/-n but it seems -n is already in use)
I would imagine this replacing at least the DNS part, maybe removing the IP part too for less noise in smaller terminals?
Going from
192.168.0.1 (192.1last 1min 1mmax 5mavg 2.jtr 27p95 3mt/o 0
192.168.0.2 (192.1last 4min 1mmax 4mavg 1.jtr 20p95 3mt/o 0
dns.google (8.8.4.last 9min 7mmax 14avg 9.jtr 48p95 11t/o 0
1.1.1.1 (1.1.1.1) last 8min 7mmax 29avg 9.jtr 15p95 12t/o 0
to something like
router last 1min 1mmax 5mavg 2.jtr 27p95 3mt/o 0
access-point last 4min 1mmax 4mavg 1.jtr 20p95 3mt/o 0
dns-google last 9min 7mmax 14avg 9.jtr 48p95 11t/o 0
dns-cloudflare last 8min 7mmax 29avg 9.jtr 15p95 12t/o 0