
pl.allegro.tech.hermes.client.metrics.MetricsProvider Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of hermes-client Show documentation
Show all versions of hermes-client Show documentation
Fast and reliable message broker built on top of Kafka.
The newest version!
package pl.allegro.tech.hermes.client.metrics;
import java.util.Map;
import java.util.concurrent.TimeUnit;
public interface MetricsProvider {
String prefix = "hermes-client.";
void counterIncrement(String topic, String key);
void counterIncrement(String topic, String key, Map tags);
void timerRecord(String topic, String key, long duration, TimeUnit unit);
void histogramUpdate(String topic, String key, int value);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy