grafana/pkg/tsdb/elasticsearch
Giordano Ricci c88af6e221
Elasticsearch: Add generic support for template variables (#32762)
* Elasticsearch: Add generic support for template variables

* format MovingAverage settings as numbers

* Move formatting logic to query builder & forma serial_diff settings as numbers

* modify presence check

* add todo

* minor fixes

* transform string values to numbers

* Move casting logic

* Slightly cleaner implementation

* Add BE tests

* Leverage elastic validation when string doesn't resolve to a numeric value

* move newly introduced test to testify

* add FE query_builder tests

* check error

* Parse values to float instead of int

* Fix tests & ParseFloat bit size
2021-04-26 16:54:23 +01:00
..
client Elasticsearch: Allow omitting field when metric supports inline script (#32839) 2021-04-14 15:18:06 +01:00
elasticsearch.go TSDB: add deprecation comments to many tsdb structs (#33281) 2021-04-23 03:03:11 +02:00
models.go Elasticsearch: Add Support for Serial Differencing Pipeline Aggregation (#28618) 2021-01-08 11:52:23 +00:00
response_parser_test.go Introduce TSDB service (#31520) 2021-03-08 07:02:49 +01:00
response_parser.go TSDB: add deprecation comments to many tsdb structs (#33281) 2021-04-23 03:03:11 +02:00
time_series_query_test.go Elasticsearch: Add generic support for template variables (#32762) 2021-04-26 16:54:23 +01:00
time_series_query.go Elasticsearch: Add generic support for template variables (#32762) 2021-04-26 16:54:23 +01:00