You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by st...@apache.org on 2019/10/08 10:38:45 UTC

[sling-org-apache-sling-event] branch master updated (691a8b8 -> 70c14df)

This is an automated email from the ASF dual-hosted git repository.

stefanegli pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-event.git.


    from 691a8b8  Updating badges for org-apache-sling-event
     new d54ca6a  SLING-8665: Adds metrics for jobs by simply exposing the queue statistics (both global and per queue) as gauges.
     new 46d4827  SLING-8665: Added sanitization for queue names.
     new 99390db  SLING-8665: Changed the initialization of the queueGauges to avoid adding unnecessary metrics when called concurrently.
     new 70c14df  Merge pull request #7 from bjoernweide/feature/SLING-8665-metrics-for-jobs

The 54 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 pom.xml                                            |   6 +
 .../sling/event/impl/jobs/stats/GaugeSupport.java  | 173 ++++++++++++++++++++
 .../event/impl/jobs/stats/StatisticsManager.java   |  42 ++++-
 .../impl/jobs/stats/StatisticsManagerTest.java     | 178 +++++++++++++++++++++
 .../sling/event/it/AbstractJobHandlingTest.java    |   3 +
 5 files changed, 399 insertions(+), 3 deletions(-)
 create mode 100644 src/main/java/org/apache/sling/event/impl/jobs/stats/GaugeSupport.java
 create mode 100644 src/test/java/org/apache/sling/event/impl/jobs/stats/StatisticsManagerTest.java