{"repo":"grafana-toolbox/grafana-snapshots","free":true,"listed":false,"github":"https://github.com/grafana-toolbox/grafana-snapshots","clone":"git clone https://github.com/grafana-toolbox/grafana-snapshots.git","description":"Python tool using Grafana API to generate fully autonomous dashboard snapshots that can be imported or exported as JSON files to external Grafana.","language":"Python","stars":18,"topics":["grafana","grafana-utils","grafana-client","grafana-snapshots"],"license":"Apache-2.0","category":"analytics","readme_excerpt":"Grafana Snapshots Create Grafana snapshots including data(!) . The application uses the [Grafana HTTP API] and its Python client [grafana-client]. The aim of this tool is to: 1. Easily build snapshots from existing Grafana dashboard. 1. Export the snapshots to a local storage in JSON format so it can be sent, imported an visualized to a remote Grafana. 1. Import a snapshot in JSON format to a Grafana. The development of this tool began when we discovered that there was no solution to automate the creation of snapshots from Grafana; only the functionality from the GUI was operational. That was a sticking point for us since it prevented us from being able to provide reports other than mannually build dashboards with statics screenshots. With this tool, we are able to build static dashboards, also called snapshots, that can be shared and visualized in grafana. It can be also used to store particular situation even if the data window is out of the scope of the retention of the datasource. Install package Install from PyPI. Install from repository. Requirements: bash python 3.6 python modules: - python dateutil - setuptools - PyYaml - jinja2 - grafana-client 2.0.0 what will pull the dependencies - requests - idna - urllib3 - certifi - chardet Access to a Grafana API server. A Token of an Admin role (grafana APIKey). Configuration The configuration is stored in a YAML file. It contains 3 parts: general : for script env. debug : enable verbose (debug) trace (for dev only...) snapsho","default_branch":null,"files":null,"tree":[],"storefront":"/r/grafana-toolbox","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/grafana-toolbox/grafana-snapshots/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}