grafana/pkg/tsdb
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
..
azuremonitor TSDB: add deprecation comments to many tsdb structs (#33281) 2021-04-23 03:03:11 +02:00
cloudmonitoring TSDB: add deprecation comments to many tsdb structs (#33281) 2021-04-23 03:03:11 +02:00
cloudwatch TSDB: add deprecation comments to many tsdb structs (#33281) 2021-04-23 03:03:11 +02:00
elasticsearch Elasticsearch: Add generic support for template variables (#32762) 2021-04-26 16:54:23 +01:00
graphite TSDB: add deprecation comments to many tsdb structs (#33281) 2021-04-23 03:03:11 +02:00
influxdb TSDB: add deprecation comments to many tsdb structs (#33281) 2021-04-23 03:03:11 +02:00
interval Introduce TSDB service (#31520) 2021-03-08 07:02:49 +01:00
loki TSDB: add deprecation comments to many tsdb structs (#33281) 2021-04-23 03:03:11 +02:00
mssql TSDB: add deprecation comments to many tsdb structs (#33281) 2021-04-23 03:03:11 +02:00
mysql TSDB: add deprecation comments to many tsdb structs (#33281) 2021-04-23 03:03:11 +02:00
opentsdb TSDB: add deprecation comments to many tsdb structs (#33281) 2021-04-23 03:03:11 +02:00
postgres TSDB: add deprecation comments to many tsdb structs (#33281) 2021-04-23 03:03:11 +02:00
prometheus TSDB: add deprecation comments to many tsdb structs (#33281) 2021-04-23 03:03:11 +02:00
sqleng TSDB: add deprecation comments to many tsdb structs (#33281) 2021-04-23 03:03:11 +02:00
tempo TSDB: add deprecation comments to many tsdb structs (#33281) 2021-04-23 03:03:11 +02:00
testdatasource TestData: support boolean and strings in CSV metric response (#33099) 2021-04-20 11:17:06 -07:00
request_test.go TSDB: add deprecation comments to many tsdb structs (#33281) 2021-04-23 03:03:11 +02:00
service.go TSDB: add deprecation comments to many tsdb structs (#33281) 2021-04-23 03:03:11 +02:00
time_range_test.go Chore: Enable whitespace linter (#25903) 2020-07-06 20:17:28 +02:00
time_range.go Introduce TSDB service (#31520) 2021-03-08 07:02:49 +01:00