Class ApplicationMetricsProperties
java.lang.Object
org.springframework.cloud.stream.micrometer.ApplicationMetricsProperties
- All Implemented Interfaces:
org.springframework.beans.factory.Aware,org.springframework.context.ApplicationContextAware,org.springframework.context.EnvironmentAware
@ConfigurationProperties(prefix="spring.cloud.stream.metrics")
public class ApplicationMetricsProperties
extends Object
implements org.springframework.context.EnvironmentAware, org.springframework.context.ApplicationContextAware
- Author:
- Vinicius Carvalho, Janne Valkealahti, Oleg Zhurakousky
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetKey()String[]voidsetApplicationContext(org.springframework.context.ApplicationContext applicationContext) voidsetEnvironment(org.springframework.core.env.Environment environment) voidvoidsetMeterFilter(String meterFilter) voidsetProperties(String[] properties) voidsetScheduleInterval(Duration scheduleInterval)
-
Field Details
-
PREFIX
Prefix for Stream application metrics.- See Also:
-
EXPORT_FILTER
Property for the metrics filter.- See Also:
-
-
Constructor Details
-
ApplicationMetricsProperties
public ApplicationMetricsProperties()
-
-
Method Details
-
setEnvironment
public void setEnvironment(org.springframework.core.env.Environment environment) - Specified by:
setEnvironmentin interfaceorg.springframework.context.EnvironmentAware
-
setApplicationContext
public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext) throws org.springframework.beans.BeansException - Specified by:
setApplicationContextin interfaceorg.springframework.context.ApplicationContextAware- Throws:
org.springframework.beans.BeansException
-
getKey
-
setKey
-
getProperties
-
setProperties
-
getExportProperties
-
getScheduleInterval
-
setScheduleInterval
-
getMeterFilter
-
setMeterFilter
-