B
- type of concrete Builderpublic static interface Metrics.Builder<B extends Metrics.Builder<B>>
Modifier and Type | Method and Description |
---|---|
B |
exportToPrometheus(boolean export)
Specifies whether the metric collector should export metrics to
Prometheus or not.
|
B |
maximumGroups(int limit)
Set the maximum number of groups maintained by the metric collector.
|
B |
reset()
Reset the builder.
|
B reset()
B exportToPrometheus(boolean export)
By default, metrics are not exported to Prometheus.
export
- true to export metrics to PrometheusB maximumGroups(int limit)
By default, the number of groups is not limited.
limit
- a positive integerMetrics.MetricCollector.maximumGroups()
Copyright © 2024 DiffusionData Ltd. All Rights Reserved.