Class HttpServerConfig

    • Field Detail

      • matchPatterns

        @ConfigItem
        public Optional<List<String>> matchPatterns
        Comma-separated list of regular expressions used to specify uri labels in http metrics. Vertx 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).
      • suppressNonApplicationUris

        @ConfigItem(defaultValue="true")
        public boolean suppressNonApplicationUris
        Suppress non-application uris from metrics collection. This will suppress all metrics for non-application endpoints using `${quarkus.http.root-path}/${quarkus.http.non-application-root-path}`. Suppressing non-application uris is enabled by default.
      • 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 Detail

      • HttpServerConfig

        public HttpServerConfig()
    • Method Detail

      • mergeDeprecatedConfig

        public void mergeDeprecatedConfig​(VertxConfig config)