mirror of
https://github.com/logos-messaging/storenode-messages-counter.git
synced 2026-01-02 14:13:11 +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 := logging.Logger()
|
||||||
|
|
||||||
logger.Warn("AppStart -")
|
logger.Warn("AppStart")
|
||||||
|
|
||||||
var metricsServer *metrics.Server
|
var metricsServer *metrics.Server
|
||||||
if options.EnableMetrics {
|
if options.EnableMetrics {
|
||||||
|
|||||||
@ -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
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user