You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@streampipes.apache.org by bo...@apache.org on 2023/12/01 08:21:39 UTC

(streampipes) branch fix-pipeline-metrics created (now 2ddd77e19)

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

bossenti pushed a change to branch fix-pipeline-metrics
in repository https://gitbox.apache.org/repos/asf/streampipes.git


      at 2ddd77e19 fix: emit pipeline metrics even if no pipeline is running

This branch includes the following new commits:

     new 2ddd77e19 fix: emit pipeline metrics even if no pipeline is running

The 1 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.



(streampipes) 01/01: fix: emit pipeline metrics even if no pipeline is running

Posted by bo...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

bossenti pushed a commit to branch fix-pipeline-metrics
in repository https://gitbox.apache.org/repos/asf/streampipes.git

commit 2ddd77e1935e75c4aed914c6446f726e8f9a554a
Author: bossenti <bo...@posteo.de>
AuthorDate: Fri Dec 1 09:21:28 2023 +0100

    fix: emit pipeline metrics even if no pipeline is running
---
 .../java/org/apache/streampipes/manager/health/PipelineHealthCheck.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/streampipes-pipeline-management/src/main/java/org/apache/streampipes/manager/health/PipelineHealthCheck.java b/streampipes-pipeline-management/src/main/java/org/apache/streampipes/manager/health/PipelineHealthCheck.java
index 66a448be0..40216cc87 100644
--- a/streampipes-pipeline-management/src/main/java/org/apache/streampipes/manager/health/PipelineHealthCheck.java
+++ b/streampipes-pipeline-management/src/main/java/org/apache/streampipes/manager/health/PipelineHealthCheck.java
@@ -133,8 +133,8 @@ public class PipelineHealthCheck implements Runnable {
           - pipelinesStats.getAttentionRequiredPipelines();
       pipelinesStats.setHealthyPipelines(healthNum);
       pipelinesStats.setElementCount(getElementsCount(allPipelines));
-      pipelinesStats.metrics();
     }
+    pipelinesStats.metrics();
   }
 
   private String findEndpointUrl(InvocableStreamPipesEntity graph) throws NoServiceEndpointsAvailableException {