Skip to content

Commit

Permalink
Use correct percentilesTime call
Browse files Browse the repository at this point in the history
Update `MetricsClientHttpRequestInterceptor` to use `percentilesTime`
rather than `percentiles`.

See gh-9970
  • Loading branch information
philwebb committed Sep 14, 2017
1 parent 0e32c0a commit 796d400
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ private Timer.Builder getTimeBuilder(HttpRequest request,
.tags(this.tagProvider.getTags(urlTemplate.get(), request, response))
.description("Timer of RestTemplate operation");
if (this.recordPercentiles) {
builder = builder.histogram(Histogram.percentiles());
builder = builder.histogram(Histogram.percentilesTime());
}
return builder;
}
Expand Down

0 comments on commit 796d400

Please sign in to comment.