tmaret commented on a change in pull request #2: SLING-8372 Add sling metric 
for journal availability
URL: 
https://github.com/apache/sling-org-apache-sling-distribution-journal/pull/2#discussion_r278426137
 
 

 ##########
 File path: 
src/main/java/org/apache/sling/distribution/journal/impl/shared/DistributionMetricsService.java
 ##########
 @@ -98,7 +114,18 @@ public void activate() {
         sendStoredStatusDuration = getTimer(getMetricName(SUB_COMPONENT, 
"send_stored_status_duration"));
         processQueueItemDuration = getTimer(getMetricName(SUB_COMPONENT, 
"process_queue_item_duration"));
         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");
 
 Review comment:
   The service vendor should be updated to `The Apache Software Foundation`.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to