This repository was archived by the owner on Dec 9, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +0
-8
lines changed Expand file tree Collapse file tree 1 file changed +0
-8
lines changed Original file line number Diff line number Diff line change @@ -11,10 +11,6 @@ func init() {
11
11
prometheus .MustRegister (routerBacklog , routerDroppedEvents , routerProcessingDuration )
12
12
}
13
13
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.
18
14
var routerDroppedEvents = prometheus .NewCounter (
19
15
prometheus.CounterOpts {
20
16
Namespace : "gateway" ,
@@ -23,8 +19,6 @@ var routerDroppedEvents = prometheus.NewCounter(
23
19
Help : "Dropped events due to insufficient processing power." ,
24
20
})
25
21
26
- // RouterBacklog is a gauge of events count waiting to be
27
- // processed by the router.
28
22
var routerBacklog = prometheus .NewGauge (
29
23
prometheus.GaugeOpts {
30
24
Namespace : "gateway" ,
@@ -33,8 +27,6 @@ var routerBacklog = prometheus.NewGauge(
33
27
Help : "Gauge of events count waiting to be processed by the router." ,
34
28
})
35
29
36
- // ProcessingDuration is a bucketed histogram of processing
37
- // duration of an event in the router.
38
30
var routerProcessingDuration = prometheus .NewHistogram (
39
31
prometheus.HistogramOpts {
40
32
Namespace : "gateway" ,
You can’t perform that action at this time.
0 commit comments