Skip to main content

Grep through all Grafana entities in the spirit of git-wtf

Project description



grafana-wtf - grep through all Grafana entities in the spirit of git-wtf.


This program can put significant load on your Grafana instance and the underlying database machinery. Handle with care!


Search Grafana API for string “weatherbase”.

grafana-wtf find weatherbase

Display 50 most recent changes across all dashboards.

grafana-wtf log --number=50


grafana-wtf find

grafana-wtf log


Install grafana-wtf

pip install grafana-wtf

Configure Grafana

Please take these steps to create an API key with your Grafana instance:

  • Go to
  • Choose “New API Key”.
    • Key name: grafana-wtf
    • Role: Admin
  • From the output curl -H "Authorization: Bearer eyJrIjoiWHg...dGJpZCI6MX0=" ..., please take note of the Bearer token. This is your Grafana API key.


Before running grafana-wtf, define URL and access token of your Grafana instance:

export GRAFANA_TOKEN=eyJrIjoiWHg...dGJpZCI6MX0=


grafana-wtf find weatherbase


grafana-wtf will cache HTTP responses for 300 seconds by default. When running it with the --drop-cache option, it will drop its cache upfront.


See grafana-wtf examples.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for grafana-wtf, version 0.9.0
Filename, size File type Python version Upload date Hashes
Filename, size grafana-wtf-0.9.0.tar.gz (24.6 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page