Skip to content

Commit

Permalink
fix ErrorTotal
Browse files Browse the repository at this point in the history
  • Loading branch information
gfr10598 committed Dec 17, 2018
1 parent 6daa9a7 commit 27968e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion handler/handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ func AnnotateV2(date time.Time, ips []string) (v2.Response, error) {

annotation, err := ann.GetAnnotation(&request)
if err != nil {
metrics.ErrorTotal.Inc()
metrics.ErrorTotal.WithLabelValues("GetAnnotation Error").Inc()
continue
}
responseMap[request.IP] = &annotation
Expand Down

0 comments on commit 27968e1

Please sign in to comment.