Skip to content

Commit

Permalink
chore: remove unimplemented queueSize metric (#42)
Browse files Browse the repository at this point in the history
Related to #41
  • Loading branch information
jpfe-tid authored May 25, 2020
1 parent d430b12 commit 96a7c89
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions metrics.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,6 @@ package main
import "github.com/prometheus/client_golang/prometheus"

var (
queueSize = prometheus.NewGauge(
prometheus.GaugeOpts{
Name: "kafka_queue_size",
Help: "Queue size for metrics sent to Kafka",
})
httpRequestsTotal = prometheus.NewCounter(
prometheus.CounterOpts{
Name: "http_requests_total",
Expand All @@ -30,6 +25,5 @@ var (
)

func init() {
prometheus.MustRegister(queueSize)
prometheus.MustRegister(httpRequestsTotal)
}

0 comments on commit 96a7c89

Please sign in to comment.