Class MetricsNameStrategyFactory

java.lang.Object
org.mapfish.print.metrics.MetricsNameStrategyFactory

public final class MetricsNameStrategyFactory extends Object
Used as a factory for the spring configuration for configuring the InstrumentedHttpClients.
  • Method Summary

    Modifier and Type
    Method
    Description
    static com.codahale.metrics.httpclient.HttpClientMetricNameStrategy
    Strategy for naming the http requests made for the metrics tracking.
    static com.codahale.metrics.httpclient.HttpClientMetricNameStrategy
    Strategy for naming the http requests made for the metrics tracking.
    static com.codahale.metrics.httpclient.HttpClientMetricNameStrategy
    Strategy for naming the http requests made for the metrics tracking.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • hostAndMethod

      public static com.codahale.metrics.httpclient.HttpClientMetricNameStrategy hostAndMethod()
      Strategy for naming the http requests made for the metrics tracking. Host and method will be tracked.
    • methodOnly

      public static com.codahale.metrics.httpclient.HttpClientMetricNameStrategy methodOnly()
      Strategy for naming the http requests made for the metrics tracking. Only the http method is tracked
    • querylessUrlAndMethod

      public static com.codahale.metrics.httpclient.HttpClientMetricNameStrategy querylessUrlAndMethod()
      Strategy for naming the http requests made for the metrics tracking. Host, method and path will be tracked.