Skip to content

Commit

Permalink
wrong counter
Browse files Browse the repository at this point in the history
  • Loading branch information
nathanejohnson committed Nov 17, 2020
1 parent 98384e7 commit a773cd6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion route/route.go
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ func (r *Route) addTarget(service string, targetURL *url.URL, fixedWeight float6
FixedWeight: fixedWeight,
Timer: counters.histogram.With("service", service, "host", r.Host, "path", r.Path, "target", targetURL.String()),
RxCounter: counters.rxCounter.With("service", service, "host", r.Host, "path", r.Path, "target", targetURL.String()),
TxCounter: counters.rxCounter.With("service", service, "host", r.Host, "path", r.Path, "target", targetURL.String()),
TxCounter: counters.txCounter.With("service", service, "host", r.Host, "path", r.Path, "target", targetURL.String()),
}

var err error
Expand Down

0 comments on commit a773cd6

Please sign in to comment.