Torkel Ödegaard
ec4698fb96
alerting: propagate alert validation issues to the user instead of just 'invalid alert data' message
2018-10-12 23:03:54 -07:00
Marcus Efraimsson
d2f31a716f
remove unnecessary conversions
2018-07-04 12:16:39 +02:00
Daniel Lee
68833fa978
dashboard: allow alerts to be saved for new/provisioned dashboards
...
This changes the logic for the alert validation in the extractor. Validation
is executed twice, once before attempting to save the alerts and once after
saving the dashboard while saving the alerts to the db. The first validation
will not require that the alert has a dashboard id which allows new dashboards
with alerts to be saved.
Fixes #11247
2018-03-28 11:32:05 +02:00
bergquist
be7ec310b1
alerting: supports extracting alerts from collapsed panels
...
collapsed rows wrap the hidden rows within itself. This caused
the extractor to miss the panel and therefore delete the alert
accosiated with the graph.
closes #11222
2018-03-14 11:23:16 +01:00
Daniel Lee
d96fbb486f
alerting: fixes validation error when saving alerts in dash
...
If a panelId in the dashboard json is set to zero then the validation
silently fails. Instead of returning an error, it just ignores alerts and
saves the dashboard.
2018-03-07 16:20:05 +01:00
Carl Bergquist
644c2f7fb0
test: remove unused code
2017-12-19 11:23:21 +01:00
Carl Bergquist
66cf224e31
alerting: make alert extractor backwards compatible
...
closes #10270
2017-12-19 11:20:05 +01:00
Carl Bergquist
1816e89730
alerting: move test json into files
2017-12-19 10:22:26 +01:00
bergquist
35232a77e6
removes unused properties
...
the dsType property caused some confusion about what datasource is
beeing used. I just removed it since it not beeing used.
closes #10072
2017-12-05 08:26:43 +01:00
bergquist
89eda76f29
require dashboard panels to have id
...
closes #9234
2017-09-18 10:32:58 +02:00
Carl Bergquist
c43bb7fb99
Extractor should not modify dashboard json ( #7256 )
...
* test(dashboard): tests that he extractor does not modify original json
* feat(extractor): validate a cloned version of the dashboard json
2017-01-13 15:46:23 +01:00
bergquist
1506df8c11
feat(alerting): parse the interval value from the panel
2016-10-13 11:19:44 +02:00
Torkel Ödegaard
7c339f0794
feat(alerting): show alertin state in panel header, closes #6136
2016-09-30 17:37:47 +02:00
Torkel Ödegaard
8c30babdf1
feat(alerting): fixed build issues
2016-09-13 16:24:00 +02:00
bergquist
16e75a3036
feat(alerting): add alert message to slack integration
2016-08-12 10:12:04 +02:00
Torkel Ödegaard
717cce014b
feat(alerting): refactoring
2016-07-27 17:07:44 +02:00
Torkel Ödegaard
6aaf4c97a2
feat(alerting): refactoring conditions out to seperate package
2016-07-27 16:18:10 +02:00
Torkel Ödegaard
f872d5cfa3
feat(alerting): more refactoring work in backend code
2016-07-19 22:36:59 +02:00
Torkel Ödegaard
2a30baef05
feat(alerting): progress on updating extractor to work with new alert model
2016-07-19 21:00:41 +02:00
bergquist
6121d15ba7
feat(alerting): more aggressive requirements for parsing alertrules
2016-06-23 16:08:18 +02:00
bergquist
e8a324c7f5
feat(alerting): add frequency back to alert model
2016-06-17 08:27:38 +02:00
bergquist
777ca4cd7d
style(alerting): rename level.level to level.value
2016-06-15 11:39:25 +02:00
Torkel Ödegaard
dac8b35a1a
feat(alerting): renamed scheduler to handler
2016-06-13 15:58:22 +02:00
Torkel Ödegaard
e3b281dbac
feat(alerting): more work on alerting thresholds
2016-06-12 11:43:18 +02:00
Torkel Ödegaard
1500c0e954
feat(alerting): alert threshold handles progress
2016-06-11 22:33:02 +02:00
Torkel Ödegaard
382f396247
feat(alerting): more model changes
2016-06-11 10:54:24 +02:00
Torkel Ödegaard
2b4a9954b1
feat(alerting): progress on alerting UI and model, refactoring of dashboard parser and tests into extractor component, moved tests from sqlstore to alerting package
2016-06-11 10:13:33 +02:00