Class HttpServerConfig
- java.lang.Object
-
- io.quarkus.micrometer.runtime.config.runtime.HttpServerConfig
-
@ConfigRoot(name="micrometer.binder.http-server", phase=RUN_TIME) public class HttpServerConfig extends Object
-
-
Field Summary
Fields Modifier and Type Field Description Optional<List<String>>ignorePatternsComma-separated list of regular expressions defining uri paths that should be ignored (not measured).Optional<List<String>>matchPatternsComma-separated list of regular expressions used to specify uri labels in http metrics.intmaxUriTagsMaximum number of unique URI tag values allowed.booleansuppressNonApplicationUrisSuppress non-application uris from metrics collection.
-
Constructor Summary
Constructors Constructor Description HttpServerConfig()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidmergeDeprecatedConfig(VertxConfig config)
-
-
-
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.
-
-
Method Detail
-
mergeDeprecatedConfig
public void mergeDeprecatedConfig(VertxConfig config)
-
-