Merge pull request 'fix(metrics): remove debug code' (#51) from tn-add-prometheus-exporter into main
All checks were successful
ci/woodpecker/push/lint Pipeline was successful
ci/woodpecker/push/test Pipeline was successful
ci/woodpecker/push/build Pipeline was successful
ci/woodpecker/push/deploy Pipeline was successful

Reviewed-on: #51
This commit is contained in:
Tom Neuber 2024-11-28 14:35:13 +01:00
commit fc3eaf4f5d

View file

@ -192,7 +192,6 @@ func (m *Metrics) collectReqeustDataMetrics(ch chan<- prometheus.Metric, queue *
latency := float64(r.Latency.Microseconds()) latency := float64(r.Latency.Microseconds())
sum += latency sum += latency
count++ count++
log.Println(latency)
for _, bound := range bucketBounds { for _, bound := range bucketBounds {
if latency <= bound { if latency <= bound {