grafana/pkg/setting
Domas 76df096791
Logging: Log frontend errors (#28073)
* basic frontend  Sentry integration

* backend endpoint to capture sentry events

* WIP!

* log user email for frontend logs

* remove debug logging

* lint fixes

* Fix type exports & property names

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

* additional struct naming fix

* rename log endpoint, config section & interface

* add sentry sample rate to config

* refac to use EchoSrv

* log user id

* backend tests

* tests for SentryEchoBackend

* sentry echo backend tests

* CustomEndpointTransport tests

* Update pkg/api/frontend_logging_test.go

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

* Update conf/defaults.ini

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

* Update pkg/api/frontend_logging_test.go

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

* don't export unnecesasrily

* update go.sum

* get rid of Convey in tests, use stdlib

* add sentry config to sample.ini

* cleanup to set orig logging handler in test

* Apply suggestions from code review

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

* PR feedback changes

* lock sentry version

Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com>
2020-11-12 12:29:43 +01:00
..
testdata Config: Show user-friendly error message instead of stack trace (#16564) 2019-04-25 08:29:07 +02:00
date_formats_test.go setting: Fix tests on Mac (#28886) 2020-11-09 14:39:56 +01:00
date_formats.go setting: Fix tests on Mac (#28886) 2020-11-09 14:39:56 +01:00
dynamic_settings_test.go Settings: Env override support for dynamic settings (#21439) 2020-01-10 15:33:54 +01:00
expanders_test.go Settings: Expand variables in configuration (#25075) 2020-06-10 14:58:42 +02:00
expanders.go Settings: Expand variables in configuration (#25075) 2020-06-10 14:58:42 +02:00
setting_oauth.go OAuth: Removes send_client_credentials_via_post setting (#20044) 2019-12-12 20:00:56 +01:00
setting_plugins_test.go Backend Plugins: Plugin configuration using Grafana config (#23451) 2020-04-14 18:04:27 +02:00
setting_plugins.go Backend Plugins: Plugin configuration using Grafana config (#23451) 2020-04-14 18:04:27 +02:00
setting_quota.go Chore: Enable whitespace linter (#25903) 2020-07-06 20:17:28 +02:00
setting_sentry.go Logging: Log frontend errors (#28073) 2020-11-12 12:29:43 +01:00
setting_session_test.go pkg/setting: Check errors (#19838) 2019-10-22 16:17:49 +02:00
setting_smtp.go Email Notifications: Add StartTLSPolicy config flag (#24574) 2020-05-13 16:33:40 +02:00
setting_test.go gtime: Add ParseDuration function (#28525) 2020-11-02 19:26:19 +01:00
setting.go Logging: Log frontend errors (#28073) 2020-11-12 12:29:43 +01:00