|
@@ -17,7 +17,7 @@ The release includes a new Table panel, a new InfluxDB query editor, support for
|
|
|
support for multiple Cloudwatch credentials.
|
|
support for multiple Cloudwatch credentials.
|
|
|
|
|
|
|
|
## Table Panel
|
|
## Table Panel
|
|
|
-<img src="assets/img/features/table-panel.png">
|
|
|
|
|
|
|
+<img src="/assets/img/features/table-panel.png">
|
|
|
|
|
|
|
|
The new table panel is very flexible, supporting both multiple modes for time series as well as for
|
|
The new table panel is very flexible, supporting both multiple modes for time series as well as for
|
|
|
table, annotation and raw JSON data. It also provides date formating and value formating and coloring options.
|
|
table, annotation and raw JSON data. It also provides date formating and value formating and coloring options.
|
|
@@ -27,7 +27,7 @@ table, annotation and raw JSON data. It also provides date formating and value f
|
|
|
In the most simple mode you can turn time series to rows. This means you get a `Time`, `Metric` and a `Value` column.
|
|
In the most simple mode you can turn time series to rows. This means you get a `Time`, `Metric` and a `Value` column.
|
|
|
Where `Metric` is the name of the time series.
|
|
Where `Metric` is the name of the time series.
|
|
|
|
|
|
|
|
-<img src="img/docs/v2/table_ts_to_rows.png">
|
|
|
|
|
|
|
+<img src="/img/docs/v2/table_ts_to_rows.png">
|
|
|
|
|
|
|
|
### Table Transform
|
|
### Table Transform
|
|
|
Above you see the options tab for the **Table Panel**. The most important option is the `To Table Transform`.
|
|
Above you see the options tab for the **Table Panel**. The most important option is the `To Table Transform`.
|
|
@@ -40,7 +40,7 @@ The column styles allow you control how dates and numbers are formatted.
|
|
|
This transform allows you to take multiple time series and group them by time. Which will result in a `Time` column
|
|
This transform allows you to take multiple time series and group them by time. Which will result in a `Time` column
|
|
|
and a column for each time series.
|
|
and a column for each time series.
|
|
|
|
|
|
|
|
-<img src="img/docs/v2/table_ts_to_columns.png">
|
|
|
|
|
|
|
+<img src="/img/docs/v2/table_ts_to_columns.png">
|
|
|
|
|
|
|
|
In the screenshot above you can see how the same time series query as in the previous example can be transformed into
|
|
In the screenshot above you can see how the same time series query as in the previous example can be transformed into
|
|
|
a different table by changing the `To Table Transform` to `Time series to columns`.
|
|
a different table by changing the `To Table Transform` to `Time series to columns`.
|
|
@@ -49,7 +49,7 @@ a different table by changing the `To Table Transform` to `Time series to colum
|
|
|
This transform works very similar to the legend values in the Graph panel. Each series gets its own row. In the Options
|
|
This transform works very similar to the legend values in the Graph panel. Each series gets its own row. In the Options
|
|
|
tab you can select which aggregations you want using the plus button the Columns section.
|
|
tab you can select which aggregations you want using the plus button the Columns section.
|
|
|
|
|
|
|
|
-<img src="img/docs/v2/table_ts_to_aggregations.png">
|
|
|
|
|
|
|
+<img src="/img/docs/v2/table_ts_to_aggregations.png">
|
|
|
|
|
|
|
|
You have to think about how accurate the aggregations will be. It depends on what aggregation is used in the time series query,
|
|
You have to think about how accurate the aggregations will be. It depends on what aggregation is used in the time series query,
|
|
|
how many data points are fetched, etc. The time series aggregations are calculated by Grafana after aggregation is performed
|
|
how many data points are fetched, etc. The time series aggregations are calculated by Grafana after aggregation is performed
|
|
@@ -59,39 +59,39 @@ by the time series database.
|
|
|
|
|
|
|
|
If you want to show documents from Elasticsearch pick `Raw Document` as the first metric.
|
|
If you want to show documents from Elasticsearch pick `Raw Document` as the first metric.
|
|
|
|
|
|
|
|
-<img src="img/docs/v2/elastic_raw_doc.png">
|
|
|
|
|
|
|
+<img src="/img/docs/v2/elastic_raw_doc.png">
|
|
|
|
|
|
|
|
This in combination with the `JSON Data` table transform will allow you to pick which fields in the document
|
|
This in combination with the `JSON Data` table transform will allow you to pick which fields in the document
|
|
|
you want to show in the table.
|
|
you want to show in the table.
|
|
|
|
|
|
|
|
-<img src="img/docs/v2/table_json_data.png">
|
|
|
|
|
|
|
+<img src="/img/docs/v2/table_json_data.png">
|
|
|
|
|
|
|
|
### Elasticsearch aggregations
|
|
### Elasticsearch aggregations
|
|
|
|
|
|
|
|
You can also make Elasticsearch aggregation queries without a `Date Histogram`. This allows you to
|
|
You can also make Elasticsearch aggregation queries without a `Date Histogram`. This allows you to
|
|
|
use Elasticsearch metric aggregations to get accurate aggregations for the selected time range.
|
|
use Elasticsearch metric aggregations to get accurate aggregations for the selected time range.
|
|
|
|
|
|
|
|
-<img src="img/docs/v2/elastic_aggregations.png">
|
|
|
|
|
|
|
+<img src="/img/docs/v2/elastic_aggregations.png">
|
|
|
|
|
|
|
|
### Annotations
|
|
### Annotations
|
|
|
|
|
|
|
|
The table can also show any annotations you have enabled in the dashboard.
|
|
The table can also show any annotations you have enabled in the dashboard.
|
|
|
|
|
|
|
|
-<img src="img/docs/v2/table_annotations.png">
|
|
|
|
|
|
|
+<img src="/img/docs/v2/table_annotations.png">
|
|
|
|
|
|
|
|
## The New InfluxDB Editor
|
|
## The New InfluxDB Editor
|
|
|
The new InfluxDB editor is a lot more flexible and powerful. It supports nested functions, like `derivative`.
|
|
The new InfluxDB editor is a lot more flexible and powerful. It supports nested functions, like `derivative`.
|
|
|
It also uses the same technique as the Graphite query editor in that it presents nested functions as chain of function
|
|
It also uses the same technique as the Graphite query editor in that it presents nested functions as chain of function
|
|
|
transformations. It tries to simplify and unify the complicated nature of InfluxDB's query language.
|
|
transformations. It tries to simplify and unify the complicated nature of InfluxDB's query language.
|
|
|
|
|
|
|
|
-<img src="assets/img/blog/v2.6/influxdb_editor_v3.gif">
|
|
|
|
|
|
|
+<img src="/assets/img/blog/v2.6/influxdb_editor_v3.gif">
|
|
|
|
|
|
|
|
In the `SELECT` row you can specify what fields and functions you want to use. If you have a
|
|
In the `SELECT` row you can specify what fields and functions you want to use. If you have a
|
|
|
group by time you need an aggregation function. Some functions like derivative require an aggregation function.
|
|
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 editor tries simplify and unify this part of the query. For example:
|
|
|
|
|
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
|
|
|
|
|
The above will generate the following InfluxDB `SELECT` clause:
|
|
The above will generate the following InfluxDB `SELECT` clause:
|
|
|
|
|
|
|
@@ -110,7 +110,7 @@ You can remove the group by by clicking on the `tag` and then click on the x ico
|
|
|
The new editor also allows you to remove group by time and select `raw` table data. Which is very useful
|
|
The new editor also allows you to remove group by time and select `raw` table data. Which is very useful
|
|
|
in combination with the new Table panel to show raw log data stored in InfluxDB.
|
|
in combination with the new Table panel to show raw log data stored in InfluxDB.
|
|
|
|
|
|
|
|
-<img src="assets/img/blog/v2.6/table_influxdb_logs.png">
|
|
|
|
|
|
|
+<img src="/assets/img/blog/v2.6/table_influxdb_logs.png">
|
|
|
|
|
|
|
|
## Pipeline metrics
|
|
## Pipeline metrics
|
|
|
|
|
|