grafana datasource plugin

of 14/14
Grafana Datasource plugin

Post on 07-Jan-2017

3.997 views

Category:

Software

3 download

Embed Size (px)

TRANSCRIPT

PowerPoint

Grafana Datasource plugin

20111AWS

GrafanaTemplatingAnnotation

GraphpanelSinglestatpanelTablepanelElasticsearchpluginCloudWatchpluginPrometheusplugin

Plugin Architecture

PluginDatasourceGraphiteOpenTSDBInfluxDBElasticsearchPrometheusCloudWatchPanelGraphSinglestatTableText

Grafana 3.0Next release versionPlugin support!Datasource pluginhttp://docs.grafana.org/v3.0/plugins/datasources/Panel pluginhttp://docs.grafana.org/v3.0/plugins/panels/

PluginDatasourceGraphiteOpenTSDBInfluxDBElasticsearchPrometheusCloudWatchKairosDBSimpleJsonTSVPanelGraphSinglestatTableTextPie ChartHistogram

Datasource pluginquery()DatasourcemetricFindQuery()TemplatingannotationQuery()AnnotationUI

Templating & Panel RepeatproductionDBDC/

CloudWatchpluginCloudWatchinstance_idi-56787ef3i-717d74d4i-f8f2a95d

Create graph panels(Panel Repeat)ec2_instance_attribute(ap-northeast-1,InstanceId,{"tag:Environment": ["production"]})

11

Annotation

timeinstance_idmetadata1458121100000i-56787ef3{ }1458122780000i-56787ef3{ }1458122840000i-56787ef3{ }

Prometheuspluginload_one_minutes > bool 0.5Show annotations

Datasource pluginTemplatingAnnotation