All Projects → panodata → grafana-pandas-datasource

panodata / grafana-pandas-datasource

Licence: AGPL-3.0 license
Grafana Pandas Datasource - using Python for generating timeseries-, table-data and annotations

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to grafana-pandas-datasource

grafana-redis-datasource
Redis Data Source for @grafana allows connecting to any @redis database On-Premises and in the Cloud.
Stars: ✭ 107 (+181.58%)
Mutual labels:  grafana, grafana-plugin, grafana-datasource
grafana-pnp-datasource
PNP4Nagios/RRD Datasource for Grafana
Stars: ✭ 27 (-28.95%)
Mutual labels:  grafana, datasource
ibm-spectrum-scale-bridge-for-grafana
This tool allows the IBM Spectrum Scale users to perform performance monitoring for IBM Spectrum Scale devices using third-party applications such as Grafana software.
Stars: ✭ 24 (-36.84%)
Mutual labels:  grafana, grafana-datasource
grafana-simplejson-datasource-example
A simple Flask server demonstrating the basics of the Grafana simplejson datasource.
Stars: ✭ 21 (-44.74%)
Mutual labels:  grafana, datasource
grafana-plugin-sdk-go
A Go SDK for building backend plugins for Grafana
Stars: ✭ 151 (+297.37%)
Mutual labels:  grafana, grafana-plugin
macropower-analytics-panel
It's like Google Analytics, but for Grafana dashboards!
Stars: ✭ 16 (-57.89%)
Mutual labels:  grafana, grafana-plugin
grafana-redis-app
Redis Application for @grafana provides Application pages and custom panels for Redis Data Source.
Stars: ✭ 23 (-39.47%)
Mutual labels:  grafana, grafana-plugin
grafana-s3-plugin
Grafana Plugin for querying files on AWS S3 using S3 Select API
Stars: ✭ 21 (-44.74%)
Mutual labels:  grafana-plugin, grafana-datasource
yesoreyeram-boomtheme-panel
Grafana Panel for adding styles
Stars: ✭ 59 (+55.26%)
Mutual labels:  grafana, grafana-plugin
grafana-treemap-panel
A panel plugin for Grafana to visualize treemaps.
Stars: ✭ 18 (-52.63%)
Mutual labels:  grafana, grafana-plugin
Grafanajsondatasource
Grafana datasource to load JSON data over your arbitrary HTTP backend
Stars: ✭ 146 (+284.21%)
Mutual labels:  grafana, datasource
grafana-csv-plugin
CSV datasource for Grafana 6.x.x / 7.x.x
Stars: ✭ 33 (-13.16%)
Mutual labels:  grafana, datasource
yesoreyeram-boomsummary-panel
Boom Summary Panel for Grafana
Stars: ✭ 14 (-63.16%)
Mutual labels:  grafana, grafana-plugin
grafana-sqlite-datasource
Grafana Plugin to enable SQLite as a Datasource
Stars: ✭ 57 (+50%)
Mutual labels:  grafana, grafana-plugin
chartjs-plugin-datasource-prometheus
Chart.js plugin for Prometheus data loading
Stars: ✭ 77 (+102.63%)
Mutual labels:  grafana, datasource
docker-clickhouse-grafana
Baseline Compose for Clickhouse + Grafana
Stars: ✭ 24 (-36.84%)
Mutual labels:  grafana, datasource
mqtt-datasource
MQTT Datasource for Grafana allows streaming data from any MQTT broker running either locally or remotely.
Stars: ✭ 99 (+160.53%)
Mutual labels:  grafana-plugin, grafana-datasource
alexandra-trackmap-panel
Grafana map plugin to visualise coordinates as markers, hexbin, ant path, or heatmap.
Stars: ✭ 58 (+52.63%)
Mutual labels:  grafana, grafana-plugin
Grafana Prometheus Alertmanager Datasource
Stars: ✭ 163 (+328.95%)
Mutual labels:  grafana, datasource
grafana-checkmk-datasource
CheckMK data source for Grafana
Stars: ✭ 68 (+78.95%)
Mutual labels:  grafana, grafana-datasource
Supported Grafana versions

Grafana pandas datasource

About

A HTTP API based on Flask for serving pandas data frames to Grafana, generated by NumPy. The Grafana Simple JSON Datasource is used to interface Grafana with the HTTP API.

This way, a pure Python application can be used to directly supply data to Grafana, both easily and powerfully.

The framework supports feeding both timeseries data as well as annotations through corresponding /query and /annotations endpoints and also provides /search and /panels endpoints.

Screenshots

https://user-images.githubusercontent.com/453543/103137119-78dab480-46c6-11eb-829f-6aa957239804.png

Image: Sinewave data and midnights annotations, both generated using NumPy, see Sinewave/Midnights example.

Setup

Grafana pandas datasource setup outlines how to install all software prerequisites needed to run this project. Please read this section carefully.

pip install grafana-pandas-datasource

Synopsis

Test drive:

# Run Grafana pandas datasource demo.
python examples/sinewave-midnights/demo.py

# Submit a timeseries data request.
echo '{"targets": [{"target": "sine_wave:24"}], "range": {"from": "2022-02-22T15", "to": "2022-02-22T20"}}' | http http://127.0.0.1:3003/query

# Submit an annotation data request.
echo '{"annotation": {"query": "midnights:xx"}, "range": {"from": "2022-02-20", "to": "2022-02-22"}}' | http http://127.0.0.1:3003/annotations

When the environment has been properly configured, both requests above will yield appropriate responses.

Then, configure the Grafana entities. You will need a datasource object and a dashboard object.

Examples

There are different demo programs accompanied with Grafana datasource and dashboard definition files.

After confirming the sandbox environment has been installed successfully, please head over to the Sinewave/Midnights example page in order to learn how to provision Grafana with corresponding resources.

Custom implementations

In order to conceive your own pandas-based data source, please use the Sinewave/Midnights demo.py as a blueprint. If you think it would be a valuable contribution to the community, we will be happy to add it to the repository.

Credits

Kudos to Linar, who conceived the initial version of this software the other day at https://gist.github.com/linar-jether/95ff412f9d19fdf5e51293eb0c09b850.

Other projects

Oz Tiram conceived a similar piece of software with Python. He uses the Bottle web framework.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].