Commit 060a34e6 authored by John Wick's avatar John Wick Committed by GitHub

fix typo in metrics.go

parent c3977c07
...@@ -235,7 +235,7 @@ func NewMetrics(procName string) *Metrics { ...@@ -235,7 +235,7 @@ func NewMetrics(procName string) *Metrics {
PeerScores: factory.NewHistogramVec(prometheus.HistogramOpts{ PeerScores: factory.NewHistogramVec(prometheus.HistogramOpts{
Namespace: ns, Namespace: ns,
Name: "peer_scores", Name: "peer_scores",
Help: "Histogram of currrently connected peer scores", Help: "Histogram of currently connected peer scores",
Buckets: []float64{-100, -40, -20, -10, -5, -2, -1, -0.5, -0.05, 0, 0.05, 0.5, 1, 2, 5, 10, 20, 40}, Buckets: []float64{-100, -40, -20, -10, -5, -2, -1, -0.5, -0.05, 0, 0.05, 0.5, 1, 2, 5, 10, 20, 40},
}, []string{"type"}), }, []string{"type"}),
StreamCount: factory.NewGauge(prometheus.GaugeOpts{ StreamCount: factory.NewGauge(prometheus.GaugeOpts{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment