diff --git a/docs/sources/administration/cli.md b/docs/sources/administration/cli.md index 99446fb5f1b..ebe910503aa 100644 --- a/docs/sources/administration/cli.md +++ b/docs/sources/administration/cli.md @@ -10,11 +10,14 @@ weight = 8 # Grafana CLI -Grafana cli is a small executable that is bundled with grafana server and is suppose to be executed on the same machine as grafana runs. +Grafana cli is a small executable that is bundled with grafana server and is suppose to be +executed on the same machine as grafana runs. ## Plugins -The CLI helps you install, upgrade and manage your plugins on the same machine it CLI is running. You can find more information about how to install and manage your plugins at the [plugin page] ({{< relref "/installation.md" >}}) +The CLI helps you install, upgrade and manage your plugins on the same machine it CLI is running. +You can find more information about how to install and manage your plugins at the +[plugin page]({{< relref "plugins/installation.md" >}}). ## Admin diff --git a/docs/sources/alerting/rules.md b/docs/sources/alerting/rules.md index af3cfecfdb8..a2688de3100 100644 --- a/docs/sources/alerting/rules.md +++ b/docs/sources/alerting/rules.md @@ -33,7 +33,7 @@ of core Grafana. Only some data soures are supported right now. They include `Gr ### Clustering We have not implemented clustering yet. So if you run multiple instances of grafana-server -you have to make sure [execute_alerts]({{< relref "/installation/configuration.md#alerting" >}}) +you have to make sure [execute_alerts]({{< relref "installation/configuration.md#alerting" >}}) is true on only one instance or otherwise you will get duplicated notifications.
diff --git a/docs/sources/features/datasources/cloudwatch.md b/docs/sources/features/datasources/cloudwatch.md index b4ad0b3288e..c2896c5b172 100644 --- a/docs/sources/features/datasources/cloudwatch.md +++ b/docs/sources/features/datasources/cloudwatch.md @@ -3,6 +3,7 @@ title = "AWS CloudWatch" description = "Guide for using CloudWatch in Grafana" keywords = ["grafana", "cloudwatch", "guide"] type = "docs" +aliases = ["/datasources/cloudwatch"] [menu.docs] name = "AWS Cloudwatch" identifier = "cloudwatch" diff --git a/docs/sources/features/datasources/elasticsearch.md b/docs/sources/features/datasources/elasticsearch.md index 345f68a9220..4f8bfaf968c 100644 --- a/docs/sources/features/datasources/elasticsearch.md +++ b/docs/sources/features/datasources/elasticsearch.md @@ -3,6 +3,7 @@ title = "Using Elasticsearch in Grafana" description = "Guide for using Elasticsearch in Grafana" keywords = ["grafana", "elasticsearch", "guide"] type = "docs" +aliases = ["/datasources/elasticsearch"] [menu.docs] name = "Elasticsearch" parent = "datasources" diff --git a/docs/sources/features/datasources/graphite.md b/docs/sources/features/datasources/graphite.md index 44a4dff3761..11e15ab503e 100644 --- a/docs/sources/features/datasources/graphite.md +++ b/docs/sources/features/datasources/graphite.md @@ -3,6 +3,7 @@ title = "Using Graphite in Grafana" description = "Guide for using graphite in Grafana" keywords = ["grafana", "graphite", "guide"] type = "docs" +aliases = ["/datasources/graphite"] [menu.docs] name = "Graphite" identifier = "graphite" diff --git a/docs/sources/features/datasources/influxdb.md b/docs/sources/features/datasources/influxdb.md index c6afdfdc8d4..c271571aa31 100644 --- a/docs/sources/features/datasources/influxdb.md +++ b/docs/sources/features/datasources/influxdb.md @@ -3,6 +3,7 @@ title = "Using InfluxDB in Grafana" description = "Guide for using InfluxDB in Grafana" keywords = ["grafana", "influxdb", "guide"] type = "docs" +aliases = ["/datasources/influxdb"] [menu.docs] name = "InfluxDB" parent = "datasources" diff --git a/docs/sources/features/datasources/kairosdb.md b/docs/sources/features/datasources/kairosdb.md deleted file mode 100644 index d27105d0ee1..00000000000 --- a/docs/sources/features/datasources/kairosdb.md +++ /dev/null @@ -1,52 +0,0 @@ ---- -page_title: KairosDB Guide -page_description: KairosDB guide for Grafana -page_keywords: grafana, kairosdb, documentation ---- - -# KairosDB Guide -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 - - -1. Open the side menu by clicking the the Grafana icon in the top header. -2. In the side menu under the `Dashboards` link you should find a link named `Data Sources`. - - > NOTE: If this link is missing in the side menu it means that your current user does not have the `Admin` role for the current organization. - -3. Click the `Add new` link in the top header. -4. Select `KairosDB` from the dropdown. - - - -Name | Description ------------- | ------------- -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 directly from browser. - -## Query editor -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](http://kairosdb.github.io/kairosdocs/restapi/QueryMetrics.html). - -## Templated queries -KairosDB Datasource Plugin provides following functions in `Variables values query` field in Templating Editor to query `metric names`, `tag names`, and `tag values` to kairosdb server. - -Name | Description -| ------- | --------| -`metrics(query)` | Returns a list of metric names matching `query`. If nothing is given, returns a list of all metric names. -`tag_names(query)` | Returns a list of tag names matching `query`. If nothing is given, returns a list of all tag names. -`tag_values(metric,tag)` | Returns a list of values for `tag` from the given `metric`. - -For details of `metric names`, `tag names`, and `tag values`, please refer to the KairosDB documentations. - -- [List Metric Names - KairosDB 0.9.4 documentation](http://kairosdb.github.io/kairosdocs/restapi/ListMetricNames.html) -- [List Tag Names - KairosDB 0.9.4 documentation](http://kairosdb.github.io/kairosdocs/restapi/ListTagNames.html) -- [List Tag Values - KairosDB 0.9.4 documentation](http://kairosdb.github.io/kairosdocs/restapi/ListTagValues.html) -- [Query Metrics - KairosDB 0.9.4 documentation](http://kairosdb.github.io/kairosdocs/restapi/QueryMetrics.html). diff --git a/docs/sources/features/datasources/opentsdb.md b/docs/sources/features/datasources/opentsdb.md index 7e81ebe1483..435852137a5 100644 --- a/docs/sources/features/datasources/opentsdb.md +++ b/docs/sources/features/datasources/opentsdb.md @@ -3,6 +3,7 @@ title = "Using OpenTSDB in Grafana" description = "Guide for using OpenTSDB in Grafana" keywords = ["grafana", "opentsdb", "guide"] type = "docs" +aliases = ["/datasources/opentsdb"] [menu.docs] name = "OpenTSDB" parent = "datasources" diff --git a/docs/sources/features/datasources/plugin_api.md b/docs/sources/features/datasources/plugin_api.md deleted file mode 100644 index 2e2121ed21a..00000000000 --- a/docs/sources/features/datasources/plugin_api.md +++ /dev/null @@ -1,34 +0,0 @@ ----- -page_title: Data source Plugin API -page_description: Data Source Plugin Description -page_keywords: grafana, data source, plugin, api, docs ---- - -# Data source plugin API - -All data sources in Grafana are implemented as plugins. - -## Breaking change in 2.2 - -In Grafana 2.2 a breaking change was introduced for how data source query editors -are structured, defined and loaded. This was in order to support mixing multiple data sources -in the same panel. - -In Grafana 2.2, the query editor is no longer defined using the partials section in -`plugin.json`, but defined via an angular directive named using convention naming -scheme like `metricQueryEditor`. For example - -Graphite defines a directive like this: - -```javascript -module.directive('metricQueryEditorGraphite', function() { - return {controller: 'GraphiteQueryCtrl', templateUrl: 'app/plugins/datasource/graphite/partials/query.editor.html'}; -}); -``` - -Even though the data source type name is with lowercase `g`, the directive uses capital `G` in `Graphite` because -that is how angular directives needs to be named in order to match an element with name `