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

add status subcommand #68

Merged
merged 4 commits into from
Sep 9, 2021
Merged

add status subcommand #68

merged 4 commits into from
Sep 9, 2021

Conversation

tobert
Copy link
Collaborator

@tobert tobert commented Sep 8, 2021

implements first pass of #63

I realized something is up with otel-cli's parsing of OTEL_EXPORTER_OTLP_ENDPOINT and needed status to troubleshoot it. It's still not fixed but this should be ok to merge. I'll hold off releasing until I figure out the envvar thing. It might lead to doing bits of #65

Amy Tobey added 2 commits September 8, 2021 16:11
@tobert
Copy link
Collaborator Author

tobert commented Sep 9, 2021

@ahayworth @emattiza does this look ok to merge as a first pass?

Scroll down to the bottom of the diff. Most of it is just moving config into the Config struct instead of a bajillion globals. The meat of status is at the end (and yeah they could be 2 PRs but this won't be big and professional like gnu).

@tobert
Copy link
Collaborator Author

tobert commented Sep 9, 2021

Hmm I might actually split this so I can do the viper/cobra refactor while we iterate on status elsewhere. I think I can do this without too much disruption via some rebasing tricks.

ahayworth
ahayworth previously approved these changes Sep 9, 2021
Signed-off-by: Amy Tobey <atobey@equinix.com>
remove --canary mention since it's not a thing yet

Signed-off-by: Amy Tobey <atobey@equinix.com>
@tobert tobert merged commit c9fac26 into main Sep 9, 2021
@tobert tobert deleted the add-status-subcommand branch September 9, 2021 16:13
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

Successfully merging this pull request may close these issues.

2 participants