mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
* 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