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
|
||||
public BiConsumer<BuildingBlocks, Deque<ObservationHandler>> customizeObservationHandlers() {
|
||||
public BiConsumer<BuildingBlocks, Deque<ObservationHandler<? extends Observation.Context>>> customizeObservationHandlers() {
|
||||
|
||||
return (buildingBlocks, observationHandlers) -> {
|
||||
observationHandlers.addLast(new MongoTracingObservationHandler(buildingBlocks.getTracer()));
|
||||
};
|
||||
return (buildingBlocks, observationHandlers) -> observationHandlers
|
||||
.addLast(new MongoTracingObservationHandler(buildingBlocks.getTracer()));
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user