b9389 / strava-datasource

Strava datasource for Grafana dashboard

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Strava datasource for Grafana dashboard

Visualize your sport activity with Grafana.

Strava Dashboard

Features:

  • Query activities stats and present it as a time series data.
  • Table format
  • Show activities over the world with Worldmap Panel

Configuration

See configuration docs.

Quick start

Before you start grafana server, configure plugin data directory with GF_STRAVA_DS_DATA_PATH environment variable. This required for storing obtained refresh tokens and make it available after plugin restart. Default path is plugin directory, but it will be removed during plugin upgrade, so for persistent storage it's better to use grafana data directory. Example:

mkdir /var/lib/grafana/strava
export GF_STRAVA_DS_DATA_PATH=/var/lib/grafana/strava

When data source is configured, you can import example dashboards from Dashboards tab at the data source configuration page. That's a good starting point for your custom dashboards.

Unfortunately, Strava API has some limitations and you can query only your own activities. But for multi-user dashboards you can configure multiple data sources and authorize separate user for each of them.

About

Strava datasource for Grafana dashboard

License:MIT License


Languages

Language:TypeScript 58.1%Language:Go 30.5%Language:JavaScript 4.9%Language:Shell 3.6%Language:Makefile 2.8%