George Robinson
eddcdd8d66
Alerting: Fix NoDataFound for alert rules using the AND operator ( #41305 ) ( #41524 )
...
This commit fixes an issue in alerting where NoDataFound is false
when using the AND operator to compare two conditions in an alert
rule and one of the conditions has no data.
(cherry picked from commit d6ed5d295e )
2021-11-11 16:01:23 +00:00
Arve Knudsen
65c1cb62a7
Chore: Move tsdbifaces.RequestHandler to plugins.DataRequestHandler ( #31897 )
...
* Backend: Move tsdbifaces.RequestHandler to plugins.DataRequestHandler
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com >
2021-03-12 18:26:07 +01:00
Arve Knudsen
b79e61656a
Introduce TSDB service ( #31520 )
...
* Introduce TSDB service
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com >
Co-authored-by: Erik Sundell <erik.sundell87@gmail.com >
Co-authored-by: Will Browne <will.browne@grafana.com >
Co-authored-by: Torkel Ödegaard <torkel@grafana.org >
Co-authored-by: Will Browne <wbrowne@users.noreply.github.com >
Co-authored-by: Zoltán Bedi <zoltan.bedi@gmail.com >
2021-03-08 07:02:49 +01:00
Oleg Gaidarenko
75fa1f0207
Metrics: use consistent naming for exported variables ( #18134 )
...
* Metrics: remove unused metrics
Metric `M_Grafana_Version` is not used anywhere, nor the mentioned
`M_Grafana_Build_Version`. Seems to be an artefact?
* Metrics: make the naming consistent
* Metrics: add comments to exported vars
* Metrics: use proper naming
Fixes #18110
2019-07-16 16:58:46 +02:00
Carl Bergquist
bd5bcea5d0
alerting: fix a bunch of lint issues. ( #17128 )
2019-05-20 12:13:32 +02:00
zhulongcheng
2fff8f77dc
move log package to /infra ( #17023 )
...
ref #14679
Signed-off-by: zhulongcheng <zhulongcheng.me@gmail.com >
2019-05-13 08:45:54 +02:00
bergquist
8a3a3cccc3
moves metric package to /infra
...
ref #14679
2019-02-24 21:12:51 +01:00
Thibault Chataigner
38bdb8dfb3
Alerting: move getNewState to EvalContext
...
This fix alert state update when several evaluation attempts are needed
Signed-off-by: Thibault Chataigner <t.chataigner@criteo.com >
2018-03-21 20:59:39 +01:00
bergquist
bf999a4f82
fixes broken alert eval when first condition is using OR
...
closes #9318
2017-12-13 13:37:10 +01:00
bergquist
2f35759346
asscoiate comment with name
2017-10-24 13:40:38 +02:00
bergquist
491e6897e7
metrics: set summary unit
...
we have to use milleseconds since graphite
doesnt support float64
2017-09-14 19:28:54 +02:00
bergquist
2de94d6548
convert old metrics to prom metrics
2017-09-14 14:26:32 +02:00
bergquist
0873d493c2
feat(alerting): moves getNewState to evalHandler
...
closes #7149
2017-01-13 11:02:24 +01:00
huydx
b97f4fd8b9
(typo) Exeuction -> Execution
2016-12-14 12:21:41 +09:00
bergquist
50811c80ea
fix(alerting): fixes bug that prevents noData from triggering
...
closes #6631
2016-11-22 11:47:52 +01:00
Torkel Ödegaard
62e8a039a1
refactor(alerting): refactoring PR for OR conditions, #6579
2016-11-17 15:48:15 +01:00
utkarshcmu
aae33b36dd
Added tests for firingEvaluation string
2016-11-17 01:41:23 -08:00
utkarshcmu
fc82dac868
Added braces to single condition firingEvaluation string
2016-11-17 01:30:50 -08:00
utkarshcmu
690868c837
Added firingEvalution to Rule test
2016-11-17 01:28:17 -08:00
utkarshcmu
dfb1b1918c
Implemented operator based firiing in backend
2016-11-15 06:35:25 -08:00
bergquist
4af420f759
tech(alerting): refactor how evalhandler uses conditions
2016-11-03 17:31:36 +01:00
Carl Bergquist
c38f6ff182
Make alerting notifcations sync ( #6158 )
...
* tech(routines): move the async logic from notification to alerting notifier
* tech(notification): reduce code dupe
* fix(notification): dont touch the response unless its an error
* feat(alerting): make alerting exeuction async but flow sync
* tech(alerting): remove commented code
* tech(alerting): remove unused code
* tech(alerting): fix typo
* tech(alerting): implement Context on EvalContext
* tech(alerting): wait for all alerts to return
* feat(alerting): dont allow alert responses to cancel
* Revert "feat(alerting): dont allow alert responses to cancel"
This reverts commit 324b006c96 .
* feat(alerting): give alerts some time to finish before closing down
2016-10-03 09:38:03 +02:00
bergquist
8cd9225eb6
feat(alerting): increase timeout to 15s
2016-09-26 08:45:55 +02:00
bergquist
583790e650
fix(alering): the crocdile turned on me > <
...
closes #5855
2016-09-09 07:42:07 +02:00
bergquist
acf74cdacc
fix(alerting): change execution time to ms
2016-09-08 10:45:10 +02:00
Torkel Ödegaard
50b41130ca
feat(alerting): fixed s3 upload issue, progress on alerting on null/missing data, updated ini package to get the support for line continuations
2016-09-07 10:11:00 +02:00
bergquist
04690ca920
feat(alerting): add support for retries
...
ref #5855
2016-09-06 15:09:49 +02:00
bergquist
0d7a871223
style(alerting): remove blank lines
2016-09-06 14:57:15 +02:00
bergquist
937726499f
feat(alerting): add global usage metrics for alerting
...
closes #5786
2016-08-11 21:12:46 +02:00
Torkel Ödegaard
01da3f6cb2
feat(alerting): worked on improving slack alerts
2016-07-28 17:03:53 +02:00
Torkel Ödegaard
717cce014b
feat(alerting): refactoring
2016-07-27 17:07:44 +02:00