Fix name of the summary, remove _total suffix (#110143)

This commit is contained in:
Peter Štibraný
2025-08-26 08:48:05 +00:00
committed by GitHub
parent 07b208ac43
commit 067b6e20a2
@@ -74,7 +74,7 @@ func ProvideIndexMetrics(reg prometheus.Registerer) *BleveIndexMetrics {
NativeHistogramMinResetDuration: time.Hour,
}),
UpdatedDocuments: promauto.With(reg).NewSummary(prometheus.SummaryOpts{
Name: "index_server_update_documents_total",
Name: "index_server_update_documents",
Help: "Number of documents indexed during index update",
}),
SearchUpdateWaitTime: promauto.With(reg).NewHistogramVec(prometheus.HistogramOpts{