Class HttpClientConfig

java.lang.Object
io.quarkus.micrometer.runtime.config.runtime.HttpClientConfig

@ConfigRoot(name="micrometer.binder.http-client", phase=RUN_TIME) public class HttpClientConfig extends Object
  • Field Details

    • matchPatterns

      @ConfigItem public Optional<List<String>> matchPatterns
      Comma-separated list of regular expressions used to specify uri labels in http metrics. Outbount HTTP client instrumentation will attempt to transform parameterized resource paths, `/item/123`, into a generic form, `/item/{id}`, to reduce the cardinality of uri label values. Patterns specified here will take precedence over those computed values. For example, if `/item/\\\\d+=/item/custom` or `/item/[0-9]+=/item/custom` is specified in this list, a request to a matching path (`/item/123`) will use the specified replacement value (`/item/custom`) as the value for the uri label. Note that backslashes must be double escaped as `\\\\`.
    • ignorePatterns

      @ConfigItem public Optional<List<String>> ignorePatterns
      Comma-separated list of regular expressions defining uri paths that should be ignored (not measured).
    • maxUriTags

      @ConfigItem(defaultValue="100") public int maxUriTags
      Maximum number of unique URI tag values allowed. After the max number of tag values is reached, metrics with additional tag values are denied by filter.
  • Constructor Details

    • HttpClientConfig

      public HttpClientConfig()