sling-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "A. J. David Bosschaert (Jira)" <>
Subject [jira] [Closed] (SLING-8764) A metric named commons.scheduler.oldest.running.job.millis already exists
Date Mon, 10 Feb 2020 09:54:00 GMT


A. J. David Bosschaert closed SLING-8764.

> A metric named commons.scheduler.oldest.running.job.millis already exists
> -------------------------------------------------------------------------
>                 Key: SLING-8764
>                 URL:
>             Project: Sling
>          Issue Type: Bug
>          Components: Commons
>            Reporter: Miroslav Beranič
>            Assignee: Stefan Egli
>            Priority: Minor
>             Fix For: Commons Scheduler 2.7.6
>          Time Spent: 2h 10m
>  Remaining Estimate: 0h
> GaugesSupport throws an exception when activation happens after first time, as metrics
do not get unregistered from the MetricRegistry.
> Method @Deactivate should be updated to unregister registered metric at the @Activate
> There seems to be already some-kind of metric-name tracking, but do not know what is
the useage. So I've created "quick&easy" solution, to track registered metric names and
use this name array at the @Deactivate to unregister metric names.
> I will provide PR at the project GitHub page located at the:
> This is just a proposal, I guess author knows what is missing better.

This message was sent by Atlassian Jira

View raw message