@ -120,3 +120,20 @@ queries via the Dashboard menu / Annotations view.
Graphite supports two ways to query annotations. A regular metric query, for this you use the `Graphite query` textbox. A Graphite events query, use the `Graphite event tags` textbox,
specify a tag or wildcard (leave empty should also work)
## Configure datasource with provisioning
Its now possible to configure datasources using config files with Grafanas [provisioning system](/administration/provisioning/#datasources).
Here are some examples of how you can configure the Cloudwatch datasource using configuration.
*tag_values(cpu, hostanme, env=$env, region=$region)* | Return tag values for cpu metric, selected env tag value, selected region tag value and tag key hostname
For details on OpenTSDB metric queries checkout the official [OpenTSDB documentation](http://opentsdb.net/docs/build/html/index.html)
## Configure datasource with provisioning
Its now possible to configure datasources using config files with Grafanas [provisioning system](/administration/provisioning/#datasources).
Here are some examples of how you can configure the Cloudwatch datasource using configuration.
@ -100,3 +100,18 @@ The step option is useful to limit the number of events returned from your query
## Getting Grafana metrics into Prometheus
Since 4.6.0 Grafana exposes metrics for Prometheus on the `/metrics` endpoint. We also bundle a dashboard within Grafana so you can get started viewing your metrics faster. You can import the bundled dashboard by going to the data source edit page and click the dashboard tab. There you can find a dashboard for Grafana and one for Prometheus. Import and start viewing all the metrics!
## Configure datasource with provisioning
Its now possible to configure datasources using config files with Grafanas [provisioning system](/administration/provisioning/#datasources
Here are some examples of how you can configure the Cloudwatch datasource using configuration.