bergquist
ec14fa58b5
alerting: add count_non_null reducer
...
makes it possible to have a second condition requering
at least X points of data.
2017-10-13 09:47:10 +02:00
coral
68ed4d45fa
change pdiff to percent_diff for conditions
2017-09-29 18:14:17 +08:00
coral
9e48d54465
add diff and pdiff for conditions
2017-09-29 17:20:02 +08:00
bergquist
ed661767f8
follow go idiom and return error as second param
2017-09-21 18:04:16 +02:00
bergquist
0229d28d64
remove unused structs
2017-09-21 15:02:17 +02:00
bergquist
057b8a6b2d
improve error message for timeouts
...
closes #9220
2017-09-11 20:07:57 +02:00
Andrei Burd
3222677493
Datasource Print the received error ( #9043 )
2017-08-16 16:56:51 +02:00
bergquist
3827c0a69c
tech(alerting): adds tags to alerting data model
2017-02-06 14:59:29 +01:00
bergquist
c05bc0cb17
chore(vet): fixes invalid fmt.Sprintf format
2017-02-05 21:19:39 +01:00
Torkel Ödegaard
d354f3a8af
fix(alerting): fixed evaluation for no_value condition, fixes #7244 ( #7247 )
...
* fix(alerting): fixed evaluation for no_value condition, fixes #7244
* feat(alerting): moving null library into grafana, fixing handling on no value / no series
2017-01-13 12:32:30 +01:00
Torkel Ödegaard
5ec7dea81a
Merge branch 'v4.0.x'
2016-12-12 14:39:53 +01:00
bergquist
dd3060fdc3
feat(alerting): calculate avg of valid points
2016-12-07 15:55:37 +01:00
bergquist
2bdd2a59cb
test(alerting): improve naming for test scenario
2016-12-07 15:19:58 +01:00
Carl Bergquist
2c7adccf12
Use cache for http.client in tsdb package. ( #6833 )
...
* datasource: move caching closer to datasource struct
* tsdb: use cached version of datasource http transport
closes #6825
2016-12-07 11:10:42 +01:00
bergquist
6c9cf87080
feat(alerting): calculate avg of valid points
2016-12-02 23:44:14 +01:00
bergquist
bdfb773a98
fix(alerting): fixes broken no_value evaluator
...
closes #6701
2016-11-27 16:53:29 +01:00
bergquist
6882dcfb99
feat(alerting): add backend support for median reducer
2016-11-22 14:09:35 +01:00
Torkel Ödegaard
62e8a039a1
refactor(alerting): refactoring PR for OR conditions, #6579
2016-11-17 15:48:15 +01:00
utkarshcmu
dfb1b1918c
Implemented operator based firiing in backend
2016-11-15 06:35:25 -08:00
utkarshcmu
841fb74b39
Reversed loop for last function
2016-11-07 23:16:57 -08:00
utkarshcmu
74632b5e98
Added last function for alerting conditions
2016-11-07 23:16:57 -08:00
bergquist
4af420f759
tech(alerting): refactor how evalhandler uses conditions
2016-11-03 17:31:36 +01:00
bergquist
ff5d4e8e0c
fix(alerting): temp fix for broken AND condition
...
This should be refactored. lets return condition results instead
of setting new value on the evalContext. The condition execution
should only be able to update its own state.
closes #6449
2016-11-03 07:18:39 +01:00
Torkel Ödegaard
b8b577eafb
fix(spelling): minor spelling fix in alerting code
2016-10-12 09:17:48 +02:00
bergquist
f609623abd
style(influxdb): tidy up code
2016-10-10 11:34:52 +02:00
bergquist
d8aa38fafe
tech(influxdb): refactor and cleanup
2016-10-06 14:16:26 +02:00
bergquist
d726f49a8c
fix(notification): broken test notifications
...
ref #6159
2016-10-03 17:03:21 +02:00
bergquist
653a0502c4
tech(tsdb): add jsondata to tsdb datasource struct
2016-10-03 14:31:33 +02: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
Torkel Ödegaard
8d5857661e
refactor(tsdb): changed tsdb time series model to use null.Float instead of pointers
2016-09-28 09:15:48 +02:00
Torkel Ödegaard
63caedb094
Merge branch 'master' of github.com:grafana/grafana
2016-09-28 08:09:51 +02:00
Torkel Ödegaard
3ecd96e682
feat(testdata): lots of work on new test data data source and scenarios
2016-09-27 18:17:39 +02:00
Torkel Ödegaard
34f15d92d0
feat(testdata): worked on testdata app
2016-09-27 14:39:51 +02:00
bergquist
887e236bce
fix(rule): fixes rule reading bug
2016-09-26 10:01:33 +02:00
bergquist
b856d7e193
fix(prometheus): remove timerange from context
2016-09-21 13:55:42 +02:00
bergquist
c084145cba
refactor(prometheus): add timerange to alert context
2016-09-21 13:46:10 +02:00
bergquist
4c88db3e43
feat(prometheus): add support for legend formatting
2016-09-21 11:17:29 +02:00
bergquist
43d8bd5a25
feat(prometheus): initial support for prometheus
2016-09-21 07:01:53 +02:00
bergquist
77783c02cd
fix(alerting): dont log null series
...
closes #6025
2016-09-16 14:59:54 +02:00
bergquist
7b9099ef93
fix(query): requires all that all series are empty to set NoDataFound
2016-09-08 14:33:10 +02:00
bergquist
9511f89a22
fix(alerting): fixes bug in query conditions
2016-09-08 13:28:41 +02:00
bergquist
bec099cd84
tech: remove unused files
2016-09-08 11:41:56 +02:00
bergquist
592ae5a39a
tests(alerting): fixes broken tests. pointers and stuff 🤷
2016-09-07 17:05:41 +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
Torkel Ödegaard
fbae6abb3c
feat(alerting): progress on handling no data in alert query, #5860
2016-09-06 20:40:12 +02:00
bergquist
c0697b99d6
fix(alerting): adds support for basic auth
...
closes #5897
2016-08-29 15:50:11 +02:00
bergquist
77f9c24050
feat(alerting): add support for count reducer
2016-08-22 13:25:31 +02:00
bergquist
def4632f08
test(alerting): add falsification test
2016-08-18 14:13:39 +02:00
bergquist
d28df71c3b
feat(alerting): add support for "no_value" evaluator
2016-08-18 11:44:25 +02:00
Torkel Ödegaard
5cf9711862
feat(alerting): added eval match to test results
2016-08-18 11:22:24 +02:00