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

Support --latency with --json #95

Open
jimaek opened this issue Feb 22, 2024 · 1 comment
Open

Support --latency with --json #95

jimaek opened this issue Feb 22, 2024 · 1 comment
Assignees

Comments

@jimaek
Copy link
Member

jimaek commented Feb 22, 2024

Some users would find it useful if we supported these options at the same time. Currently --json does nothing when combined with --latency. Lets get it to work

@radulucut
Copy link
Collaborator

@jimaek do you mean something like this:

globalping ping google.com --latency --json --limit 3
> Amsterdam, NL, EU, Freedom Internet BV (AS206238)
{"min":4.584,"max":4.626,"avg":4.61,"total":3,"loss":0,"rcv":3,"drop":0}

> Valdivia, CL, SA, Zappie Host LLC (AS61138)
{"min":19.968,"max":20.694,"avg":20.251,"total":3,"loss":0,"rcv":3,"drop":0}

> San Jose (CA), US, NA, DAOport Internet Infrastructure Holdings Limited (AS210000)
{"min":1.677,"max":1.888,"avg":1.814,"total":3,"loss":0,"rcv":3,"drop":0}

or do you have something else in mind?

@jimaek jimaek assigned jimaek and unassigned radulucut Mar 18, 2024
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

2 participants