You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by tm...@apache.org on 2019/04/25 07:46:32 UTC
[sling-org-apache-sling-distribution-journal] branch master
updated: SLING-8372 - Add sling metric for journal availability
This is an automated email from the ASF dual-hosted git repository.
tmaret pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-distribution-journal.git
The following commit(s) were added to refs/heads/master by this push:
new bb25020 SLING-8372 - Add sling metric for journal availability
bb25020 is described below
commit bb250205045f1ddd9bce36f66ba26fd921195b66
Author: tmaret <tm...@adobe.com>
AuthorDate: Thu Apr 25 09:46:22 2019 +0200
SLING-8372 - Add sling metric for journal availability
* Update ASF as vendor
---
.../distribution/journal/impl/shared/DistributionMetricsService.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/main/java/org/apache/sling/distribution/journal/impl/shared/DistributionMetricsService.java b/src/main/java/org/apache/sling/distribution/journal/impl/shared/DistributionMetricsService.java
index d89fe21..24474ac 100644
--- a/src/main/java/org/apache/sling/distribution/journal/impl/shared/DistributionMetricsService.java
+++ b/src/main/java/org/apache/sling/distribution/journal/impl/shared/DistributionMetricsService.java
@@ -116,7 +116,7 @@ public class DistributionMetricsService {
packageDistributedDuration = getTimer(getMetricName(SUB_COMPONENT, "request_distributed_duration"));
final Dictionary<String, String> regProps = new Hashtable<>();
regProps.put(Constants.SERVICE_DESCRIPTION, "Journal Availablility Status");
- regProps.put(Constants.SERVICE_VENDOR, "Adobe");
+ regProps.put(Constants.SERVICE_VENDOR, "The Apache Software Foundation");
regProps.put("name", getMetricName(BASE_COMPONENT, "journal_available"));
availableStatusReg = context.registerService(Gauge.class, () -> journalAvailable != null, regProps);
}