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 <[email protected]>
AuthorDate: Tue Jun 17 15:10:46 2025 +0200
[YUNIKORN-3090] Promethues metrics are improperly labeled. (#1024)
Closes: #1024
Signed-off-by: Peter Bacsko <[email protected]>
---
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: [email protected]
For additional commands, e-mail: [email protected]