Package org.apache.kafka.common.metrics
Class MetricConfig
java.lang.Object
org.apache.kafka.common.metrics.MetricConfig
Configuration values for metrics
-
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
-
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
-