Strava

Data Source

Strava datasource

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.

Included dashboard "Strava Athlete Dashboad Modern" depends on Grafana's native text2 panel plugin which is still in alpha state. If you want to enable alpha plugins and avoid seeing an error message in the dashboard, set GF_PLUGINS_ENABLE_ALPHA environment variable to true. Example:

export GF_PLUGINS_ENABLE_ALPHA=true
Sign up Now

Version

Includes:
  • Strava Athlete Dashboard Modern

  • Strava Athlete Dashboard

  • Strava Datasource

Dependencies:
  • Grafana 7.1