docs(): fixing image urls in docs

This commit is contained in:
Torkel Ödegaard
2016-11-04 20:29:17 +01:00
parent 3cc4a194a9
commit 2b81b204aa
31 changed files with 141 additions and 153 deletions

View File

@ -16,7 +16,7 @@ Grafana ships with built in support for CloudWatch. You just have to add it as a
be ready to build dashboards for you CloudWatch metrics.
## Adding the data source
![](img/docs/cloudwatch/cloudwatch_add.png)
![](/img/docs/cloudwatch/cloudwatch_add.png)
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`.
@ -60,7 +60,7 @@ Example content:
## Metric Query Editor
![](img/docs/cloudwatch/query_editor.png)
![](/img/docs/cloudwatch/query_editor.png)
You need to specify a namespace, metric, at least one stat, and at least one dimension.
@ -101,7 +101,7 @@ Example `ec2_instance_attribute()` query
ec2_instance_attribute(us-east-1, InstanceId, { "tag:Environment": [ "production" ] })
![](img/docs/v2/cloudwatch_templating.png)
![](/img/docs/v2/cloudwatch_templating.png)
## Cost

View File

@ -17,7 +17,7 @@ also annotate your graphs with log events stored in elasticsearch.
## Adding the data source
![](img/docs/v2/add_Graphite.jpg)
![](/img/docs/v2/add_Graphite.jpg)
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`.
@ -47,14 +47,14 @@ Elasticsearch from the browser. You do this by specifying these to options in yo
### Index settings
![](img/docs/elasticsearch/elasticsearch_ds_details.png)
![](/img/docs/elasticsearch/elasticsearch_ds_details.png)
Here you can specify a default for the `time field` and specify the name of your elasticsearch index. You can use
a time pattern for the index name or a wildcard.
## Metric Query editor
![](img/docs/elasticsearch/query_editor.png)
![](/img/docs/elasticsearch/query_editor.png)
The Elasticsearch query editor allows you to select multiple metrics and group by multiple terms or filters. Use the plus and minus icons to the right to add / remove
metrics or group bys. Some metrics and group by have options, click the option text to expand the the row to view and edit metric or group by options.
@ -66,7 +66,7 @@ If you have Elasticsearch 2.x and Grafana 2.6 or above then you can use pipeline
to hide metrics from appearing in the graph. This is useful for metrics you only have in the query to be used
in a pipeline metric.
![](img/docs/elasticsearch/pipeline_metrics_editor.png)
![](/img/docs/elasticsearch/pipeline_metrics_editor.png)
## Templating

View File

@ -17,7 +17,7 @@ change function parameters and much more. The editor can handle all types of gra
queries through the use of query references.
## Adding the data source
![](img/docs/v2/add_Graphite.jpg)
![](/img/docs/v2/add_Graphite.jpg)
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`.
@ -46,7 +46,7 @@ Direct access is still supported because in some cases it may be useful to acces
Click the ``Select metric`` link to start navigating the metric space. One you start you can continue using the mouse
or keyboard arrow keys. You can select a wildcard and still continue.
![](img/docs/animated_gifs/graphite_query1.gif)
![](/img/docs/animated_gifs/graphite_query1.gif)
### Functions
Click the plus icon to the right to add a function. You can search for the function or select it from the menu. Once
@ -54,13 +54,13 @@ a function is selected it will be added and your focus will be in the text box o
a parameter just click on it and it will turn into a text box. To delete a function click the function name followed
by the x icon.
![](img/docs/animated_gifs/graphite_query2.gif)
![](/img/docs/animated_gifs/graphite_query2.gif)
### Optional parameters
Some functions like aliasByNode support an optional second argument. To add this parameter specify for example 3,-2 as the first parameter and the function editor will adapt and move the -2 to a second parameter. To remove the second optional parameter just click on it and leave it blank and the editor will remove it.
![](img/docs/animated_gifs/func_editor_optional_params.gif)
![](/img/docs/animated_gifs/func_editor_optional_params.gif)
## Point consolidation
@ -80,7 +80,7 @@ values that exists in the wildcard position.
You can also create nested variables that use other variables in their definition. For example
`apps.$app.servers.*` uses the variable `$app` in its query definition.
![](img/docs/v2/templated_variable_parameter.png)
![](/img/docs/v2/templated_variable_parameter.png)
## Query Reference

View File

@ -14,7 +14,7 @@ weight = 3
Grafana ships with very a feature data source plugin for InfluxDB. Supporting a feature rich query editor, annotation and templating queries.
## Adding the data source
![](img/docs/v2/add_Influx.jpg)
![](/img/docs/v2/add_Influx.jpg)
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`.
@ -41,7 +41,7 @@ Password | Database user's password
## Query Editor
![](assets/img/blog/v2.6/influxdb_editor_v3.gif)
![](/assets/img/blog/v2.6/influxdb_editor_v3.gif)
You find the InfluxDB editor in the metrics tab in Graph or Singlestat panel's edit mode. You enter edit mode by clicking the
panel title, then edit. The editor allows you to select metrics and tags.
@ -60,7 +60,7 @@ In the `SELECT` row you can specify what fields and functions you want to use. I
group by time you need an aggregation function. Some functions like derivative require an aggregation function.
The editor tries simplify and unify this part of the query. For example:
![](img/docs/influxdb/select_editor.png)
![](/img/docs/influxdb/select_editor.png)
The above will generate the following InfluxDB `SELECT` clause:
@ -93,7 +93,7 @@ You can switch to raw query mode by clicking hamburger icon and then `Switch edi
### Table query / raw data
![](assets/img/blog/v2.6/table_influxdb_logs.png)
![](/assets/img/blog/v2.6/table_influxdb_logs.png)
You can remove the group by time by clicking on the `time` part and then the `x` icon. You can
change the option `Format As` to `Table` if you want to show raw data in the `Table` panel.

View File

@ -8,7 +8,7 @@ page_keywords: grafana, kairosdb, documentation
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
![](img/v2/add_KairosDB.jpg)
![](/img/v2/add_KairosDB.jpg)
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`.
@ -30,7 +30,7 @@ Access | Proxy = access via Grafana backend, Direct = access directly from brows
## Query editor
Open a graph in edit mode by click the title.
![](img/v2/kairos_query_editor.jpg)
![](/img/v2/kairos_query_editor.jpg)
For details on KairosDB metric queries checkout the official.
- [Query Metrics - KairosDB 0.9.4 documentation](http://kairosdb.github.io/kairosdocs/restapi/QueryMetrics.html).

View File

@ -11,7 +11,7 @@ weight = 5
# Using OpenTSDB in Grafana
{{< docs-imagebox img="img/docs/v2/add_OpenTSDB.png" max-width="14rem" >}}
{{< docs-imagebox img="/img/docs/v2/add_OpenTSDB.png" max-width="14rem" >}}
The newest release of Grafana adds additional functionality when using an OpenTSDB Data source.
@ -37,7 +37,7 @@ Open a graph in edit mode by click the title. Query editor will differ if the da
> Note: While using Opentsdb 2.2 datasource, make sure you use either Filters or Tags as they are mutually exclusive. If used together, might give you weird results.
![](img/docs/v2/opentsdb_query_editor.png)
![](/img/docs/v2/opentsdb_query_editor.png)
### Auto complete suggestions
As soon as you start typing metric names, tag names and tag values , you should see highlighted auto complete suggestions for them.

View File

@ -15,7 +15,7 @@ weight = 2
Grafana includes support for Prometheus Datasources. While the process of adding the datasource is similar to adding a Graphite or OpenTSDB datasource type, Prometheus does have a few different options for building queries.
## Adding the data source to Grafana
![](img/v2/add_Prometheus.png)
![](/img/v2/add_Prometheus.png)
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`.
@ -42,7 +42,7 @@ Password | Database user's password
## Query editor
Open a graph in edit mode by click the title.
![](img/v2/prometheus_editor.png)
![](/img/v2/prometheus_editor.png)
For details on Prometheus metric queries check out the Prometheus documentation
- [Query Metrics - Prometheus documentation](http://prometheus.io/docs/querying/basics/).
@ -72,4 +72,4 @@ label_values(hostname)
You can also use raw queries & regular expressions to extract anything you might need.
![](img/v2/prometheus_templating.png)
![](/img/v2/prometheus_templating.png)