grafana/pkg/services/alerting
Djairho Geuens 4cadbba686
Email: Allow configuration of content types for email notifications (#34530)
* Alerting: Allow configuration of content types for email notifications

* Fix lint error

* Improves email templates

* Improve configuration documentation

Co-authored-by: Diana Payton <52059945+oddlittlebird@users.noreply.github.com>

* Improve code comments

Co-authored-by: Diana Payton <52059945+oddlittlebird@users.noreply.github.com>

* Improve configuration documentation

Co-authored-by: Diana Payton <52059945+oddlittlebird@users.noreply.github.com>

* Improve email template

* Remove unnecessary predeclaration

Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com>

* Adds handling for unrecognized content type

Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com>

* Move utility function outside of util package

* Fixes syntax

* Remove unused package

* Fix lint error

* improve email templates

* Fix test

* Alerting: Allow configuration of content types for email notifications

* Fix lint error

* Improves email templates

* Improve configuration documentation

Co-authored-by: Diana Payton <52059945+oddlittlebird@users.noreply.github.com>

* Improve code comments

Co-authored-by: Diana Payton <52059945+oddlittlebird@users.noreply.github.com>

* Improve configuration documentation

Co-authored-by: Diana Payton <52059945+oddlittlebird@users.noreply.github.com>

* Improve email template

* Remove unnecessary predeclaration

Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com>

* Adds handling for unrecognized content type

Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com>

* Move utility function outside of util package

* Fixes syntax

* Remove unused package

* Fix lint error

* improve email templates

* Fix test

* Fix comment style

Co-authored-by: Ganesh Vernekar <15064823+codesome@users.noreply.github.com>

* Fix template formatting

* Add test and improve error handling

* Fix test

* Fix formatting

* Fix formatting

* Improve documentation and regenerates txt template

* Update docs/sources/administration/configuration.md

Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>

Co-authored-by: Djairho Geuens <djairho.geuens@ae.be>
Co-authored-by: Diana Payton <52059945+oddlittlebird@users.noreply.github.com>
Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com>
Co-authored-by: Ganesh Vernekar <15064823+codesome@users.noreply.github.com>
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>
2021-07-19 13:31:51 +03:00
..
conditions TSDB: add deprecation comments to many tsdb structs (#33281) 2021-04-23 03:03:11 +02:00
notifiers Email: Allow configuration of content types for email notifications (#34530) 2021-07-19 13:31:51 +03:00
testdata Alerting: improve alerting default datasource search when extracting alerts (#29993) 2021-01-07 21:33:17 +01:00
alerting_usage_test.go API: Add by UID routes for data sources (#29884) 2021-01-13 13:16:27 -05:00
alerting_usage.go API: Add by UID routes for data sources (#29884) 2021-01-13 13:16:27 -05:00
engine_integration_test.go pkg/services: Check errors (#19712) 2019-10-22 14:08:18 +02:00
engine_test.go Chore: Enable whitespace linter (#25903) 2020-07-06 20:17:28 +02:00
engine.go Alerting: Disable dash alerting if NG enabled (#33794) 2021-05-10 10:46:01 -04:00
eval_context_test.go Plugins: Requests validator (#30445) 2021-02-03 20:47:45 +01:00
eval_context.go Chore: Use context.Context for the get home dashboard API endpoint (#36735) 2021-07-16 12:40:03 +02:00
eval_handler_test.go Chore: Move tsdbifaces.RequestHandler to plugins.DataRequestHandler (#31897) 2021-03-12 18:26:07 +01:00
eval_handler.go Chore: Move tsdbifaces.RequestHandler to plugins.DataRequestHandler (#31897) 2021-03-12 18:26:07 +01:00
extractor_test.go Alerting: Add checks for non supported units - disable defaulting to seconds (#32477) 2021-04-12 15:53:51 +03:00
extractor.go Chore: Improve save dashboard error messages (#35780) 2021-06-16 14:56:55 +02:00
interfaces.go Chore: Move tsdbifaces.RequestHandler to plugins.DataRequestHandler (#31897) 2021-03-12 18:26:07 +01:00
models.go Chore: Fix various spelling errors in back-end code (#25241) 2020-06-01 17:11:25 +02:00
notifier_test.go Renderer: add version information (#34964) 2021-06-04 14:33:49 +03:00
notifier.go Rendering: add CSV support (#33729) 2021-05-12 17:16:57 +02:00
reader.go Alerting: Log alert warnings for obsolete notifiers when extracting alerts and remove spammy error (#28162) 2020-10-22 14:43:12 +03:00
result_handler.go Chore: Enable errorlint linter (#29227) 2020-11-19 14:47:17 +01:00
rule_test.go Alerting: Add checks for non supported units - disable defaulting to seconds (#32477) 2021-04-12 15:53:51 +03:00
rule.go Alerting: Add checks for non supported units - disable defaulting to seconds (#32477) 2021-04-12 15:53:51 +03:00
scheduler.go Chore/fix lint issues (#27704) 2020-09-22 16:22:19 +02:00
test_notification.go Alerting: Generate random id when testing notification channel (#31844) 2021-03-10 11:24:31 +01:00
test_rule.go Introduce TSDB service (#31520) 2021-03-08 07:02:49 +01:00
ticker_test.go Chore/fix lint issues (#27704) 2020-09-22 16:22:19 +02:00
ticker.go AlertingNG: Create a scheduler to evaluate alert definitions (#29305) 2020-12-17 16:00:09 +02:00