Skip to content

Commit

Permalink
Remove unused metric
Browse files Browse the repository at this point in the history
  • Loading branch information
aalda committed Apr 5, 2019
1 parent 5bf1c05 commit 82f9617
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions api/apihttp/apihttp.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ import (
"time"

"github.com/bbva/qed/log"
"github.com/bbva/qed/metrics"
"github.com/bbva/qed/protocol"
"github.com/bbva/qed/raftwal"
)
Expand All @@ -44,8 +43,6 @@ type HealthCheckResponse struct {
// and no body.
func HealthCheckHandler(w http.ResponseWriter, r *http.Request) {

metrics.QedAPIHealthcheckRequestsTotal.Inc()

// Make sure we can only be called with an HTTP POST request.
if r.Method != "HEAD" {
w.Header().Set("Allow", "HEAD")
Expand Down

0 comments on commit 82f9617

Please sign in to comment.