public class RatisNameRewriteSampleBuilder
extends io.prometheus.client.dropwizard.samplebuilder.DefaultSampleBuilder
Modifier | Constructor and Description |
---|---|
protected |
RatisNameRewriteSampleBuilder() |
Modifier and Type | Method and Description |
---|---|
io.prometheus.client.Collector.MetricFamilySamples.Sample |
createSample(String dropwizardName,
String nameSuffix,
List<String> additionalLabelNames,
List<String> additionalLabelValues,
double value) |
protected String |
normalizeRatisMetric(String dropwizardName,
List<String> names,
List<String> values) |
public io.prometheus.client.Collector.MetricFamilySamples.Sample createSample(String dropwizardName, String nameSuffix, List<String> additionalLabelNames, List<String> additionalLabelValues, double value)
createSample
in interface io.prometheus.client.dropwizard.samplebuilder.SampleBuilder
createSample
in class io.prometheus.client.dropwizard.samplebuilder.DefaultSampleBuilder
Copyright © 2023. All Rights Reserved.