Interface AutoHttpMetricsProvider


@Contract public interface AutoHttpMetricsProvider
A type which, given MetricsObserverConfig, can provide a Filter which registers and updates meters for measuring HTTP requests (for example, implementing metrics semantic conventions).
  • Method Summary

    Modifier and Type
    Method
    Description
    Provides a Filter which uses the supplied configuration to search for, register if needed, and update metrics for each routing.
  • Method Details

    • filter

      Provides a Filter which uses the supplied configuration to search for, register if needed, and update metrics for each routing.
      Parameters:
      config - MetricsObserverConfig which determines some of the filter's behavior
      Returns:
      the resulting filter