bergquist
583790e650
fix(alering): the crocdile turned on me > <
...
closes #5855
2016-09-09 07:42:07 +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
Torkel Ödegaard
b8081b29fd
Merge branch 'master' into grafana-annotations
2016-09-08 11:26:55 +02:00
Torkel Ödegaard
d60bd77658
feat(annotations): added support to show grafana stored annotations in graphs, #5982
2016-09-08 11:25:45 +02:00
bergquist
acf74cdacc
fix(alerting): change execution time to ms
2016-09-08 10:45:10 +02:00
bergquist
592ae5a39a
tests(alerting): fixes broken tests. pointers and stuff 🤷
2016-09-07 17:05:41 +02:00
bergquist
c769148701
Merge branch 'emails'
2016-09-07 13:52:16 +02:00
bergquist
59cb51dc6f
test(emails): update fake data model
2016-09-07 13:47:57 +02:00
bergquist
712061ab4f
test(alerting): fixes broken unit tests
2016-09-07 11:45:38 +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
fc8f0721cd
Merge branch 'master' of github.com:grafana/grafana
...
Conflicts:
pkg/services/alerting/eval_context.go
2016-09-06 20:40:49 +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
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
55b560a4a8
feat(alerting): filter notifications based on severity
...
closes #5851
2016-09-06 14:27:48 +02:00
bergquist
2ca7284a56
tech(notifications): splitt into 3 queries
...
closes #5883
2016-09-06 08:43:15 +02:00
bergquist
c893e5d241
feat(notifications): add support for default notifications
...
ref #5883
2016-09-05 21:35:37 +02:00
bergquist
d11bc57c37
feat(notifications): make it possible to send test alert notifications
...
closes #5847
2016-09-05 14:45:15 +02:00
Torkel Ödegaard
4c5461d4ba
feat(alerting): alerting scheduling distribution, only distibutes it on seconds for now, not sub second distribution, #5854
2016-09-05 14:26:08 +02:00
bergquist
7ddd625e9d
feat(alerting): add slack/email support for execution errors
2016-08-31 15:55:01 +02:00
bergquist
4619a05f43
feat(alerting): save execution error message to annotations
2016-08-31 14:06:54 +02:00
bergquist
c624f3d470
fix(alerting): measure state result instead of severity
2016-08-31 11:55:35 +02:00
bergquist
11a4ff0f8a
feat(alerting): add basic UI for history in alert tab
...
ref #5850
2016-08-30 13:22:59 +02:00
bergquist
650a87dc05
feat(alerting): add alert history api endpoint
...
ref #5850
2016-08-30 09:32:56 +02:00
bergquist
c0697b99d6
fix(alerting): adds support for basic auth
...
closes #5897
2016-08-29 15:50:11 +02:00
bergquist
d0ca4ca3cd
chore(alerting): remove unused files
2016-08-22 17:01:23 +02:00
bergquist
3b8bba3e9f
feat(alerting): add more fields to webhook
2016-08-22 15:11:27 +02:00
bergquist
77f9c24050
feat(alerting): add support for count reducer
2016-08-22 13:25:31 +02:00
bergquist
26c6437846
Merge branch 'master' into alerting
2016-08-22 12:27:08 +02:00
bergquist
c663e32ea8
Merge branch 'database_url' of https://github.com/Scalingo/grafana into Scalingo-database_url
2016-08-19 13:15:44 +02:00
bergquist
d3421c671c
fix(alerting): make sure xorm can reset execution_error
2016-08-18 17:25:32 +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
09cdf3e9e1
feat(alerting): show execution errors in alert list
2016-08-18 11:37:35 +02:00
Torkel Ödegaard
5cf9711862
feat(alerting): added eval match to test results
2016-08-18 11:22:24 +02:00
Torkel Ödegaard
902314d3a1
Merge branch 'alerting' of github.com:grafana/grafana into alerting
2016-08-18 09:04:00 +02:00
Torkel Ödegaard
75a6c2b612
feat(alerting): added validation that checks valid data source and checks for template variables in graphite query, #5841
2016-08-18 09:03:46 +02:00
bergquist
6d080904fa
tech(alerting): empty string does not update database
2016-08-17 22:13:27 +02:00
bergquist
4154a4066f
feat(alerting): handle all results, even due they have errors
...
DON'T SWALLOW THE ERR CARL
2016-08-17 22:12:08 +02:00
Torkel Ödegaard
63a283b4bc
feat(alerting): working on alert state filters for alert list
2016-08-17 11:00:00 +02:00
bergquist
6497b307c4
feat(alerting): save execution error upon state changed
2016-08-17 09:27:29 +02:00
bergquist
9915f15ed0
feat(alerting): adds sql layer for saving execution errors
2016-08-17 07:49:14 +02:00
Torkel Ödegaard
434332f02d
feat(alerting): changed fontsize in alert list
2016-08-16 21:26:54 +02:00
Torkel Ödegaard
15c11fdb54
Merge branch 'alerting' of github.com:grafana/grafana into alerting
2016-08-16 16:51:24 +02:00
Torkel Ödegaard
0b7fa3c19d
feat(alerting): minor progress on alert list, #5784
2016-08-16 16:50:36 +02:00
bergquist
c7cb93a33a
style(alerting): improve codestyle for evaluators
2016-08-16 12:44:31 +02:00
bergquist
fb7f2ae2e2
feat(alerting): adds within_range and outside_range evaluators
...
closes #5829
2016-08-16 12:37:07 +02:00
bergquist
b5d92b6191
test(alerting): fix broken tests
2016-08-16 12:37:07 +02:00
Torkel Ödegaard
6b90587d27
feat(alerting): fixing failing go unit test
2016-08-16 10:22:16 +02:00
Torkel Ödegaard
f934081bcb
feat(alerting): making progress on alerting list, #5784
2016-08-16 09:52:45 +02:00
Torkel Ödegaard
9f29c54170
Merge branch 'query_part_refactor' into alerting
...
Conflicts:
pkg/services/sqlstore/migrations/alert_mig.go
pkg/services/sqlstore/migrations/heartbeat_mig.go
2016-08-15 17:54:42 +02:00
Torkel Ödegaard
1418cbbd8b
feat(query_part): refactoring query part
2016-08-15 17:20:45 +02:00
Torkel Ödegaard
0392fde34e
feat(alerting): doing schema changes
2016-08-15 15:12:43 +02:00
bergquist
fb7a6c0764
feat(alerting): list all series in alert email
2016-08-13 12:50:51 +02:00
bergquist
c4e905474a
feat(alerting): improve email notifications layout
2016-08-13 11:24:03 +02:00
Torkel Ödegaard
74dbd7fb36
feat(alerting): disable visual thresholds while alert is enabled
2016-08-12 13:19:06 +02:00
bergquist
1dcae464fe
chore(notifications): remove commented test
2016-08-12 10:17:21 +02:00
bergquist
16e75a3036
feat(alerting): add alert message to slack integration
2016-08-12 10:12:04 +02:00
bergquist
937726499f
feat(alerting): add global usage metrics for alerting
...
closes #5786
2016-08-11 21:12:46 +02:00
bergquist
cb6fd4ca78
test(alerting): fixes broken unit test
2016-08-11 16:55:08 +02:00
bergquist
99e99922b4
feat(alerting): add support for uploading images to webdav.
...
closes #5770
2016-08-11 16:48:54 +02:00
bergquist
95c1a4a936
feat(alerting): implement more simple reducers
2016-08-10 14:06:17 +02:00
bergquist
f2436fc7cd
test(alerting): add tests for simple reducer
2016-08-10 13:52:15 +02:00
bergquist
d6fdb598b0
fix(alerting): gofmt
2016-08-08 14:46:47 +02:00
Torkel Ödegaard
1edd224168
feat(alerting): fixing failing unit tests
2016-08-01 14:34:58 +02:00
Torkel Ödegaard
357358898d
feat(annotations): working on alert annotations, #5694
2016-08-01 10:07:00 +02:00
Torkel Ödegaard
3b69c8f687
feat(alerting): new design for alert tab with sidemenu
2016-07-31 09:31:32 +02:00
Torkel Ödegaard
2b276d5cd1
feat(alerting): working on alert notification and image rendering
2016-07-30 13:36:21 +02:00
Torkel Ödegaard
4fc50742a0
feat(alerting): working on image rendering with alert notifications
2016-07-29 14:55:02 +02:00
Torkel Ödegaard
f9a28d3306
feat(alerting): slack notification improvements, #5679
2016-07-29 13:41:42 +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
Torkel Ödegaard
6aaf4c97a2
feat(alerting): refactoring conditions out to seperate package
2016-07-27 16:18:10 +02:00
Torkel Ödegaard
ae5f8a76d9
feat(alerting): lots of progress on notifications, refactored them out to their own package, restored webhook notitication and added slack notification
2016-07-27 12:09:55 +02:00
Torkel Ödegaard
0d9b98da6d
feat(alerting): progress on email notifications
2016-07-26 12:29:52 +02:00
Torkel Ödegaard
6cb1dafb1d
feat(alerting): progress on notifications
2016-07-25 16:26:28 +02:00
Torkel Ödegaard
8df558dece
feat(notifications): refactoring notification handling
2016-07-25 13:52:17 +02:00
Torkel Ödegaard
14eba30f63
feat(alerting): more work on notifications
2016-07-23 11:50:48 +02:00
Torkel Ödegaard
a6c6094775
feat(alerting): started reworking notifications
2016-07-22 16:45:17 +02:00
Torkel Ödegaard
7eb2d2cf47
feat(alerting): working on state management
2016-07-22 13:14:09 +02:00
Torkel Ödegaard
783d697529
feat(alerting): more output when testing alert
2016-07-21 21:54:12 +02:00
Torkel Ödegaard
b073fe0eba
feat(alerting): more work on handling result and saving state
2016-07-21 17:31:46 +02:00
Torkel Ödegaard
f0fc336e88
feat(alerting): worked on alert condition eval tests
2016-07-21 16:19:28 +02:00
Torkel Ödegaard
f6a160b270
feat(alerting): testing alert is starting to work
2016-07-21 13:09:12 +02:00
Torkel Ödegaard
9e91aacd34
feat(alerting): progress on testing alerts
2016-07-21 10:29:11 +02:00
Torkel Ödegaard
fb636344a6
feat(alerting): began work on testing alert rule from UI without having to save it
2016-07-20 16:13:36 +02:00
Torkel Ödegaard
0ce55600bb
feat(alerting): progress on alerting backend
2016-07-20 14:28:02 +02:00
Torkel Ödegaard
3219d98a92
feat(alerting): starting work on condition evaluation
2016-07-20 09:30:31 +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
Torkel Ödegaard
f60efed5d8
feat(alerting): progress on refactoring backend alert rule model
2016-07-19 17:45:37 +02:00
Torkel Ödegaard
20fcffb71e
feat(alerting): working on alerting conditions model
2016-07-19 16:15:26 +02:00
Torkel Ödegaard
0f555d6ab5
fix(alerting): minor fix
2016-07-19 09:28:49 +02:00
Torkel Ödegaard
f13b869aa4
feat(alerting): work on alerting
2016-07-14 13:32:16 +02:00
Torkel Ödegaard
624cd6fc0a
feat(alerting): cleanup, removed alert changes table and code
2016-07-13 11:58:55 +02:00
Torkel Ödegaard
d9096110f8
Merge branch 'master' into alerting
...
Conflicts:
pkg/api/dashboard.go
pkg/models/dashboards.go
pkg/services/sqlstore/dashboard.go
2016-07-11 18:28:07 +02:00
Torkel Ödegaard
68a8d9bc91
feat(apps): more work on plugin dashboard sync
2016-07-08 13:41:46 +02:00
Torkel Ödegaard
85be7dd902
feat(apps): progress on app dashboard sync
2016-07-08 12:26:51 +02:00
Torkel Ödegaard
d44325affd
feat(apps): progress on app dashboard imports
2016-07-08 09:35:06 +02:00
Torkel Ödegaard
b62f1f00cd
feat(apps): auto update dashboard dashboards, #5529
2016-07-07 18:11:03 +02:00
bergquist
4fc16c36ed
feat(alerting): saves new state when alert updates
2016-06-29 00:05:48 +02:00
Soulou
03d0f11407
Accept URL parameter [database] config
2016-06-28 15:31:34 +02:00
bergquist
6bf42dde18
tech(alerting): remove some logging
2016-06-27 01:27:30 +02:00
bergquist
48e1a17ac2
feat(alerting): remove dummie values from email notifier
2016-06-23 16:30:12 +02:00
bergquist
6121d15ba7
feat(alerting): more aggressive requirements for parsing alertrules
2016-06-23 16:08:18 +02:00
bergquist
8b05af2f90
feat(alerting): add exeuction time to alertResult
2016-06-23 15:52:45 +02:00
bergquist
f95be63c43
feat(alerting): move response handling to seperate file
2016-06-23 12:57:10 +02:00
bergquist
67197d54f9
feat(alerting): add triggeredAlerts as json to alert_state
2016-06-23 11:14:40 +02:00
bergquist
488b42377b
feat(alerting): update state if not been updated for 15min
2016-06-23 11:03:27 +02:00
bergquist
925806df87
tech(alerting): add recovery logging
2016-06-22 13:43:11 +02:00
bergquist
7952723b71
feat(alerting): add warn/crit filter
2016-06-22 08:09:45 +02:00
bergquist
b5a29b6246
test(alerting): add tests for when to send notifcations
2016-06-22 07:58:30 +02:00
bergquist
6edae37ac9
feat(alerting): rename state response method
2016-06-22 07:23:31 +02:00
bergquist
5d62c84a19
feat(alerting): adds default checkbox to ui
2016-06-20 16:19:15 +02:00
bergquist
fa309ec925
feat(alerting): add default notification group
2016-06-20 15:24:48 +02:00
bergquist
0a85efbf18
feat(alerting): add datasource type to settings
2016-06-20 11:44:06 +02:00
bergquist
96e5ad3f5c
Merge branch 'alerting' into alerting_notifications
2016-06-20 10:45:05 +02:00
bergquist
dd8c3d0355
Merge branch 'master' into alerting
2016-06-20 10:44:48 +02:00
bergquist
4c4164bb40
test(alerting): adds test email creater
2016-06-20 07:49:08 +02:00
bergquist
adea539b8d
feat(alerting): add link to panel png
2016-06-17 16:43:14 +02:00
bergquist
ea4b14ac22
feat(alerting): rename critical -> crit
2016-06-17 16:40:48 +02:00
bergquist
212fd27252
feat(alerting): add support for email notifications
2016-06-17 15:30:17 +02:00
bergquist
774add94c1
feat(alerting): skip warn check if crit is triggered
2016-06-17 15:24:17 +02:00
Torkel Ödegaard
305a6ae110
feat(dashboards): dashboard sharing fixes
2016-06-17 11:36:35 +02:00
Torkel Ödegaard
10daf1d63a
Revert "Enable the "limit" param in /api/search"
...
This reverts commit 3d77685108
.
2016-06-17 11:22:39 +02:00
bergquist
90e3d8afda
Merge branch 'alerting' into alerting_notifications
2016-06-17 09:55:58 +02:00
bergquist
c96108226c
fix(alerting): use alert frequency
2016-06-17 09:55:42 +02:00
bergquist
764c58ba8d
Merge branch 'alerting' into alerting_notifications
2016-06-17 09:54:38 +02:00
bergquist
9481fcb830
fix(alerting): use alert frequency
2016-06-17 09:54:11 +02:00
bergquist
ebada26b85
Merge branch 'alerting' into alerting_notifications
2016-06-17 08:27:58 +02:00
bergquist
e8a324c7f5
feat(alerting): add frequency back to alert model
2016-06-17 08:27:38 +02:00
bergquist
a0418da160
Merge branch 'alerting' into alerting_notifications
2016-06-16 16:49:16 +02:00
bergquist
8ec311ade4
Merge branch 'master' into alerting
2016-06-16 16:29:41 +02:00
bergquist
3c4d2b8ca1
feat(alerting): add basic body for webhooks
2016-06-16 16:25:23 +02:00
bergquist
6705efef6f
feat(alerting): make some settings properties required
2016-06-16 16:18:40 +02:00
bergquist
b907ce341c
feat(alerting): enables deletes for alert notifications
2016-06-16 15:21:44 +02:00
bergquist
00fc2e2593
test(alerting): fixes broken unittest
2016-06-16 09:09:09 +02:00
bergquist
72e23bca5f
tech(alerting): improve/cleanup logging
2016-06-16 08:56:19 +02:00
bergquist
4d03e04172
feat(alerting): enable email notifiter
2016-06-16 08:29:49 +02:00
bergquist
2e809cae05
tech(alerting): enforce POST for webhooks
2016-06-16 08:16:16 +02:00
bergquist
efea3bc9cb
feat(alerting): skeleton commit for webhook
2016-06-16 08:16:16 +02:00
bergquist
a3b7ea7704
feat(alerting): skeleton for alert notification configuration page
2016-06-16 08:16:16 +02:00
bergquist
4c5d2d6079
style(alerting): remove unused code
2016-06-16 08:16:16 +02:00
bergquist
b9b65cf2d4
tech(alerting): add logging about failed notifications
2016-06-16 08:16:16 +02:00
bergquist
9a8416416d
feat(alerting): converter for db model to notification
2016-06-16 08:16:16 +02:00
bergquist
6eca26e8ec
style(alerting): improve formating
2016-06-16 08:16:16 +02:00
bergquist
dbf3795aaf
feat(alerting): add sql layer for alert notifications
2016-06-16 08:16:16 +02:00
bergquist
8b91e57ef6
feat(alerting): notification query
2016-06-16 08:16:16 +02:00
Torkel Ödegaard
ec0b09450c
Merge branch 'export-dashboard'
...
Conflicts:
conf/defaults.ini
pkg/setting/setting.go
public/app/core/components/grafana_app.ts
public/app/core/core.ts
public/app/features/dashboard/dashboardCtrl.js
2016-06-16 08:06:43 +02:00
bergquist
779ea55ee0
style(alerting): rename executor -> handler
2016-06-15 11:49:20 +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
bergquist
0d60b042c8
style(alerting): revemo commented code
2016-06-13 14:57:24 +02:00
bergquist
ca33622698
style(alerting): rename max retries
2016-06-13 14:54:06 +02:00
bergquist
3ad90c389c
style(alerting): improve naming
2016-06-13 14:01:57 +02:00
bergquist
04436c8a52
test(alerting): make sure the worst state is captured
2016-06-13 13:45:26 +02:00
bergquist
6cb4bdd6cb
feat(alerting): adds a result list to alertresult
...
Since one query can return multiple series we might be
interested in getting the result for each serie
2016-06-13 11:44:47 +02:00
bergquist
1e41eb8c97
tech(alerting): remove frequency from alert model
2016-06-13 10:42:36 +02:00
bergquist
94f059838c
feat(alerting): implemention duration parser
2016-06-13 10:40:46 +02:00
bergquist
2cf72715fb
test(alerting): fixes broken unit tests
2016-06-13 09:33:14 +02:00
Torkel Ödegaard
9216492d55
Merge branch 'alert_handles' into alert_ui_take2
...
Conflicts:
pkg/services/alerting/commands.go
2016-06-13 07:53:13 +02:00
bergquist
77746f277d
chore(alerting): move transformers to seperate package
2016-06-13 07:46:54 +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
66c2594262
feat(alerting): sql update fixes
2016-06-11 14:08:55 +02:00
Torkel Ödegaard
71c1c0ab65
feat(alerting): trying to get things to work with new model
2016-06-11 13:49:11 +02:00
Torkel Ödegaard
0ef6801117
Merge branch 'master' into alert_ui_take2
2016-06-11 12:17:14 +02:00
Torkel Ödegaard
77a5e3f14d
feat(alerting): minor fixes
2016-06-11 11:54:46 +02:00
Torkel Ödegaard
086b59483e
feat(loggin): disable logging by default so unit tests are not full of logging
2016-06-11 11:38:25 +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
bergquist
1fa9ae810b
test(alerting): enable disabled tests
2016-06-10 15:49:23 +02:00
bergquist
83c422e6ef
feat(alerting): implement transform objects
2016-06-10 15:31:17 +02:00
bergquist
ea8fb66f73
test(alerting): fixes broken unittests
2016-06-10 13:47:54 +02:00
bergquist
8cd1d17916
feat(alerting): new alerting model\
2016-06-10 13:15:16 +02:00
bergquist
0c69c5afb1
test(alerting): fixes broken unittests
2016-06-10 11:37:03 +02:00
bergquist
ef35184a80
feat(alerting): rename alertrule model to alertruleDAO
2016-06-10 10:00:00 +02:00
bergquist
fdf051ad5a
feat(alerting): begin alert rule storage refactoring
2016-06-09 22:21:28 +02:00
bergquist
1e4761854e
Merge branch 'alerting_definitions' into alert_ui_take2
2016-06-09 13:03:40 +02:00
bergquist
66d47a9303
tech(alerting): go vet fix
2016-06-09 10:49:25 +02:00
Torkel Ödegaard
dee5f582d7
Merge branch 'master' into alerting_definitions
2016-06-09 10:45:16 +02:00
bergquist
544073b7e1
feat(alerting): make sure saved alerts are valid
2016-06-09 10:27:23 +02:00
bergquist
a1f97e0b77
feat(alerting): add heartbeat writer
2016-06-09 10:00:34 +02:00
Torkel Ödegaard
a66027830b
Merge branch 'alerting_definitions' of github.com:grafana/grafana into alerting_definitions
2016-06-08 09:42:31 +02:00
Torkel Ödegaard
26d93d7130
Merge branch 'master' into alerting_definitions
2016-06-08 09:36:50 +02:00
Carl Bergquist
fe5673134f
Merge pull request #5292 from Thib17/master
...
Enable the "limit" param in /api/search
2016-06-08 09:19:58 +02:00
bergquist
366fb11416
style(alerting): add fmt fixes
2016-06-08 08:50:11 +02:00
Torkel Ödegaard
b25cb60259
Merge branch 'new-logger'
...
Conflicts:
CHANGELOG.md
2016-06-08 08:09:59 +02:00
Zdenek Styblik
5eceabf810
fix(): Check Organization exists before User is added ( #5302 )
...
Commit adds a check whether Organization exists before User is added to
the organization.
Fixes #3151 .
2016-06-08 05:46:21 +02:00
Torkel Ödegaard
93fdc18fd4
feat(logging): fixed dependencies
2016-06-07 15:59:50 +02:00
bergquist
8d4aa5d114
test(alerting): update dashboard json
2016-06-07 15:52:33 +02:00
Torkel Ödegaard
e4ea24dfc4
Merge branch 'new-logger' into alerting_definitions
...
Conflicts:
pkg/services/sqlstore/migrations/migrations_test.go
2016-06-07 15:51:22 +02:00
Torkel Ödegaard
73b0e6c37b
feat(logging): disable migrator logging during test
2016-06-07 15:50:16 +02:00
Torkel Ödegaard
3289225b77
feat(alerting): fixed test issues
2016-06-07 14:51:53 +02:00
Torkel Ödegaard
8105ec4660
feat(alerting): fixed test issues
2016-06-07 14:27:56 +02:00
Torkel Ödegaard
0d9c9526b9
feat(alerting): fixed graphite log issue
2016-06-07 13:47:22 +02:00
Torkel Ödegaard
0667d73660
Merge branch 'new-logger' into alerting_definitions
...
Conflicts:
pkg/api/api.go
pkg/setting/setting.go
2016-06-07 13:31:56 +02:00
Torkel Ödegaard
a02cf5beb7
feat(logging): added loging filters
2016-06-07 12:11:41 +02:00
Torkel Ödegaard
9741af2031
feat(logging): progress on new logging #4590
2016-06-07 09:29:47 +02:00
Torkel Ödegaard
22778e6efd
feat(logging): a lot of progress on moving to new logging lib, #4590
2016-06-06 23:06:44 +02:00
Thibault Chataigner
3d77685108
Enable the "limit" param in /api/search
2016-06-06 16:15:20 +00:00
Torkel Ödegaard
34e17f7282
feat(alerting): requests looks to be working again
2016-06-06 17:11:46 +02:00
Torkel Ödegaard
d1acfb4494
feat(alerting): minor progress
2016-06-06 14:24:14 +02:00
Torkel Ödegaard
7a34c129fe
feat(alerting): things are compiling and tests pass
2016-06-06 13:50:47 +02:00
Torkel Ödegaard
0cbf4ae773
feat(alerting): began work on splitting scheduler into scheduler and engine
2016-06-06 11:56:58 +02:00
Torkel Ödegaard
a191b9b1cf
feat(alerting): moved alerting models back to alerting package, models is more for storage dtos
2016-06-06 10:31:21 +02:00
Torkel Ödegaard
70cb8400c3
feat(alerting): changed name of root Alerts nav item and page from Alerts to Alerting
2016-06-06 09:17:29 +02:00
Karl
2f5ae85d33
Initial patch for grafana/grafana#4267 ( #5280 )
2016-06-06 07:15:37 +02:00
bergquist
6a49d4ed6b
feat(alerting): remove orgid from alertrule query
2016-06-03 15:24:53 +02:00
bergquist
2cf797b567
tech(alerting): minor refactoring and code style
2016-06-03 15:01:42 +02:00
bergquist
5bbfe39f84
tech(alerting): replace goreq with native http
2016-06-03 11:38:56 +02:00
bergquist
9c7e6a2133
feat(alerting): add basic auth support for graphite
2016-06-03 11:07:55 +02:00
bergquist
eab81a7781
style(alerting): go lint fixes
2016-06-03 09:11:20 +02:00
bergquist
50d98b161c
feat(alerting): adds support for retries
2016-06-03 09:04:20 +02:00
bergquist
68f01d57d3
tech(alerting): use range in loops when possible
2016-06-03 08:44:22 +02:00
bergquist
cc65dd8bcf
tech(alerting): use pointers for updating alertjobs
2016-06-03 08:33:53 +02:00
bergquist
910253bc42
tech(alerting): remove datasource ref from alertjob
2016-06-03 07:40:47 +02:00
bergquist
0bea0cc5b9
feat(alerting): add interface for alert backend
2016-06-02 16:34:25 +02:00
bergquist
69229211b2
fix(alerting): move backend to seperate file
2016-06-01 11:25:29 +02:00
bergquist
4e1f801f6c
feat(alerting): add serie name to failed alert description
2016-05-31 21:02:26 +02:00
bergquist
76758d270f
feat(alerting): set basic description text of status ok
2016-05-31 20:03:15 +02:00
bergquist
7c3dbe2a38
chore(alerting): move aggregations into alerting package
2016-05-31 15:29:56 +02:00
bergquist
7224ea5229
chore(alerting): convert alert levels to float
2016-05-31 14:18:12 +02:00
bergquist
338fdcb576
feat(alerting): add copy of AlertRule to AlertResult
2016-05-31 13:27:12 +02:00
bergquist
d1daa2c817
style(alerting): give better info about actual value
2016-05-30 19:21:28 +02:00
bergquist
b75631e021
chore(alerting): move alert result to models
2016-05-30 19:08:04 +02:00
bergquist
1498db11a9
feat(alerting): extracts alert rule reading
2016-05-30 18:52:38 +02:00
bergquist
c5c261e955
feat(alerting): improve spacing in alerting tab
2016-05-30 17:50:35 +02:00
bergquist
3d5c27df91
test(alerting): add tests for multi serie checks
2016-05-30 14:58:32 +02:00
bergquist
411568351d
feat(alerting): revert operand positions
2016-05-30 14:47:59 +02:00
bergquist
077be210da
tech(alerting): change interval -> frequency
2016-05-30 09:31:05 +02:00
bergquist
16a9e56eca
tech(alerting): change queryrange to int from str
2016-05-30 09:18:22 +02:00
bergquist
51511dd654
feat(alerting): save alert state
2016-05-30 09:03:14 +02:00
Torkel Ödegaard
0d4c76a029
feat(import): save gnetId for dashbards imported from grafana.net
2016-05-27 16:42:32 +02:00
bergquist
e80000ce94
tech(alerting): skip if operator does not exist
2016-05-27 15:53:18 +02:00
bergquist
1f990da5c3
tech(alerting): use the timeseries ctor function
2016-05-27 15:51:34 +02:00
bergquist
22d8723c1d
feat(alerting): generelize aggregator functions
2016-05-27 15:17:48 +02:00
bergquist
abc1ae3956
feat(alerting): add timeserie aggregation functions
2016-05-27 14:59:13 +02:00
bergquist
205afd7212
style(alerting): remove some logging
2016-05-27 12:13:09 +02:00
bergquist
422234d03a
feat(alerting): abstract graphite from executor
2016-05-27 12:06:41 +02:00
bergquist
3d66ec816d
chore(alerting): minor refactoring
2016-05-27 10:34:44 +02:00
bergquist
8ac635b631
style(alerting): change const names
2016-05-26 07:41:23 +02:00
bergquist
957cb407c5
feat(alerting): naiv graphite executor
2016-05-25 17:21:20 +02:00
bergquist
b2a4d8083e
feat(alerting): add datasource ref to alert rule
2016-05-25 12:57:49 +02:00
bergquist
0f58f8a679
feat(alerting): add timeout handler for check execution
2016-05-24 10:30:39 +02:00
bergquist
448ee5812c
feat(alerting): make sure the map contains the responding alert
2016-05-24 07:24:45 +02:00
bergquist
7229fb7a76
tech(alerting): change from array to map
2016-05-23 17:04:57 +02:00
bergquist
77ec575b46
tech(alerting): fixes broken unit-tests
2016-05-23 14:51:41 +02:00
bergquist
9d500df2bb
chore(alerting): remove redundant code
2016-05-23 14:36:24 +02:00
bergquist
9f8c67e352
feat(alerting): only start unfinnished jobs
2016-05-23 14:14:02 +02:00
bergquist
cb21bf41b0
tech(alerting): split code into different files
2016-05-23 12:15:36 +02:00
bergquist
b496b6a252
test(alerting): add test for alertjob selection
2016-05-23 12:04:34 +02:00
bergquist
4fce82344e
feat(alerting): async exeuction on a shoestring
2016-05-23 11:47:41 +02:00
bergquist
f95fa51322
feat(alerting): make rule execution async
2016-05-23 11:17:07 +02:00
bergquist
a7fcb3a2cc
feat(alerting): add dummie executor
2016-05-23 10:59:28 +02:00
bergquist
f05cae23d2
feat(alerting): alert rule selector
2016-05-23 10:07:04 +02:00
bergquist
411178d384
tech(alerting): disable feature toggle
...
this feature toggle caused migration tests to fail
2016-05-23 08:24:10 +02:00
bergquist
45b2b4bc52
feat(alerting): add feature toggles for alerting functions
2016-05-23 08:00:42 +02:00
bergquist
9d016a2756
feat(alerting): add migration for create and update
2016-05-20 14:23:24 +02:00
Torkel Ödegaard
c133a00125
feat(alerting): minor progress on scheduler
2016-05-17 14:31:52 +02:00
bergquist
8dbb5bad4b
test(alerting): fix broken unit tests
2016-05-16 16:20:28 +02:00
Torkel Ödegaard
77b7cdfadb
feat(alerting): added few fields to alert rule
2016-05-16 15:39:09 +02:00
Torkel Ödegaard
495404ef73
Merge branch 'master' into alerting_definitions
2016-05-16 14:12:56 +02:00
Anton Chevychalov
c6744925c4
Add new parameter to config: default_theme.
2016-05-12 18:21:11 +03:00
bergquist
1bb8bc58b8
feat(alerting): add parameteters for filtering alerts
2016-05-10 09:45:56 +02:00
bergquist
b2cf2e877a
test(alerting): improve unit test
2016-05-09 15:19:11 +02:00
bergquist
1be513fabd
feat(alerting): add support for alert page filter
2016-05-09 14:44:44 +02:00
bergquist
47070f2d1f
chore(alerting): struct names and url refactoring
2016-05-09 11:25:21 +02:00
bergquist
27274f37e8
feat(alerting): update paths for alert state
2016-05-06 14:37:41 +02:00
bergquist
26941284da
feat(alerting): add limit and since id options for alert logs
2016-05-04 09:57:53 +02:00
bergquist
1624dc9dfd
feat(alerting): separate operator and level
2016-05-03 17:31:04 +02:00
bergquist
b606d9b7da
test(alerting): fixes broken test
2016-05-02 16:27:02 +02:00
bergquist
743a6fa37c
feat(alerting): add support for deleting alert rules
2016-05-02 16:07:19 +02:00
bergquist
bd30a4d23e
Merge branch 'master' into alerting_definitions
2016-04-28 16:04:28 +02:00
bergquist
f442adca47
feat(alerting): adds api endpoints for alerts per dashboard and panel
2016-04-28 15:13:42 +02:00
woodsaj
ad8dbbb559
allow updates to secureJsonData.
...
SecureJsonData is stored as a json object in the DB. As the
secureJsonData is never returned to the user they are unable
to provide the full json object when performing updates instead
the user can only provide the specific keys they wish to update.
This commit ensures that only the provided keys are updated and
existing keys in the secureJsonData object are left untouched.
2016-04-28 18:39:23 +08:00
bergquist
1f414c1372
test(alerting): add test that validates rule updates do not change state
2016-04-28 11:47:14 +02:00
bergquist
ecfbc2edca
feat(alerting): adds alert history page
2016-04-28 11:42:03 +02:00
bergquist
0f0fa0c257
feat(alerting): adds endpoint for getting alert states log
2016-04-28 10:59:46 +02:00
bergquist
3ecc13506c
feat(alerting): adds alert state go ui
2016-04-28 08:53:34 +02:00
bergquist
1631673485
feat(alerting): dont change state when updating alert definitions
2016-04-28 08:42:51 +02:00
bergquist
e7be7d2835
feat(alerting): add api endpoint for alert state
2016-04-28 08:23:50 +02:00
bergquist
44dd98e277
tech(alerting): rename alerting sql server
2016-04-27 09:25:11 +02:00
bergquist
7041169ffb
feat(alerting): add datasource name field
2016-04-27 09:06:19 +02:00
bergquist
973db1ac38
feat(alerting): add api route for alert changes
2016-04-27 08:59:33 +02:00
bergquist
9b50313f11
feat(alerting): add api endpoints for listing alerts
2016-04-26 17:36:50 +02:00
bergquist
996eec3ce2
tech(alerting): refactored save alerts code
2016-04-26 16:31:13 +02:00
bergquist
3ef2be13df
feat(alerting): move alert deletion to alert code
2016-04-26 15:48:29 +02:00
bergquist
25f6ec8b53
feat(alerting): add support for alert_rule updates
2016-04-25 16:18:28 +02:00
bergquist
c83af353b2
feat(alerting): renames alert table to alert_rule
2016-04-25 14:42:24 +02:00
bergquist
f167ce19ab
test(alerting): add test for deleting alerts
2016-04-25 13:00:05 +02:00
bergquist
bdd3e2ad73
Merge branch 'master' into alerting_definitions
2016-04-25 11:22:35 +02:00
Torkel Ödegaard
97656d65ec
db(dashboard): minor fix for dashboard delete
2016-04-25 11:22:13 +02:00
bergquist
5d5999561a
test(dashboard): add failing test for deleting dashboards
2016-04-25 08:46:15 +02:00
bergquist
44310921b5
test(alerting): add commented failed test
2016-04-25 08:34:48 +02:00
bergquist
03e6fc951f
feat(alerting): delete alerts when dashboard gets deleted
2016-04-23 14:14:18 +02:00