Joerg Hoh created SLING-11929:
---------------------------------
Summary: PreConditionTimeoutException should be recorded as metrics
Key: SLING-11929
URL: https://issues.apache.org/jira/browse/SLING-11929
Project: Sling
Issue Type: Task
Components: Content Distribution
Affects Versions: Content Distribution Journal Core 0.1.26
Reporter: Joerg Hoh
When the DistributionSubscribers throws an PreConditionTimeoutException, it is
only logged as an INFO message.
To be able to monitor such situations, this should also be recorded as a
metric, so it is possible to monitor this situation and react accordingly. A
simple gauge returning either 0 (import succesfully) or 1 (running in this
exception) is sufficient.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)