You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Joerg Hoh (Jira)" <ji...@apache.org> on 2023/07/04 17:42:00 UTC

[jira] [Created] (SLING-11929) PreConditionTimeoutException should be recorded as metrics

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)