mirror of
https://github.com/logos-messaging/storenode-messages-counter.git
synced 2026-01-02 06:03:07 +00:00
fix: collectors
This commit is contained in:
parent
f933182d12
commit
f2291722f4
@ -53,7 +53,7 @@ func Execute(ctx context.Context, options Options) error {
|
||||
|
||||
logger := logging.Logger()
|
||||
|
||||
logger.Warn("AppStart -")
|
||||
logger.Warn("AppStart")
|
||||
|
||||
var metricsServer *metrics.Server
|
||||
if options.EnableMetrics {
|
||||
|
||||
@ -43,6 +43,8 @@ var topicLastSync = prometheus.NewGaugeVec(
|
||||
var collectors = []prometheus.Collector{
|
||||
missingMessages,
|
||||
storenodeAvailability,
|
||||
totalMissingMessages,
|
||||
topicLastSync,
|
||||
}
|
||||
|
||||
// Metrics exposes the functions required to update prometheus metrics for relay protocol
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user