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
66cf224e31
alerting: make alert extractor backwards compatible
...
closes #10270
2017-12-19 11:20:05 +01:00
bergquist
89eda76f29
require dashboard panels to have id
...
closes #9234
2017-09-18 10:32:58 +02:00
Anton Yackushev
bab21c9069
misspell: Corrected some misspelled words
2017-06-05 15:20:34 +03: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
80d438ca49
chore(alerting): removes double logging
2016-12-20 08:34:44 +01:00
bergquist
c138b04c5e
feat(alerting): avoid double logging
2016-11-03 07:25:00 +01:00
utkarshcmu
d009c6b953
Log bad alert config
2016-11-02 18:22:24 -07:00
utkarshcmu
942de5497e
Fixed alert message typo
2016-11-02 18:13:11 -07:00
bergquist
1506df8c11
feat(alerting): parse the interval value from the panel
2016-10-13 11:19:44 +02:00
bergquist
ccee1b3f96
fix(alerting): fix bug with unhandled error
...
closes #6239
2016-10-11 17:37:07 +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
b0c7e61ef8
feat(alerting): removed severity
2016-09-13 15:09:55 +02:00
Torkel Ödegaard
0392fde34e
feat(alerting): doing schema changes
2016-08-15 15:12:43 +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
7eb2d2cf47
feat(alerting): working on state management
2016-07-22 13:14:09 +02:00
Torkel Ödegaard
f6a160b270
feat(alerting): testing alert is starting to work
2016-07-21 13:09:12 +02:00
Torkel Ödegaard
3219d98a92
feat(alerting): starting work on condition evaluation
2016-07-20 09:30:31 +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
0a85efbf18
feat(alerting): add datasource type to settings
2016-06-20 11:44:06 +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
bergquist
7f22b9eb6e
tech(alerting): expression -> settings
2016-06-13 15:18:19 +02:00
Torkel Ödegaard
e3b281dbac
feat(alerting): more work on alerting thresholds
2016-06-12 11:43:18 +02:00
Torkel Ödegaard
77a5e3f14d
feat(alerting): minor fixes
2016-06-11 11:54:46 +02:00
Torkel Ödegaard
382f396247
feat(alerting): more model changes
2016-06-11 10:54:24 +02:00
Torkel Ödegaard
a362984c57
feat(alerting): renamed AlertRuleModel to just Alert, think making a distinction between an Alert and an Alert Rule is just confusing and was a mistake on my part
2016-06-11 10:26:48 +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