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

Update grafana-tools/sdk to latest version #192

Merged
merged 2 commits into from
Jun 24, 2021
Merged

Conversation

hjet
Copy link
Contributor

@hjet hjet commented Jun 15, 2021

cortextool analyse grafana fails on certain dashboards that use templating and/or panel heights due to unmarshalling errors with the underlying grafana-tools/sdk library. Notably, the command fails on kubernetes-mixin dashboards.

See grafana-tools/sdk#130 for an example failure case and gist containing dashboards (same error).

grafana-tools/sdk#141 fixes the panel height issue and grafana-tools/sdk#151 (just merged) fixes the templating issue.

This PR updates the library to point to latest master to capture these fixes.

cc @devinrcheevers @gouthamve

@hjet hjet requested a review from a team as a code owner June 15, 2021 23:46
@hjet hjet marked this pull request as draft June 15, 2021 23:46
@gotjosh
Copy link
Collaborator

gotjosh commented Jun 16, 2021

Hi @hjet! Which binary is this affecting?

@hjet
Copy link
Contributor Author

hjet commented Jun 16, 2021

hey @gotjosh!! my bad, requested a review by accident before this was ready to go 🙃

i will add more context when it's ready for review, but tldr for now is it affects both v0.10.1 and main:

cortextool analyse grafana errors out on any dashboard with templating or a defined panel height due to JSON unmarshalling errors. the main fixes are in https://github.com/grafana-tools/sdk

will add the failure case here before pinging for review

@hjet hjet marked this pull request as ready for review June 21, 2021 21:12
@hjet
Copy link
Contributor Author

hjet commented Jun 21, 2021

@gotjosh updated PR description, let me know if any questions

Copy link
Member

@gouthamve gouthamve left a comment

Choose a reason for hiding this comment

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

LGTM

@gouthamve gouthamve merged commit f2663c4 into main Jun 24, 2021
@gouthamve gouthamve deleted the update_grafanatools_sdk branch June 24, 2021 12:28
friedrichg pushed a commit to cortexproject/cortex-tools that referenced this pull request Aug 1, 2023
…rafana#192)

Signed-off-by: Arjun Bhandage <abhandage@infoblox.com>
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.

None yet

3 participants