Commit Graph
15 Commits
Author SHA1 Message Date
Domas e6a98ce1e4 Alerting: bootstrap silences page (#32810) 2021-04-09 13:44:26 +03:00
Domas 7c3a528d35 fix url query parser treating empty string as a number (#32825) 2021-04-09 11:23:08 +03:00
Domas 33a4cfde51 Alerting: temporarily add old ng routes (#32770) 2021-04-08 12:52:43 +03:00
Domas ad5b838130 Chore: delete accidentally added file (#32735)
This was commited by accident and noone noticed. Sorry 🙇‍♂️
2021-04-07 09:47:37 +03:00
Domas a56293142a Alerting: unified alerting frontend (#32708) 2021-04-07 08:42:43 +03:00
Domas 0779dab0de NgAlerting: loki & cortex have different prom & ruler endpoint prefixes (#32344) 2021-03-29 08:55:09 +03:00
Domas c479ca0161 RoutingNG: fix locationSrv.update when query is provided (#31978) 2021-03-15 11:02:45 +02:00
Domas 3bc9f78d76 Logging: add frontend logging helpers to @grafana/runtime package (#30482) 2021-02-23 13:02:45 +02:00
Domas 5c9a10d423 Logging: sourcemap transform asset urls from CDN in logged stacktraces (#31115) 2021-02-11 11:00:55 +02:00
Domas 21817055bd Logging: sourcemap support for frontend stacktraces (#30590) 2021-02-04 08:37:28 +02:00
Domas d5a31fa52e Plugins: prevent app plugin from rendering with wrong location (#30017) 2021-01-06 09:31:20 +02:00
Domas 70d68c156d Logging: log frontend errors caught by ErrorBoundary, including component stack (#29345)
* log component stack on error boundary

* test for error boundary

* PR feedback fixes
2020-12-10 10:50:37 +01:00
7d9a528184 Logging: rate limit fronted logging endpoint (#29272)
Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com>
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>
2020-12-09 16:22:24 +01:00
Domas 3423ef864c respect fronted-logging.enabled flag (#29107) 2020-11-17 08:49:39 +01:00
DomasandArve Knudsen 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