grafana/docs/sources/datasources
Chris Cowan f580c9149c
Elasticsearch: Add Top Metrics Aggregation and X-Pack support (#33041)
* Elasticsearch: Add Top Metrics Aggregation

* Adding support for non-timeseries visualizations

* removing console.logs

* restoring loadOptions type

* Honor xpack setting

* Adding test for elastic_response

* adding test for query builder

* Adding support of alerting

* Fixing separator spelling

* Fixing linting issues

* attempting to reduce cyclomatic complexity

* Adding elastic77 Docker block

* Update public/app/plugins/datasource/elasticsearch/components/QueryEditor/MetricAggregationsEditor/MetricEditor.test.tsx

Co-authored-by: Giordano Ricci <grdnricci@gmail.com>

* refactoring MetricsEditor tests

* Fixing typo

* Change getFields type & move TopMetrics to a separate component

* Fix SegmentAsync styles in TopMetrics Settings

* Fix field types for TopMetrics

* WIP

* Refactoring client side to support multiple top metrics

* Adding tests and finishing go implimentation

* removing fmt lib from debugging

* fixing tests

* reducing the cyclomatic complexity

* Update public/app/plugins/datasource/elasticsearch/elastic_response.ts

Co-authored-by: Giordano Ricci <grdnricci@gmail.com>

* Update public/app/plugins/datasource/elasticsearch/hooks/useFields.ts

Co-authored-by: Giordano Ricci <grdnricci@gmail.com>

* Checking for possible nil value

* Fixing types

* fix fake-data-gen param

* fix useFields hook

* Removing aggregateBy and size

* Fixing go tests

* Fixing TS tests

* fixing tests

* Fixes

* Remove date from top_metrics fields

* Restore previous formatting

* Update pkg/tsdb/elasticsearch/client/models.go

Co-authored-by: Dimitris Sotirakis <dimitrios.sotirakis@grafana.com>

* Update pkg/tsdb/elasticsearch/client/models.go

Co-authored-by: Dimitris Sotirakis <dimitrios.sotirakis@grafana.com>

* Fix code review comments on processTopMetricValue

* Remove underscore from variable names

* Remove intermediate array definition

* Refactor test to use testify

Co-authored-by: Giordano Ricci <grdnricci@gmail.com>
Co-authored-by: Elfo404 <me@giordanoricci.com>
Co-authored-by: Dimitris Sotirakis <dimitrios.sotirakis@grafana.com>
2021-06-04 11:07:59 +01:00
..
google-cloud-monitoring Docs: Add GCM update to what's new (#35211) 2021-06-03 21:25:30 +02:00
influxdb influxdb: docs: add new screenshot (#35156) 2021-06-03 17:05:13 +02:00
_index.md Docs: alertmanager datasource (#34567) 2021-05-28 08:33:30 +03:00
add-a-data-source.md cleanup shortcodes, asset paths (#34826) 2021-05-28 11:27:40 +02:00
alertmanager.md Docs: alertmanager datasource (#34567) 2021-05-28 08:33:30 +03:00
azuremonitor.md Docs: Override content (#34859) 2021-05-28 22:45:00 +02:00
cloudwatch.md cleanup shortcodes, asset paths (#34826) 2021-05-28 11:27:40 +02:00
elasticsearch.md Elasticsearch: Add Top Metrics Aggregation and X-Pack support (#33041) 2021-06-04 11:07:59 +01:00
graphite.md cleanup shortcodes, asset paths (#34826) 2021-05-28 11:27:40 +02:00
jaeger.md cleanup shortcodes, asset paths (#34826) 2021-05-28 11:27:40 +02:00
loki.md Docs: Prometheus metrics browser (#35152) 2021-06-03 13:41:21 -04:00
mssql.md cleanup shortcodes, asset paths (#34826) 2021-05-28 11:27:40 +02:00
mysql.md cleanup shortcodes, asset paths (#34826) 2021-05-28 11:27:40 +02:00
opentsdb.md cleanup shortcodes, asset paths (#34826) 2021-05-28 11:27:40 +02:00
postgres.md cleanup shortcodes, asset paths (#34826) 2021-05-28 11:27:40 +02:00
prometheus.md Move screenshot in docs 2021-06-04 09:51:36 +02:00
tempo.md Add docs for Tempo search (#34526) 2021-06-01 12:07:26 +02:00
testdata.md cleanup shortcodes, asset paths (#34826) 2021-05-28 11:27:40 +02:00
zipkin.md cleanup shortcodes, asset paths (#34826) 2021-05-28 11:27:40 +02:00