Skip to content
Snippets Groups Projects
Commit 150f6906 authored by Dean's avatar Dean Committed by GitHub
Browse files

remove a println that logged matched request hosts

Not to worry, this was logging information that was already logged by Prometheus. No wildcard prefixes were logged.
parent 6a0337d4
No related branches found
No related tags found
No related merge requests found
......@@ -336,7 +336,6 @@ func requestHandler(ctx *fasthttp.RequestCtx) {
if strings.HasPrefix(match, asteriskPeriodStr) {
hostSplit[0] = asteriskStr
}
fmt.Println(match, hostSplit)
prometheus.HTTPRequestsTotal.With(prom.Labels{host: strings.Join(hostSplit, periodStr)}).Inc()
}
} else {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment