mirror of
https://github.com/minio/minio.git
synced 2025-11-07 12:52:58 -05:00
Change endpoint of v3 notification metrics (#19804)
from /cluster/notification to /notification
This commit is contained in:
@@ -51,12 +51,12 @@ const (
|
||||
clusterUsageObjectsCollectorPath collectorPath = "/cluster/usage/objects"
|
||||
clusterUsageBucketsCollectorPath collectorPath = "/cluster/usage/buckets"
|
||||
clusterErasureSetCollectorPath collectorPath = "/cluster/erasure-set"
|
||||
clusterNotificationCollectorPath collectorPath = "/cluster/notification"
|
||||
clusterIAMCollectorPath collectorPath = "/cluster/iam"
|
||||
|
||||
auditCollectorPath collectorPath = "/audit"
|
||||
loggerWebhookCollectorPath collectorPath = "/logger/webhook"
|
||||
replicationCollectorPath collectorPath = "/replication"
|
||||
notificationCollectorPath collectorPath = "/notification"
|
||||
)
|
||||
|
||||
const (
|
||||
@@ -298,7 +298,7 @@ func newMetricGroups(r *prometheus.Registry) *metricsV3Collection {
|
||||
loadClusterErasureSetMetrics,
|
||||
)
|
||||
|
||||
clusterNotificationMG := NewMetricsGroup(clusterNotificationCollectorPath,
|
||||
clusterNotificationMG := NewMetricsGroup(notificationCollectorPath,
|
||||
[]MetricDescriptor{
|
||||
notificationCurrentSendInProgressMD,
|
||||
notificationEventsErrorsTotalMD,
|
||||
|
||||
Reference in New Issue
Block a user