mirror of
https://github.com/nspcc-dev/neo-go.git
synced 2024-11-22 19:29:39 +00:00
*: fix Prometheus metrics comment formatting
Signed-off-by: Anna Shaleva <shaleva.ann@nspcc.ru>
This commit is contained in:
parent
a875409055
commit
7bcc62d99c
2 changed files with 4 additions and 4 deletions
|
@ -3,7 +3,7 @@ package mempool
|
||||||
import "github.com/prometheus/client_golang/prometheus"
|
import "github.com/prometheus/client_golang/prometheus"
|
||||||
|
|
||||||
var (
|
var (
|
||||||
//mempoolUnsortedTx prometheus metric.
|
// mempoolUnsortedTx prometheus metric.
|
||||||
mempoolUnsortedTx = prometheus.NewGauge(
|
mempoolUnsortedTx = prometheus.NewGauge(
|
||||||
prometheus.GaugeOpts{
|
prometheus.GaugeOpts{
|
||||||
Help: "Mempool Unsorted TXs",
|
Help: "Mempool Unsorted TXs",
|
||||||
|
|
|
@ -6,7 +6,7 @@ import (
|
||||||
|
|
||||||
// Metrics for monitoring service.
|
// Metrics for monitoring service.
|
||||||
var (
|
var (
|
||||||
//blockHeight prometheus metric.
|
// blockHeight prometheus metric.
|
||||||
blockHeight = prometheus.NewGauge(
|
blockHeight = prometheus.NewGauge(
|
||||||
prometheus.GaugeOpts{
|
prometheus.GaugeOpts{
|
||||||
Help: "Current index of processed block",
|
Help: "Current index of processed block",
|
||||||
|
@ -14,7 +14,7 @@ var (
|
||||||
Namespace: "neogo",
|
Namespace: "neogo",
|
||||||
},
|
},
|
||||||
)
|
)
|
||||||
//persistedHeight prometheus metric.
|
// persistedHeight prometheus metric.
|
||||||
persistedHeight = prometheus.NewGauge(
|
persistedHeight = prometheus.NewGauge(
|
||||||
prometheus.GaugeOpts{
|
prometheus.GaugeOpts{
|
||||||
Help: "Current persisted block count",
|
Help: "Current persisted block count",
|
||||||
|
@ -22,7 +22,7 @@ var (
|
||||||
Namespace: "neogo",
|
Namespace: "neogo",
|
||||||
},
|
},
|
||||||
)
|
)
|
||||||
//headerHeight prometheus metric.
|
// headerHeight prometheus metric.
|
||||||
headerHeight = prometheus.NewGauge(
|
headerHeight = prometheus.NewGauge(
|
||||||
prometheus.GaugeOpts{
|
prometheus.GaugeOpts{
|
||||||
Help: "Current header height",
|
Help: "Current header height",
|
||||||
|
|
Loading…
Reference in a new issue