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

Use camelCase format for cli block query output #911

Merged
merged 1 commit into from
Aug 30, 2021

Conversation

mapno
Copy link
Member

@mapno mapno commented Aug 25, 2021

What this PR does:

Changes marshaller from encoding/json to gogo/protobuf/jsonpb in CLI's block query command. This formats the output to use the camelCase, using json tags inside protobuf, rather than the actual json tags (see here for an example)

Which issue(s) this PR fixes:
Fixes #910

Checklist

  • Tests updated
  • Documentation added
  • CHANGELOG.md updated - the order of entries should be [CHANGE], [FEATURE], [ENHANCEMENT], [BUGFIX]

@mapno
Copy link
Member Author

mapno commented Aug 25, 2021

./tempo-cli query blocks hasn't been part of an actual release, only rc, so I didn't include documentation or changelog changes.

Copy link
Contributor

@annanay25 annanay25 left a comment

Choose a reason for hiding this comment

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

lgtm, nice.

@annanay25 annanay25 merged commit 6bf80cb into grafana:main Aug 30, 2021
@mapno mapno deleted the camel-case-cli-output branch March 23, 2023 11:10
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.

Improve Query Blocks Output to work with Grafana UI
2 participants