influxdata / influxdata/influxdb
Unable to import influxdb v2.3 dashboards to influxdb v2.5
- Dominant language
- Rust
- Stars
- 31.7k
- Forks
- 3.7k
- Avg merge
- 13h 37m
- Merged PRs (30d)
- 8
Description
Hi,
I'm unable to import influxdb v2.3 dashboards to influxdb v2.5.
When I try importing, i get a successful message but the dashboard does not appear.
This is the log that I get:
ts=2022-11-04T13:35:34.133151Z lvl=error msg="api error encountered" log_id=0dxeytM0000 handler=templates error="template[0] from source(s) "" had an issue: json: cannot unmarshal object into Go value of type []pkger.Object"
Contributor guide
Research direction
Start by reproducing the dashboard import from InfluxDB v2.3 into v2.5 and inspect the templates handler associated with the logged unmarshal error. Compare the imported dashboard data with the expected template input. Done means the import reports accurately and the dashboard appears without the pkger.Object decoding error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- databases
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100