Skip to content
This repository was archived by the owner on Dec 9, 2024. It is now read-only.

Commit 4cff750

Browse files
author
Maciej Winnicki
committed
remove old comments
1 parent 7d34ccd commit 4cff750

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

router/metrics.go

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,6 @@ func init() {
1111
prometheus.MustRegister(routerBacklog, routerDroppedEvents, routerProcessingDuration)
1212
}
1313

14-
// RouterDroppedEvents counts the number of times we need
15-
// to drop events instead of forwarding them in the router.
16-
// This should be alerted on in a monitoring system, and
17-
// trigger adding more capacity.
1814
var routerDroppedEvents = prometheus.NewCounter(
1915
prometheus.CounterOpts{
2016
Namespace: "gateway",
@@ -23,8 +19,6 @@ var routerDroppedEvents = prometheus.NewCounter(
2319
Help: "Dropped events due to insufficient processing power.",
2420
})
2521

26-
// RouterBacklog is a gauge of events count waiting to be
27-
// processed by the router.
2822
var routerBacklog = prometheus.NewGauge(
2923
prometheus.GaugeOpts{
3024
Namespace: "gateway",
@@ -33,8 +27,6 @@ var routerBacklog = prometheus.NewGauge(
3327
Help: "Gauge of events count waiting to be processed by the router.",
3428
})
3529

36-
// ProcessingDuration is a bucketed histogram of processing
37-
// duration of an event in the router.
3830
var routerProcessingDuration = prometheus.NewHistogram(
3931
prometheus.HistogramOpts{
4032
Namespace: "gateway",

0 commit comments

Comments
 (0)