
metrics_influxdb.api.measurements.MetricMeasurementTransformer Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of metrics-influxdb Show documentation
Show all versions of metrics-influxdb Show documentation
A reporter for metrics which announces measurements to an InfluxDB server.
The newest version!
package metrics_influxdb.api.measurements;
import java.util.Collections;
import java.util.Map;
public interface MetricMeasurementTransformer {
public Map tags(String metricName);
public String measurementName(String metricName);
public static final MetricMeasurementTransformer NOOP = new MetricMeasurementTransformer() {
@Override
public Map tags(String metricName) {
return Collections.emptyMap();
}
@Override
public String measurementName(String metricName) {
return metricName;
}
};
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy