Adding Backup Trigger Button

Hi,

We have configured a dashboard for the backup and restore process using Prometheus metrics to track both successful and failed backups. Is there a way to add a button in the Grafana dashboard that can trigger the backup process if it fails for any reason?

We will be using a FastAPI framework with the Uvicorn ASGI web server. The workflow would be:

Grafana “Run Backup” Button

→ Calls the FastAPI webhook with an API key

→ FastAPI executes the backup script

→ Grafana displays the backup status using logs and Prometheus exporters

Best regards,

Kaushal

I would say there is a few options. One of them:

@jangaraj Thanks for the quick response. I am running Grafana v12.2.1 (563109b696) OSS (Grafana OSS | Visualization and dashboarding technology). Does the feature described here — Create interactive buttons in canvas visualizations | Grafana Labs — apply to this version?

Best regards,

Kaushal

I would say yes.