Experiment with grafana plugin. Find a way to add a button to all panels, extracting data of all metrics used in query for the selected time range.