From fc49429fa13844a996696729745f8f9ee75e4147 Mon Sep 17 00:00:00 2001 From: Tim <50115603+bossenti@users.noreply.github.com> Date: Fri, 1 Dec 2023 12:57:40 +0100 Subject: [PATCH] fix: emit pipeline metrics even if no pipeline is running (#2257) --- .../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 66a448be02..40216cc87b 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 void checkAndRestorePipelineElements() { - pipelinesStats.getAttentionRequiredPipelines(); pipelinesStats.setHealthyPipelines(healthNum); pipelinesStats.setElementCount(getElementsCount(allPipelines)); - pipelinesStats.metrics(); } + pipelinesStats.metrics(); } private String findEndpointUrl(InvocableStreamPipesEntity graph) throws NoServiceEndpointsAvailableException {