We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d430b12 commit 96a7c89Copy full SHA for 96a7c89
metrics.go
@@ -17,11 +17,6 @@ package main
17
import "github.com/prometheus/client_golang/prometheus"
18
19
var (
20
- queueSize = prometheus.NewGauge(
21
- prometheus.GaugeOpts{
22
- Name: "kafka_queue_size",
23
- Help: "Queue size for metrics sent to Kafka",
24
- })
25
httpRequestsTotal = prometheus.NewCounter(
26
prometheus.CounterOpts{
27
Name: "http_requests_total",
@@ -30,6 +25,5 @@ var (
30
)
31
32
func init() {
33
- prometheus.MustRegister(queueSize)
34
28
prometheus.MustRegister(httpRequestsTotal)
35
29
}
0 commit comments