Grafana v2.1 brings initial support for KairosDB Datasources. While the process of adding the datasource is similar to adding a Graphite or OpenTSDB datasource type, Kairos DB does have a few different options for building queries.
Adding the data source to Grafana
- Open the side menu by clicking the the Grafana icon in the top header.
In the side menu under the
Dashboardslink you should find a link named
NOTE: If this link is missing in the side menu it means that your current user does not have the
Adminrole for the current organization.
Add newlink in the top header.
KairosDBfrom the dropdown.
|Name||The data source name, important that this is the same as in Grafana v1.x if you plan to import old dashboards.|
|Default||Default data source means that it will be pre-selected for new panels.|
|Url||The http protocol, ip and port of your kairosdb server (default port is usually 8080)|
|Access||Proxy = access via Grafana backend, Direct = access directory from browser.|
Open a graph in edit mode by click the title.
For details on KairosDB metric queries checkout the official. - Query Metrics - KairosDB 0.9.4 documentation.
KairosDB Datasource Plugin provides following functions in
Variables values query field in Templating Editor to query
tag names, and
tag values to kairosdb server.
||Returns a list of metric names matching
||Returns a list of tag names matching
||Returns a list of values for
For details of
tag names, and
tag values, please refer to the KairosDB documentations.