Skip to content

Commit

Permalink
Applied latest changes of Micrometer
Browse files Browse the repository at this point in the history
  • Loading branch information
marcingrzejszczak committed Oct 4, 2022
1 parent 35129cc commit 1bf05c8
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,8 @@ public Response around(ClientInvocationContext context, Iterator<ClientIntercept
FeignContext feignContext = new FeignContext(context.getRequestTemplate());
Observation observation = FeignObservationDocumentation.DEFAULT
.observation(this.customFeignObservationConvention,
DefaultFeignObservationConvention.INSTANCE, feignContext, this.observationRegistry)
DefaultFeignObservationConvention.INSTANCE, () -> feignContext,
this.observationRegistry)
.start();
Exception ex = null;
Response response = null;
Expand Down

0 comments on commit 1bf05c8

Please sign in to comment.