Adapt to changes in Micrometer APIs.
Micrometer has updated some of its APIs and we must adjust. Closes: #4055
This commit is contained in:
@@ -90,11 +90,10 @@ public class ZipkinIntegrationTests extends SampleTestRunner {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public BiConsumer<BuildingBlocks, Deque<ObservationHandler>> customizeObservationHandlers() {
|
public BiConsumer<BuildingBlocks, Deque<ObservationHandler<? extends Observation.Context>>> customizeObservationHandlers() {
|
||||||
|
|
||||||
return (buildingBlocks, observationHandlers) -> {
|
return (buildingBlocks, observationHandlers) -> observationHandlers
|
||||||
observationHandlers.addLast(new MongoTracingObservationHandler(buildingBlocks.getTracer()));
|
.addLast(new MongoTracingObservationHandler(buildingBlocks.getTracer()));
|
||||||
};
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|||||||
Reference in New Issue
Block a user