All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.gwizard.healthchecks.HealthChecksConfig Maven / Gradle / Ivy

There is a newer version: 1.1.6
Show newest version
package org.gwizard.healthchecks;

import io.dropwizard.util.Duration;
import lombok.Data;

@Data
public class HealthChecksConfig {
	/**
	 * health checks which extend AbstractMetricsHealthCheck will register
	 * metrics with this prefix.
	 */
	private String metricsPrefix = "gwizard.healthChecks";
	/**
	 * 

Run health checks periodically at this interval. Failing health checks will be logged at level WARN. * This accepts a flexible format like "10 minutes" or "30s".

* * Default is null, which disables periodic health checks. */ private Duration interval = Duration.minutes(10); public void setDuration(Duration value) { this.interval = value; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy