Files
grafana/pkg/tsdb
Grot (@grafanabot) 410d9a96cf Elastic: Allow using long/int as date field for alerts (#44027) (#44115)
* Use integers for time range filter

Previously it was passed as a string which is automatically converted by Elastic to a number only if the field type is "date". For other types (e.g. "long") such conversion doesn't work. In theory "date" could be passed as a formatted string but we don't use it this way and always pass it as a number so it is safe to always pass numbers, not strings.

* Fix time_series_query_test

* Retrigger build

(cherry picked from commit 9fb8339f87)

Co-authored-by: Piotr Jamróz <pm.jamroz@gmail.com>
2022-01-17 16:19:50 +01:00
..