Package org.apache.kafka.common.metrics
Class MetricConfig
java.lang.Object
org.apache.kafka.common.metrics.MetricConfig
public class MetricConfig extends Object
Configuration values for metrics
-
Constructor Summary
Constructors Constructor Description MetricConfig()
-
Method Summary
Modifier and Type Method Description long
eventWindow()
MetricConfig
eventWindow(long window)
Quota
quota()
MetricConfig
quota(Quota quota)
Sensor.RecordingLevel
recordLevel()
MetricConfig
recordLevel(Sensor.RecordingLevel recordingLevel)
int
samples()
MetricConfig
samples(int samples)
Map<String,String>
tags()
MetricConfig
tags(Map<String,String> tags)
MetricConfig
timeWindow(long window, TimeUnit unit)
long
timeWindowMs()
-
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
-