Matt
0dffb6dbb1
Adjusted the border color on the buttons in dashboard nav, fixed alert email text area width, fixed padding-top issue on dashboard settings aside
2018-01-18 14:40:08 +01:00
Robin Burchell
43109dc8ca
telegram: Send notifications with an inline image
...
If image upload is enabled, but there is no public image repository,
fall back to sending an image via telegram's API.
2018-01-11 17:23:50 -05:00
Robin Burchell
b6fcf2b609
telegram: Switch to using multipart form rather than JSON as a body
...
This is a pre-requisite for uploading inline images.
2018-01-11 17:21:43 -05:00
Robin Burchell
a1a9f339bf
telegram: Fix a typo in variable name
2018-01-11 17:21:43 -05:00
bergquist
7917efb31a
pagerduty: fixes invalid default value
...
autoResolve incident checkbox was set to disabled by default but
the backend used enabled as default. This commit makes both use
disabled by defualt
fixes #10222
2017-12-22 10:54:48 +01:00
bergquist
e480a38dc1
pagerduty: adds test for reading auto resolve setting
2017-12-22 09:58:37 +01:00
Carl Bergquist
e2be6a38c4
pushover: update default message
2017-12-19 14:31:26 +01:00
Carl Bergquist
f36aa2e953
Merge branch 'patch-1' of https://github.com/devkid/grafana into devkid-patch-1
...
* 'patch-1' of https://github.com/devkid/grafana :
Add default message for Pushover notifications
2017-12-19 14:30:09 +01:00
bergquist
ade734168c
alertmanager: endAt should only be used if we have the correct value
2017-12-13 19:17:00 +01:00
bergquist
3691faf136
alertmanager: code style
2017-12-13 19:17:00 +01:00
bergquist
1240db31d3
alerting: reduce log level for notifiers
2017-12-13 19:17:00 +01:00
Thibault Chataigner
a8264fe316
Alertmanager notifier: add "metric" labels if no tags
...
Signed-off-by: Thibault Chataigner <t.chataigner@criteo.com>
2017-12-13 19:17:00 +01:00
Thibault Chataigner
3a7939c930
Alertmanager notifier: make it match the new notifier interface
...
Signed-off-by: Thibault Chataigner <t.chataigner@criteo.com>
2017-12-13 19:17:00 +01:00
Mitsuhiro Tanda
20d94f9703
support alertmanager
2017-12-13 19:17:00 +01:00
Thibault Chataigner
fd633a1d5d
Add a per-notifier ShouldNotify()
...
This way we are able to edit notification behavior per notifier.
This would be usefull to let some notifiers send notifications,
even when the state doesn't change, or with custom condition.
Signed-off-by: Thibault Chataigner <t.chataigner@criteo.com>
2017-12-12 17:35:54 +01:00
Alfred Krohmer
72e686457c
Add default message for Pushover notifications
...
If the message field is left empty for Pushover notifications, the API will return an error. This adds a default message if the message would otherwise be empty.
This fixes #8006 .
2017-12-11 22:14:38 +01:00
Daniel Lee
554c7ba96f
notifier: Fixes path for uploaded image for Slack notifier
...
Fixes #10012
2017-11-29 11:16:45 +01:00
bergquist
3bb704144d
teams: removes print statement
2017-11-14 11:05:01 +01:00
Anton Huck
fd2451823b
Add Microsoft Teams notifier
2017-11-14 11:05:01 +01:00
Chris Chandler
204fe007b7
When Messasge field is set for an alert, map it to the output field in a Sensu check result. If Message is empty, send "Grafana Metric Condition Met"
2017-10-17 16:22:56 -05:00
utkarshcmu
da47dc8947
Fixed failing go tests
2017-10-09 18:56:05 -07:00
utkarshcmu
a562dc7c2b
gofmt fixes
2017-10-09 18:27:04 -07:00
utkarshcmu
138bee99ef
Added tests
2017-10-09 18:27:04 -07:00
utkarshcmu
d60339a9b1
Kafka REST Proxy works with Grafana
2017-10-09 18:27:04 -07:00
Carl Bergquist
ab5bc1bf4a
Merge pull request #9111 from eloo/feature/enhance_hipchat_card
...
Feature/enhance hipchat card
2017-10-05 16:11:04 +02:00
Joseph Weigl
6a030b2e8c
Change empty string checks and improve logging
2017-10-05 16:00:55 +02:00
Carl Bergquist
6a20c28c8c
Merge pull request #9399 from cglrkn/master
...
Update script to make it use OpsGenie's REST API
2017-10-05 09:56:27 +02:00
Cagla Arikan
5a3f32521e
Fix formatting issue
2017-10-05 08:42:45 +03:00
Joseph Weigl
7284db0e54
Fix empty message and toolong attribute names
...
Use default state message if no message is provided by the user
Slice attribute name to maximum of 50 chars
2017-10-04 16:07:13 +02:00
cglrkn
548bc6b7c4
Add the missing comma
2017-10-04 10:15:39 +03:00
cglrkn
ef518f6ecd
Build URL for close alert request differently
2017-10-03 15:13:05 +03:00
Matthew McGinn
be0d471467
properly parse & pass upload image bool from config
2017-10-02 23:18:48 -04:00
Matthew McGinn
122e2b5c42
break out slack upload into separate function
2017-10-02 20:48:35 -04:00
cglrkn
d8f6c73aab
Update script to make it use OpsGenie's REST API
...
The script is making API calls to the deprecated OpsGenie Web API, we updated the script to make it use new OpsGenie's REST API.
2017-10-02 16:42:09 +03:00
Matthew McGinn
89ca4b247b
fixing json for CI
2017-10-01 10:37:59 -04:00
Matthew McGinn
00726e93eb
adding support for token-based slack file.upload API call for posting images to slack
2017-09-30 21:20:20 -04:00
Carl Bergquist
8a7f87b752
Merge pull request #9311 from ctrlok/ctrlok/pagerdutyinfo
...
Include triggering metrics to pagerduty alerts (pretty print)
2017-09-29 15:40:49 +02:00
Vsevolod Polyakov
d355862328
Make details more clean in PD description
2017-09-20 13:03:18 +03:00
bergquist
2de94d6548
convert old metrics to prom metrics
2017-09-14 14:26:32 +02:00
Callum Loh
74ddebc8ea
Fix spelling for Hipchat notifier ( #9112 )
2017-08-29 08:08:51 +02:00
Joseph Weigl
81d3ab37c3
Add thumbnail to card
2017-08-24 14:52:23 +02:00
Joseph Weigl
9666f45e9c
Add values to the hipchat card
2017-08-24 13:40:33 +02:00
David Wittman
8f5fbb4254
Fix typo in PagerDuty notifier options template ( #8978 )
2017-08-03 08:57:59 +02:00
Liang Jiameng
f8d22385ce
add a placeholder to DingTalk Url ( #8820 )
2017-07-10 16:51:03 +02:00
0x6875790d0a
a622c55b1b
(feat) Add image to LINE notify ( #8771 )
2017-07-07 11:20:27 +02:00
Liang Jiameng
109fd998ed
Add a new notifier : DingTalk ( #8473 )
...
* add alerting notifier: DingDing
* add alerting notifier: DingDing
* add dingding unit test
* add dingding unit test
* delete debug code & format code style.
* fix build failed: dingding_test.go
2017-07-04 15:16:32 +02:00
Anton Yackushev
bab21c9069
misspell: Corrected some misspelled words
2017-06-05 15:20:34 +03:00
Ricky Moorhouse
665caa8e08
Include triggering metrics to pagerduty alerts
...
Assist the person receiving the alert in identifying the cause
Based on the slack notifier fields this will include upto 4 triggering
metrics in the custom details section in the pagerduty incident
Fixes #8479
2017-05-26 12:30:56 +01:00
Torkel Ödegaard
dcf7385cc1
sensu: added input tooltip to source property
2017-05-24 13:44:38 +02:00
joe miller
090594a0bc
support setting the source and handler attribute in sensu notifications ( #8405 )
...
* support setting the handler attribute in sensu alert notifications
* allow the user to set the source attribute of Sensu notifications
2017-05-24 13:42:24 +02:00
Dave Scott
f7215608e9
Update VictorOps notifier w/ auto resolve and image URL ( #8431 )
...
* Fixed newline JSON buy in VictorOps integration
* Fixed payload sent to VictorOps so that link displays correctly
* Fixed formatted to resolve go error
* Add auto resolve incidents and image URL to VictorOps notifier
2017-05-21 10:02:48 +02:00
Dan Cech
9dc220b8e2
include error message in email notification ( #8392 )
2017-05-17 09:51:51 +02:00
Daniel Schmitz
d123b951e9
Fixed parsing error
2017-04-19 17:02:52 +08:00
Daniel Schmitz
7078d5d524
Added metrics/matches to telegram notifications; Added some HTML to beautify
2017-04-19 15:53:23 +08:00
Alfred Krohmer
41171f8a5c
Add a link to a graph image in Pushover notifications ( #8075 )
2017-04-10 09:17:37 +02:00
Jaroslav Hanslík
e91a078105
Slack notification should contain fallback text ( #7961 )
2017-03-28 10:05:44 +02:00
Andrzej Ressel
1bf982439b
Sending image
2017-03-23 21:53:54 +01:00
Andrzej Ressel
5f3b7eaa45
Discord integration
2017-03-22 23:28:55 +01:00
Daniel Lee
69bec98962
chore: update all grafana.org urls to .com
2017-03-21 15:37:55 +01:00
Pandurang Waghulde
f3cce7efc9
typo fix for OpsGenie
2017-03-17 12:57:52 +05:30
Wouter Smit
125ee865b6
Spelling mistake ( #7739 )
2017-03-06 21:08:45 +01:00
Danilo Bargen
1422655e97
feat(alerting): Add emoji to Threema alert notifications
...
This commit prepends emoji to Threema alert notifications to make it
easier to discern various notification types (e.g. alert, no data, ok).
2017-02-27 17:10:52 +01:00
Carl Bergquist
5d3da99806
Merge pull request #7482 from dbrgn/master
...
Alerting: Add Threema Gateway integration
2017-02-24 07:40:36 +01:00
Carl Bergquist
bef216b6f4
Merge pull request #7526 from Mic92/master
...
Add Pushover alert notifications
2017-02-24 07:32:59 +01:00
bergquist
bd010289b2
alerting: images in alert notifications is now optional
...
its now possible to turn of image uploading in alert notifications
for those who operate on very sensitive data.
closes #7419
2017-02-15 14:17:36 +01:00
Jörg Thalheim
f069aae576
Add Pushover alert notifications
...
Pushover is a service for getting real-time
notifications on your mobile devices and desktop
computers: https://pushover.net
2017-02-10 22:44:33 +01:00
bergquist
00549f393c
style(hipchat): improves code style
2017-02-08 11:24:49 +01:00
James Regovich
53942f7987
Adding HipChat Notifier
2017-02-07 10:50:49 -06:00
Danilo Bargen
689f5cb686
feat(alerting): Text formatting for Threema alert messages
2017-02-07 11:14:57 +01:00
Danilo Bargen
d1a5d9c15c
feat(alerting): Add Threema Gateway integration
...
This commit adds alerting support for Threema Gateway. It supports all
Simple IDs (managed by the Gateway server).
More information can be found on https://gateway.threema.ch/
2017-02-07 11:14:57 +01:00
Stanislav Vetlovskiy
0e892e9f86
Add image url to telegram alert notifier
...
If public image url of alert is exist add it to the telegram message
2017-01-31 16:47:14 +03:00
Stanislav Vetlovskiy
bd4eadf69c
#7383 Fix factory typo in telegram notifier ( #7406 )
2017-01-31 06:23:19 +01:00
bergquist
46e4a54a6e
style: go fmt with simplify
2017-01-27 15:21:02 +01:00
huydx
376d2d56bf
(feature) add LINE notify to notifier
2017-01-19 17:26:53 +09:00
Lee Briggs
2e796da441
Add support for sensu notifications ( #7207 )
2017-01-11 13:57:07 +01:00
Mark Theisen
afda9cbb2d
Fix webhook username mismatch
...
Fixing variable name mismatch so that the Authorization HTTP header is added to webhook notifications.
2017-01-09 17:18:53 +01:00
Torkel Ödegaard
b8f559aecb
feat(plugins): made notifiers more pluggable and easier to support many of them, new ones can now be added without modifying any existing file, #7162
2017-01-06 12:04:25 +01:00
Mikhail Leonov
e32a653cb6
Added Telegram Messenger notification destination
2016-12-30 15:57:12 +03:00
bergquist
c467e48940
feat(notifications): removes html escaping subject
...
closes #6905
2016-12-15 14:27:33 +01:00
huydx
015fa82cf5
fix(alert): alert test should return error when it failed to dispatch
2016-12-12 18:22:58 +09:00
Kyle McCullough
4ef940482c
alerting: add support for OpsGenie
2016-12-06 14:48:13 -06:00
bergquist
9dd6cf45ac
feat(webhook): adds alert rule message to webhook
...
close #6807
2016-12-02 22:24:36 +01:00
bergquist
83e90325c9
chore(victorops): remove unused code
2016-11-29 22:26:42 +01:00
ichekrygin
acc729131a
Add VictorOps Test.
2016-11-16 16:14:02 -08:00
ichekrygin
8f0d51171d
Resolve rebase w/ upstream conflicts.
...
Remove: `Alert on Exec Error` (no longer needed)
Add: `ruleUrl` to VictorOps message body.
2016-11-16 16:13:33 -08:00
ichekrygin
bbca9861fb
Fix return on nil
and cleanup debug messages
2016-11-16 14:02:34 -08:00
ichekrygin
b46cbc5fbe
Add option to alert on ExecutionError
2016-11-16 14:02:34 -08:00
ichekrygin
b0620a9d4b
Add VictorOps alert notification capability
2016-11-16 14:02:34 -08:00
bergquist
eb34855adb
feat(pagerduty): add support for auto resolve
...
closes #6513
2016-11-08 20:38:38 +01:00
utkarshcmu
610ea090dc
Send test notification fixed
2016-11-08 11:22:03 -08:00
bergquist
5542b0ab9e
tech(pagerduty): sync calls should be using context
2016-11-08 20:05:43 +01:00
Torkel Ödegaard
fd09f17cd3
docs(): alerting docs, #6490
2016-11-08 14:53:28 +01:00
bergquist
66f257e382
tech(pagerduty): make api call sync
2016-11-08 07:51:19 +01:00
bergquist
7bc80d0374
tech(pagerduty): declare url as constant
2016-11-08 07:50:58 +01:00
utkarshcmu
5549d8658a
Fixed description message
2016-11-07 07:27:31 -08:00
utkarshcmu
f8d1eb11a9
Removed ExecError state
2016-11-07 07:12:43 -08:00
utkarshcmu
4b53ea0a56
Fixed pagerduty tests
2016-11-07 07:08:52 -08:00
utkarshcmu
638d3bcb42
Removed NoData option
2016-11-07 07:08:51 -08:00
utkarshcmu
de0fa3d479
Added pagerduty tests
2016-11-07 07:08:51 -08:00
utkarshcmu
df8cd764b2
Added trigger options with Pagerduty
2016-11-07 07:08:51 -08:00
utkarshcmu
139bbecc10
Added Pagerduty basic alerting
2016-11-07 07:08:51 -08:00
utkarshcmu
dc3a62da83
Added slack tests , fixed webhook tests
2016-11-04 06:05:44 -07:00
utkarshcmu
2f60929d1e
Added slack mention functionality
2016-11-04 06:05:44 -07:00
bergquist
f0d9d133c6
tech(slack): format code using gofmt
2016-11-04 07:55:15 +01:00
utkarshcmu
95117a0bc9
Added message parsing functionality
2016-10-31 14:55:21 -07:00
utkarshcmu
80fdd830de
Added override default recipient functionality
2016-10-31 14:46:51 -07:00
Torkel Ödegaard
4999fff29b
fix(alerting): fixed email notification so it splits email address multiple ways, fixes #6353
2016-10-22 10:24:31 +02:00
bergquist
f77799837e
feat(alerting): support for attached graphs in alert notifications
...
closes #6183
2016-10-21 09:06:03 +02:00
bergquist
ded5a0a9d5
tech(alerting): remove unused code
2016-10-21 09:05:54 +02:00
bergquist
6ea0f0120e
feat(notifications): switch to ; seperator
...
using \n caused problems with the json deserialisation.
closes #6326
2016-10-19 16:34:12 +02:00
bergquist
d1eceedf55
feat(webhook): add httpmethod to webhook
...
closes #6255
2016-10-18 16:50:16 +02:00
bergquist
3162e680c2
tech(notifiers): improve logging for notifications
...
ref #6228
2016-10-11 10:15:41 +02:00
bergquist
d726f49a8c
fix(notification): broken test notifications
...
ref #6159
2016-10-03 17:03:21 +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
bergquist
effd2098ee
feat(alerting): fixes broken image renderer
2016-09-26 10:51:45 +02:00
Torkel Ödegaard
f5809c0209
fix(build): trying to fix build
2016-09-13 20:14:18 +02:00
Torkel Ödegaard
8c30babdf1
feat(alerting): fixed build issues
2016-09-13 16:24:00 +02:00
Torkel Ödegaard
b0c7e61ef8
feat(alerting): removed severity
2016-09-13 15:09:55 +02:00
bergquist
55b560a4a8
feat(alerting): filter notifications based on severity
...
closes #5851
2016-09-06 14:27:48 +02:00
bergquist
7ddd625e9d
feat(alerting): add slack/email support for execution errors
2016-08-31 15:55:01 +02:00
bergquist
3b8bba3e9f
feat(alerting): add more fields to webhook
2016-08-22 15:11:27 +02:00
bergquist
9915f15ed0
feat(alerting): adds sql layer for saving execution errors
2016-08-17 07:49:14 +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
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
d6fdb598b0
fix(alerting): gofmt
2016-08-08 14:46:47 +02:00
Torkel Ödegaard
357358898d
feat(annotations): working on alert annotations, #5694
2016-08-01 10:07:00 +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
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