
org.kairosdb.metrics4j.internal.CollectorCollection Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of metrics4j Show documentation
Show all versions of metrics4j Show documentation
Java library for reporting metrics to any timeseries database.
The newest version!
package org.kairosdb.metrics4j.internal;
import org.kairosdb.metrics4j.collectors.MetricCollector;
import org.kairosdb.metrics4j.internal.TagKey;
import org.kairosdb.metrics4j.reporting.ReportedMetric;
import java.time.Instant;
import java.util.Map;
/**
A set of collectors, typically this is a set of collectors for the same
method call but with different tags.
*/
public interface CollectorCollection
{
//return a collector specific to the args passed, maybe change to set of string or map of tags.
MetricCollector getCollector(TagKey tagKey);
Iterable gatherMetrics(Instant now);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy