grafana / grafana

The open and composable observability and data visualization platform. Visualize metrics, logs, and traces from multiple sources like Prometheus, Loki, Elasticsearch, InfluxDB, Postgres and many more.
https://grafana.com
GNU Affero General Public License v3.0
63.26k stars 11.88k forks source link

Datagrid: snapshot for external usage #76008

Open vaduga opened 10 months ago

vaduga commented 10 months ago

Why is this needed: Impossible to use the inbuilt -- Dashboard -- datasource in --Mixed- mode to pull the edited data from Datagrip panel.

What would you like to be added: Let Snapshots from Datagrid panel be visible in --Grafana-- internal datasource as 'snapshot' query type, to be used by other panels, not only by datagrid internally

Who is this feature for? Users of -Mixed- datasource

vaduga commented 10 months ago

Later on I've explored the new amazing 'editPanelCSVDragAndDrop' feature, and now able to manually export edited Datagrid data to CSV file and drag-n-drop it into any panel query editor with --Grafana-- datasource in --Mixed-- mode as well. The problem with this approach is that -Grafana-- datasource with 'Spreadsheet or snapshot' query type does not pass 'refId' in Dataframe from such query.

May be there's a chance that Datagrid snapshots could be transferrable between panels some other way?