Skip to content

feat(cli): add local and UTC time options to ping cmd #16648

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

Merged
merged 4 commits into from
Feb 24, 2025
Merged

Conversation

dannykopping
Copy link
Contributor

It's sometimes useful to see when each pong was received, for correlating these times with other events.

image

Signed-off-by: Danny Kopping <danny@coder.com>
Signed-off-by: Danny Kopping <danny@coder.com>
@dannykopping dannykopping marked this pull request as ready for review February 21, 2025 08:28
cli/ping.go Outdated
@@ -86,6 +86,8 @@ func (r *RootCmd) ping() *serpent.Command {
pingNum int64
pingTimeout time.Duration
pingWait time.Duration
pingTime bool
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: could we call this pingTimeLocal?

@dannykopping dannykopping enabled auto-merge (squash) February 24, 2025 05:25
@dannykopping dannykopping merged commit 4c438bd into main Feb 24, 2025
32 checks passed
@dannykopping dannykopping deleted the dk/pingtime branch February 24, 2025 05:38
@github-actions github-actions bot locked and limited conversation to collaborators Feb 24, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants