MetricsWebClientFilterFunction this class is working fine in springboot before 3.0.0 release but it is not working in springboot after 3.0.1 release . Not able to find alternate class for this in springboot 3.0.1 release or higher versions.
below is my code in spring boot 2.7.2 release version. I want to convert below code into springboot 3.0.1 release version.
MetricsWebClientFilterFunction metricsWebClientFilterFunction = new MetricsWebClientFilterFunction(registry, new ClientRequestObservationContext(), "packetExtractorMetrics", new AutoTimeProperties());
Need help from Spring developers or microservice developers on the metrics related to issue.
MetricsWebClientFilterFunction is removed from Springboot 3, you have to use the new Observation API.
Some hints for the migration: GitHub example.