Class JsonConfigGroup
- java.lang.Object
-
- io.quarkus.micrometer.runtime.config.JsonConfigGroup
-
- All Implemented Interfaces:
MicrometerConfig.CapabilityEnabled
public class JsonConfigGroup extends Object implements MicrometerConfig.CapabilityEnabled
-
-
Field Summary
Fields Modifier and Type Field Description IntegerbufferLengthStatistics like max, percentiles, and histogram counts decay over time to give greater weight to recent samples.Optional<Boolean>enabledSupport for export to JSON format.DurationexpiryStatistics like max, percentiles, and histogram counts decay over time to give greater weight to recent samples.StringpathThe path for the JSON metrics endpoint.
-
Constructor Summary
Constructors Constructor Description JsonConfigGroup()
-
-
-
Field Detail
-
enabled
@ConfigItem(defaultValue="false") public Optional<Boolean> enabled
Support for export to JSON format. Off by default.
-
path
@ConfigItem(defaultValue="metrics") public String path
The path for the JSON metrics endpoint. The default value ismetrics.
-
bufferLength
@ConfigItem(defaultValue="3") public Integer bufferLength
Statistics like max, percentiles, and histogram counts decay over time to give greater weight to recent samples. Samples are accumulated to such statistics in ring buffers which rotate after the expiry, with this buffer length.
-
expiry
@ConfigItem(defaultValue="P3D") public Duration expiry
Statistics like max, percentiles, and histogram counts decay over time to give greater weight to recent samples. Samples are accumulated to such statistics in ring buffers which rotate after this expiry, with a particular buffer length.
-
-
Method Detail
-
getEnabled
public Optional<Boolean> getEnabled()
- Specified by:
getEnabledin interfaceMicrometerConfig.CapabilityEnabled
-
-