Add log timers around all outbound communications.
Review Request #14372 — Created March 18, 2025 and updated
From time to time, network issues or service outages can cause slow or
blocked communication, which can be difficult to diagnose.To help diagnose these problems, rbintegrations now logs the time taken
for all outbound communications with third-party services, escalating
the logs to warnings or critical errors if the service takes too long to
respond.Errors encountered during this time are logged with the same trace ID
that the timing logs use.Since the new logging functionality used for this does not exist in
Review Board 7.0.x or older, a backport oflog_timed()
is provided in
rbintegrations.util.compat.logs
. This module is considered internal
and will go away when we can rely on the modern support.
All unit tests pass.
Summary | ID |
---|---|
c0846059228cfd9aee09350ae234fc374e03202e |
Description | From | Last Updated |
---|---|---|
Can we move this outside the log_timed block? |
|