Ryan McKinley
f23f50f58d
Expressions: Add model struct for the query types (not map[string]any) ( #82745 )
2024-02-17 02:59:11 +02:00
Marcus Efraimsson
0128d0403f
Tracing: Use tracing.InitializeTracerForTest ( #75479 )
2023-09-27 09:51:57 +02:00
Yuri Tseretyan
40c12c17bf
SSE: Reduce to add warning notice to only the first result ( #74940 )
2023-09-15 11:07:17 -04:00
Yuri Tseretyan
68eda133e4
SSE: Reduce to apply Mode to instant vector (mathexp.Number) ( #74859 )
2023-09-14 12:26:00 -04:00
Ryan McKinley
025b2f3011
Chore: use any rather than interface{} ( #74066 )
2023-08-30 18:46:47 +03:00
Kyle Brandt
840fb32ad8
SSE: (Instrumentation) Add Tracing ( #66700 )
...
spans are prefixed `SSE.`
2023-04-18 08:04:51 -04:00
Serge Zaitsev
0bdb105df2
Chore: Remove xorcare/pointer dependency ( #63900 )
...
* Chore: remove pointer dependency
* fix type casts
* deprecate xorcare/pointer library in linter
* rooky mistake
2023-03-06 05:23:15 -05:00
Santiago
e5920c211e
Chore: Fix random indices for slices in test files ( #61884 )
...
* Fix random indices for slices in test files
* Empty commit
2023-01-24 15:07:37 -03:00
Yuri Tseretyan
ef6d73e575
SSE: Resample command to support NoData ( #61708 )
...
* add test for nil value
2023-01-18 12:39:38 -05:00
Yuriy Tseretyan
2d20c8db7b
Chore: Expression engine to support relative time range ( #57474 )
...
* make TimeRange interface and add relative range
* make Execute methods support the current time
* update resample to support relative time range
* update DSNode to support relative time range
* update query service to create queries with absolute time
* make alerting evaluator create relative time ranges
2022-10-26 16:13:58 -04:00
George Robinson
7d20766ae9
Alerting: Fix mathexp.NoData cannot be reduced ( #55347 )
...
This commit fixes a bug where queries from datasources such as InfluxDB that returned no data would not create a DatasourceNoData alert, but instead an error "can only reduce type series, got type noData".
2022-09-21 10:01:51 +01:00
Kyle Brandt
01ef899753
SSE/Alerting: Support prom instant vector responses ( #44865 )
...
* SSE/Alerting: (Draft) Support prom instant vector responses
fixes #35663
* reduce\classic expressions to handle mathexp.Number
* use Notice for warning
Co-authored-by: Yuriy Tseretyan <yuriy.tseretyan@grafana.com>
2022-05-23 10:08:14 -04:00
Kyle Brandt
040ce40113
SSE: Mode to drop NaN/Inf/Null in Reduction operations ( #43583 )
...
Co-authored-by: Yuriy Tseretyan <yuriy.tseretyan@grafana.com>
Co-authored-by: gillesdemey <gilles.de.mey@gmail.com>
2022-02-02 14:50:44 +01:00