*: fix Prometheus metrics comment formatting

Signed-off-by: Anna Shaleva <shaleva.ann@nspcc.ru>
This commit is contained in:
Anna Shaleva 2023-04-13 13:49:07 +03:00
parent a875409055
commit 7bcc62d99c
2 changed files with 4 additions and 4 deletions

View file

@ -3,7 +3,7 @@ package mempool
import "github.com/prometheus/client_golang/prometheus"
var (
//mempoolUnsortedTx prometheus metric.
// mempoolUnsortedTx prometheus metric.
mempoolUnsortedTx = prometheus.NewGauge(
prometheus.GaugeOpts{
Help: "Mempool Unsorted TXs",

View file

@ -6,7 +6,7 @@ import (
// Metrics for monitoring service.
var (
//blockHeight prometheus metric.
// blockHeight prometheus metric.
blockHeight = prometheus.NewGauge(
prometheus.GaugeOpts{
Help: "Current index of processed block",
@ -14,7 +14,7 @@ var (
Namespace: "neogo",
},
)
//persistedHeight prometheus metric.
// persistedHeight prometheus metric.
persistedHeight = prometheus.NewGauge(
prometheus.GaugeOpts{
Help: "Current persisted block count",
@ -22,7 +22,7 @@ var (
Namespace: "neogo",
},
)
//headerHeight prometheus metric.
// headerHeight prometheus metric.
headerHeight = prometheus.NewGauge(
prometheus.GaugeOpts{
Help: "Current header height",