spring.boot.admin.javamelody.configuration.JavaMelodyConfigurationProperties Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of spring-boot-admin-server-ui-javamelody Show documentation
Show all versions of spring-boot-admin-server-ui-javamelody Show documentation
JavaMelody module for SpringBootAdmin v1
package spring.boot.admin.javamelody.configuration;
import java.util.HashMap;
import java.util.Map;
import org.springframework.boot.context.properties.ConfigurationProperties;
/**
* Configuration properties for JavaMelody.
* This class is used for binding the configuration values in "application.yml"
* or "application.properties".
*/
@ConfigurationProperties(prefix = JavaMelodyConfigurationProperties.PREFIX)
public class JavaMelodyConfigurationProperties {
/**
* Prefix of properties names.
*/
public static final String PREFIX = "javamelody";
/**
* Map of initialization parameters to be passed to the JavaMelody collector
* server. The available parameters are: resolution-seconds, storage-directory,
* warning-threshold-millis, severe-threshold-millis,
* graphite-address, influxdb-url, cloudwatch-namespace, datadog-api-key,
* admin-emails, mail-session, mail-periods.
* See
* https://github.com/javamelody/javamelody/wiki/UserGuideAdvanced#optional-centralization-server-setup
*/
private Map initParameters = new HashMap<>();
public Map getInitParameters() {
return initParameters;
}
public void setInitParameters(Map initParameters) {
this.initParameters = initParameters;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy