You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@yunikorn.apache.org by pb...@apache.org on 2025/06/17 13:11:02 UTC

(yunikorn-core) branch master updated: [YUNIKORN-3090] Promethues metrics are improperly labeled. (#1024)

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

pbacsko pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/yunikorn-core.git


The following commit(s) were added to refs/heads/master by this push:
     new 7eb8f589 [YUNIKORN-3090] Promethues metrics are improperly labeled. (#1024)
7eb8f589 is described below

commit 7eb8f589df8c167e68f923a2cff829e71acaa60c
Author: Tyler Denton <ty...@Tylers-MacBook-Pro.local>
AuthorDate: Tue Jun 17 15:10:46 2025 +0200

    [YUNIKORN-3090] Promethues metrics are improperly labeled. (#1024)
    
    Closes: #1024
    
    Signed-off-by: Peter Bacsko <ba...@gmail.com>
---
 pkg/metrics/event.go | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/pkg/metrics/event.go b/pkg/metrics/event.go
index 7f0032cd..d54a007d 100644
--- a/pkg/metrics/event.go
+++ b/pkg/metrics/event.go
@@ -65,15 +65,15 @@ func initEventMetrics() *EventMetrics {
 		prometheus.GaugeOpts{
 			Namespace: Namespace,
 			Subsystem: EventSubsystem,
-			Name:      "total_processed",
-			Help:      "total events processed",
+			Name:      "total_stored",
+			Help:      "total events stored",
 		})
 	metrics.totalEventsNotStored = prometheus.NewGauge(
 		prometheus.GaugeOpts{
 			Namespace: Namespace,
 			Subsystem: EventSubsystem,
-			Name:      "total_processed",
-			Help:      "total events processed",
+			Name:      "total_not_stored",
+			Help:      "total events not stored",
 		})
 	metrics.totalEventsCollected = prometheus.NewGauge(
 		prometheus.GaugeOpts{


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@yunikorn.apache.org
For additional commands, e-mail: issues-help@yunikorn.apache.org