grafana-infinity-datasource icon indicating copy to clipboard operation
grafana-infinity-datasource copied to clipboard

[Bug] Can't take snapshot of dashboard

Open imReker opened this issue 2 years ago • 2 comments

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:

  1. Open https://grafana-infinity-datasource.herokuapp.com/d/try/try?orgId=1
  2. Click panel title of JSON.
  3. Click menu Inspect -> Query.
  4. In Query inspector, click Refresh.
  5. Inifinity entered infinite Loading query inspector... state.

1

imReker avatar Oct 09 '21 13:10 imReker

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 avatar Nov 09 '21 13:11 yesoreyeram

@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:

  1. Create a dashboard.
  2. Add 10 random panels, and arrange them vertically.
  3. Add Infinity panel at the bottom with some CVS inline data.
  4. Scroll to top of dashboard and take snapshot.
  5. Scroll to bottom of dashboard and take snapshot.
  6. See snapshot in step 4 and 5.

imReker avatar Nov 16 '21 02:11 imReker

This should be fixed in latest version.

yesoreyeram avatar Sep 13 '22 03:09 yesoreyeram