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

Rename graphed targets #446

Open
chrismooredev opened this issue Apr 20, 2024 · 2 comments
Open

Rename graphed targets #446

chrismooredev opened this issue Apr 20, 2024 · 2 comments

Comments

@chrismooredev
Copy link

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!

@orf
Copy link
Owner

orf commented Apr 20, 2024

Hey, thank you!

what kind of interface would you want for this? How would you specify the names?

@chrismooredev
Copy link
Author

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 

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

No branches or pull requests

2 participants