Package org.apache.kafka.common.metrics
Class MetricConfig
java.lang.Object
org.apache.kafka.common.metrics.MetricConfig
Configuration values for metrics
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionlong
eventWindow
(long window) quota()
recordLevel
(Sensor.RecordingLevel recordingLevel) int
samples()
samples
(int samples) tags()
timeWindow
(long window, TimeUnit unit) long
-
Field Details
-
DEFAULT_NUM_SAMPLES
public static final int DEFAULT_NUM_SAMPLES- See Also:
-
-
Constructor Details
-
MetricConfig
public MetricConfig()
-
-
Method Details
-
quota
-
quota
-
eventWindow
public long eventWindow() -
eventWindow
-
timeWindowMs
public long timeWindowMs() -
timeWindow
-
tags
-
tags
-
samples
public int samples() -
samples
-
recordLevel
-
recordLevel
-