mirror of
https://github.com/grafana/grafana.git
synced 2025-07-31 19:22:34 +08:00
docs(): fixing image urls in docs
This commit is contained in:
@ -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
|
||||

|
||||

|
||||
|
||||
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
|
||||
|
||||

|
||||

|
||||
|
||||
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" ] })
|
||||
|
||||

|
||||

|
||||
|
||||
## Cost
|
||||
|
||||
|
@ -17,7 +17,7 @@ also annotate your graphs with log events stored in elasticsearch.
|
||||
|
||||
## Adding the data source
|
||||
|
||||

|
||||

|
||||
|
||||
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
|
||||
|
||||

|
||||

|
||||
|
||||
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
|
||||
|
||||

|
||||

|
||||
|
||||
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.
|
||||
|
||||

|
||||

|
||||
|
||||
## Templating
|
||||
|
||||
|
@ -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
|
||||

|
||||

|
||||
|
||||
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.
|
||||
|
||||

|
||||

|
||||
|
||||
### 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.
|
||||
|
||||

|
||||

|
||||
|
||||
|
||||
### 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.
|
||||
|
||||

|
||||

|
||||
|
||||
## 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.
|
||||
|
||||

|
||||

|
||||
|
||||
|
||||
## Query Reference
|
||||
|
@ -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
|
||||

|
||||

|
||||
|
||||
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
|
||||
|
||||

|
||||

|
||||
|
||||
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:
|
||||

|
||||

|
||||
|
||||
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
|
||||
|
||||

|
||||

|
||||
|
||||
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.
|
||||
|
@ -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
|
||||

|
||||

|
||||
|
||||
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.
|
||||
|
||||

|
||||

|
||||
|
||||
For details on KairosDB metric queries checkout the official.
|
||||
- [Query Metrics - KairosDB 0.9.4 documentation](http://kairosdb.github.io/kairosdocs/restapi/QueryMetrics.html).
|
||||
|
@ -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.
|
||||
|
||||

|
||||

|
||||
|
||||
### 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.
|
||||
|
@ -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
|
||||

|
||||

|
||||
|
||||
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.
|
||||
|
||||

|
||||

|
||||
|
||||
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.
|
||||
|
||||

|
||||

|
||||
|
Reference in New Issue
Block a user