grafana-infinity-datasource
grafana-infinity-datasource copied to clipboard
[Bug] Can't take snapshot of dashboard
Describe the bug Take a snapshot of dashboard, and panels with infinity datasource are always empty.
Maybe because inifinity
not properly sending the query request?
Let's:
- Open https://grafana-infinity-datasource.herokuapp.com/d/try/try?orgId=1
- Click panel title of
JSON
. - Click menu
Inspect
->Query
. - In
Query inspector
, clickRefresh
. - Inifinity entered infinite
Loading query inspector...
state.
Can you send the exact steps to reproduce the issue? Snapshots of dashboards with infinity datasource are working for me.
BTW, Query inspector won't show the data for infinity datasource and it is a known behaviour. Infinity doesn't use query calls of grafana backend instead it uses resource calls to fetch the data.
@yesoreyeram
Seems related to lazy load
of grafana.
If a infinity panel with inline source is out of screen when taking snapshot, then the data will be empty in the snapshot of dashboard.
Steps:
- Create a dashboard.
- Add 10 random panels, and arrange them vertically.
- Add Infinity panel at the bottom with some CVS inline data.
- Scroll to top of dashboard and take snapshot.
- Scroll to bottom of dashboard and take snapshot.
- See snapshot in step 4 and 5.
This should be fixed in latest version.