analytics/.github
Uku Taht 2b8e3ea62a
Use finch in sentry client (#1996)
* Introduce Finch for Sentry integration

* Make sure the DummyAgent can be started

* No need to sanitize the dsn, finch takes care of that

* Simplify the dummy child spec

* Annotate redirects clause

* Make use of new `get_int_from_path_or_env`

* Actually use finch in Sentry config

* Configure `excluded_domains` correctly for Sentry

The way sentry is configured currently, when we get an HTTP error it
will be logged twice - once from Sentry.PlugCapture and once from
Sentry.LoggerBackend. The logger backend module does the right thing
by default but for some reason we've been overriding the config
parameter that by default stops double-counting errors. This commit
returns to the default configuration which is better.

* Default to 15s timeout

* Attempt to send twice at most

* Warn in sentry client

* Use warn level in sentry client

Co-authored-by: Adam Rutkowski <hq@mtod.org>
2022-07-08 11:14:52 +03:00
..
ISSUE_TEMPLATE Create config.yml 2022-05-24 09:35:00 +02:00
workflows Use finch in sentry client (#1996) 2022-07-08 11:14:52 +03:00
FUNDING.yml Add funding badge 2020-07-17 21:10:46 +03:00
PULL_REQUEST_TEMPLATE.md Add dark mode to PR template 2021-12-20 11:27:24 +02:00