Skip to content

Commit 96a7c89

Browse files
authored
chore: remove unimplemented queueSize metric (#42)
Related to #41
1 parent d430b12 commit 96a7c89

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

metrics.go

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,6 @@ package main
1717
import "github.com/prometheus/client_golang/prometheus"
1818

1919
var (
20-
queueSize = prometheus.NewGauge(
21-
prometheus.GaugeOpts{
22-
Name: "kafka_queue_size",
23-
Help: "Queue size for metrics sent to Kafka",
24-
})
2520
httpRequestsTotal = prometheus.NewCounter(
2621
prometheus.CounterOpts{
2722
Name: "http_requests_total",
@@ -30,6 +25,5 @@ var (
3025
)
3126

3227
func init() {
33-
prometheus.MustRegister(queueSize)
3428
prometheus.MustRegister(httpRequestsTotal)
3529
}

0 commit comments

Comments
 (0)