com.ringcentral.platform.metrics.histogram.configs.DefaultHistogramSliceConfig Maven / Gradle / Ivy
The newest version!
package com.ringcentral.platform.metrics.histogram.configs;
import com.ringcentral.platform.metrics.MetricContext;
import com.ringcentral.platform.metrics.configs.AbstractMeterSliceConfig;
import com.ringcentral.platform.metrics.labels.*;
import com.ringcentral.platform.metrics.histogram.HistogramMeasurable;
import com.ringcentral.platform.metrics.names.MetricName;
import java.time.Duration;
import java.util.*;
public class DefaultHistogramSliceConfig extends AbstractMeterSliceConfig implements HistogramSliceConfig {
public DefaultHistogramSliceConfig(
boolean enabled,
MetricName name,
LabelValuesPredicate predicate,
List