synthetic-monitoring-app icon indicating copy to clipboard operation
synthetic-monitoring-app copied to clipboard

Panel JSON does not produce an expected result when applied in a dashboard

Open w1kman opened this issue 3 months ago • 0 comments

What happened: When panel JSON is copied from the SM "Home" page and applied to a dashboard panel, the result does not match expectations (the source Scene).

Image Image

Affected panels

  • "All checks"
  • "All error rate by location"

What you expected to happen: The pasted JSON to produce a similar panel to the Scene it was copied from

How to reproduce it (as minimally and precisely as possible):

  1. Go to "Home" (/a/grafana-synthetic-monitoring-app/home)
  2. Click the kebab menu for "All checks"|"All error rate by location" (visible when hovering the visualization).
  3. Click "Copy JSON"
  4. Create a new dashboard
  5. Make sure edit mode is enabled for the dashboard
  6. Add a panel
  7. Go back to the dashboard
  8. Click the kebab menu for the created panel
  9. Select Inspect > Panel JSON
  10. Replace all JSON with the content of the clipboard
  11. Press "Apply"Anything else we need to know?:

Environment:

  • Grafana version (if running on prem): Cloud
  • SM plugin version: 1.16.5
  • OS Grafana is installed on: Cloud
  • User OS & Browser: Chrome Version 130.0.6723.70 (Official Build) (64-bit)
  • Others: N/A

w1kman avatar Oct 28 '24 18:10 w1kman