Plugins 〉Heroic


Developer

Spotify

Sign up to receive occasional product news and updates:


Grafana Cloud
ObservabilityCON on the Road: Chicago (Mar 11)

See demos of new Grafana Cloud observability workflows, hear community success stories, and leave with what you need to advance your observability roadmap.


This plugin is no longer maintained and neither is the Heroic database.
Data Source
community

Heroic

  • Overview
  • Installation
  • Related content

Build Status

This is a "fork" of the Grafana InfluxDB plugin with changes applied to function with the Heroic time-series database.

This is intended to be an improvement on the existing Heroic datasource that includes a query builder, table support, variable support, and annotation support.

Development Status

Beta

How to install

To develop locally:

  • yarn install
  • yarn watch

Add the following to your grafana.ini to deploy to your local Grafana instance:

[plugin.heroic-grafana-datasource]
path = /{path-to-heroic-grafana-datasource}

If using Docker, you can mount this repo into the Grafana plugin directory:

docker run -it -p 3000:3000 --name=grafana -v `pwd`:/var/lib/grafana/plugins/heroic-grafana-datasource grafana/grafana

Can also be installed with grafana-cli

grafana-cli --pluginUrl https://github.com/spotify/heroic-grafana-datasource/archive/master.zip plugins install heroic-grafana-datasource

Code of Conduct

This project adheres to the Open Code of Conduct. By participating, you are expected to honor this code.

Installing Heroic on Grafana Cloud:

For more information, visit the docs on plugin installation.

Installing on a local Grafana:

For local instances, plugins are installed and updated via a simple CLI command. Plugins are not updated automatically, however you will be notified when updates are available right within your Grafana.

1. Install the Data Source

Use the grafana-cli tool to install Heroic from the commandline:

grafana-cli plugins install 

The plugin will be installed into your grafana plugins directory; the default is /var/lib/grafana/plugins. More information on the cli tool.

2. Configure the Data Source

Accessed from the Grafana main menu, newly installed data sources can be added immediately within the Data Sources section.

Next, click the Add data source button in the upper right. The data source will be available for selection in the Type select box.

To see a list of installed data sources, click the Plugins item in the main menu. Both core data sources and installed data sources will appear.