Grafana Data Source
This is the plugin for IRONdb 0.17.1 and newer. It is evolving and we continue to track its API.
Read more about Circonus IRONdb.
- The default location for the plugins directory is
/var/lib/grafana/plugins, though the location may be different in your installation, see http://docs.grafana.org/plugins/installation/ for more plugin information.
Download the desired release version.
Unzip into plugins directory.
git clone https://github.com/circonus-labs/circonus-irondb-datasource.gitinto plugins directory.
Create a new datasource and select IRONdb from the
Change the IRONdb configuration options at the bottom of the datasource configuration page.
- Standalone: An IRONdb cluster accessible directly, requires entry of Account ID.
- Hosted: An IRONdb instance hosted by Circonus, requires entry of API token.
The Account ID associated with the account to pull metrics from.
The API Token associated with the account to pull metrics from. This can be found on your API Tokens page after logging in at https://www.circonus.com/ in the “User Profile” section.
- Create a new panel and set the datasource to name selected in the IRONdb datasource configuration.
For normal queries, use the metric browser to navigate the metric hierarchy of your IRONdb instance or type queries manually using the Toggle Edit Mode menu item to the right.
CAQL queries must be entered manually by selecting the CAQL checkbox or switching manually to the editor mode.
Histograms currently require a special checkbox to be selected in order for the returned data to be processed correctly. Once selected, histogram data processing will be utilized for any returned data related to the specific metric.
Using the histogram checkbox to process returned data allows for histograms to be displayed on the heatmap panel type.
For this processed data to be displayed on the heatmap panel as the sample above, select Time Series Buckets as the Data Format to be used on the Heatmap panel.
How to configure a template variable for IRONdb
From a dashboard, click
Settingsin the top right.
On the left hand side, select the
+Newand choose a name for your new variable.
Select the proper data source:
Query, enter the metric you wish to use in this variable (without tags).
Include All Optionand enter
Custom all value.
Value groups/tagsto enable tags support.
Enter the tag category you wish to use in your variable under
Tag values query.
If you successfully completed the prior steps,
Preview of valuesshould now auto-complete the tag values.
Finish setup by clicking
Your new template variable should now appear in the query builder!
The build process requires node, npm, yarn, typescrypt, and tslint
On Cent7 setup:
# One time setup sudo yum install node bzip2 sudo npm install -g typescript tslint yarn # Build yarn build # Test yarn test
This content was sourced from the README on GitHub.