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

analyse dashboard fails to parse Board.panels #242

Closed
yarix opened this issue Mar 1, 2022 · 1 comment
Closed

analyse dashboard fails to parse Board.panels #242

yarix opened this issue Mar 1, 2022 · 1 comment
Labels
duplicate This issue or pull request already exists

Comments

@yarix
Copy link

yarix commented Mar 1, 2022

  • using cortex 0.10.7_windows_x86_64 dasboard analysys is broken for some dashboards (attached one example)
  • dashboard downloaded from Grafana 8.4.1
C:\dev\cortex\cortextool>cortextool analyse dashboard "\Downloads\dash.json" --output=active.metrics.json
json: cannot unmarshal object into Go struct field Board.panels of type string for \Downloads\dash.json

dash.zip

in other cases, i get:

  • cannot unmarshal object into Go struct field TemplateVar.templating.list.datasource of type string - where all teplmate vars works good in Grafana.
  • unmarshal board: json: cannot unmarshal number 2.6666666666666665 into Go struct field Board.panels of type int - the json file does not contain any 2.6666 number
@eamonryan eamonryan added the duplicate This issue or pull request already exists label Mar 2, 2022
@eamonryan
Copy link
Member

Duplicate of #241

@eamonryan eamonryan marked this as a duplicate of #241 Mar 2, 2022
friedrichg pushed a commit to cortexproject/cortex-tools that referenced this issue Aug 1, 2023
Signed-off-by: Niklas Wagner <Skaro@Skaronator.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

2 participants