fix: collectors

This commit is contained in:
Richard Ramos 2024-07-19 18:38:27 -04:00
parent f933182d12
commit f2291722f4
No known key found for this signature in database
GPG Key ID: 1CE87DB518195760
2 changed files with 3 additions and 1 deletions

View File

@ -53,7 +53,7 @@ func Execute(ctx context.Context, options Options) error {
logger := logging.Logger() logger := logging.Logger()
logger.Warn("AppStart -") logger.Warn("AppStart")
var metricsServer *metrics.Server var metricsServer *metrics.Server
if options.EnableMetrics { if options.EnableMetrics {

View File

@ -43,6 +43,8 @@ var topicLastSync = prometheus.NewGaugeVec(
var collectors = []prometheus.Collector{ var collectors = []prometheus.Collector{
missingMessages, missingMessages,
storenodeAvailability, storenodeAvailability,
totalMissingMessages,
topicLastSync,
} }
// Metrics exposes the functions required to update prometheus metrics for relay protocol // Metrics exposes the functions required to update prometheus metrics for relay protocol