pl.allegro.tech.hermes.consumers.config.PrometheusProperties Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of hermes-consumers Show documentation
Show all versions of hermes-consumers Show documentation
Fast and reliable message broker built on top of Kafka.
package pl.allegro.tech.hermes.consumers.config;
import org.springframework.boot.context.properties.ConfigurationProperties;
import java.time.Duration;
@ConfigurationProperties(prefix = "consumer.prometheus")
public class PrometheusProperties {
private Duration step = Duration.ofMinutes(1);
private boolean descriptions = true;
public Duration getStep() {
return this.step;
}
public void setStep(Duration step) {
this.step = step;
}
public boolean isDescriptions() {
return this.descriptions;
}
public void setDescriptions(boolean descriptions) {
this.descriptions = descriptions;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy