Skip to content

[analyse] grafana unmarshal errors #241

Closed
@AkashSirimanna

Description

@AkashSirimanna

Problem

Running analyse grafana on version 0.10.7 of cortextool does not complete 100% successfully. The tool has difficulties trying to unmarshal panel json, most likely due to the tool not being compatible with Grafana 8.3.4.

The errors are along the lines of

unmarshal board: json: cannot unmarshal object into Go struct field Board.panels of type []struct { Type string "json:\"type,omitempty\""; Params []string "json:\"params,omitempty\"" }

OR

unmarshal board: json: cannot unmarshal number 4.8 into Go struct field Board.panels of type int ...
unmarshal board: json: cannot unmarshal object into Go struct field Board.panels of type string ...

Due to this, the metricsUsed list the analyse commands returns is incomplete.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions