add a configuration option to init_sentry to disable the error reporting
from logging by sentry.
This can be set via the SWH_SENTRY_DISABLE_LOGGING_INTEGRATION env var.
Defaulti behavior remains unchanged.
Paths
| Differential D7570 Authored by olasd on Apr 13 2022, 4:21 PM.
Details Summary add a configuration option to init_sentry to disable the error reporting This can be set via the SWH_SENTRY_DISABLE_LOGGING_INTEGRATION env var.
Diff Detail
Event TimelineHerald added a reviewer: Reviewers. · View Herald TranscriptApr 13 2022, 4:21 PM2022-04-13 16:21:43 (UTC+2) Comment Actions Build is green Patch application report for D7570 (id=27423)Rebasing onto ab170ca98c... First, rewinding head to replay your work on top of it... Applying: Add support for disabling logging integration in sentry Changes applied before testcommit 80319016e43797027c9bce8a08f46935b41b3443 Author: David Douard <david.douard@sdfa3.org> Date: Wed Apr 13 15:54:50 2022 +0200 Add support for disabling logging integration in sentry add a configuration option to init_sentry to disable the error reporting from logging by sentry. This can be set via the SWH_SENTRY_DISABLE_LOGGING_INTEGRATION env var. Defaulti behavior remains unchanged. See https://jenkins.softwareheritage.org/job/DCORE/job/tests-on-diff/392/ for more details. Harbormaster completed remote builds in B28437: Diff 27423.Apr 13 2022, 4:23 PM2022-04-13 16:23:35 (UTC+2) Comment Actions We also implemented something similar in D7567 but your tests are much better than ours. This revision is now accepted and ready to land.Apr 13 2022, 4:32 PM2022-04-13 16:32:55 (UTC+2)
Comment Actions Build is green Patch application report for D7570 (id=27441)Rebasing onto 5723f00a2a... Current branch diff-target is up to date. Changes applied before testcommit 2b4c89418d27d3431baebbe06dda7886e537e81e Author: David Douard <david.douard@sdfa3.org> Date: Wed Apr 13 15:54:50 2022 +0200 Add support for disabling logging integration in sentry add a configuration option to init_sentry to disable the error reporting from logging by sentry. This can be set via the SWH_SENTRY_DISABLE_LOGGING_INTEGRATION env var. Defaulti behavior remains unchanged. See https://jenkins.softwareheritage.org/job/DCORE/job/tests-on-diff/395/ for more details. Harbormaster completed remote builds in B28456: Diff 27441.Apr 14 2022, 11:06 AM2022-04-14 11:06:56 (UTC+2) Comment Actions Build is green Patch application report for D7570 (id=27443)Rebasing onto 5723f00a2a... Current branch diff-target is up to date. Changes applied before testcommit b9b898e3375374446838c8eda1fe33f64b3d232f Author: Nicolas Dandrimont <nicolas@dandrimont.eu> Date: Thu Apr 14 11:24:26 2022 +0200 Add support for disabling logging-based events in sentry add a configuration option to init_sentry to disable the error reporting from logging by sentry. This can be set via the SWH_SENTRY_DISABLE_LOGGING_EVENTS env var. Default behavior remains unchanged. Co-Authored-By: David Douard <david.douard@sdfa3.org> See https://jenkins.softwareheritage.org/job/DCORE/job/tests-on-diff/396/ for more details. Harbormaster completed remote builds in B28458: Diff 27443.Apr 14 2022, 11:32 AM2022-04-14 11:32:57 (UTC+2) This revision is now accepted and ready to land.Apr 14 2022, 11:52 AM2022-04-14 11:52:58 (UTC+2)
Closed by commit rDCOREb9b898e33753: Add support for disabling logging-based events in sentry (authored by olasd). · Explain WhyApr 14 2022, 1:58 PM2022-04-14 13:58:34 (UTC+2) This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 27423 swh/core/sentry.py
swh/core/tests/test_sentry.py
|
why does that change?