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 Modifier and Type Field Description static String
EXPORT_FILTER
Property for the metrics filter.static String
PREFIX
Prefix for Stream application metrics.
-
Constructor Summary
Constructors Constructor Description ApplicationMetricsProperties()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,Object>
getExportProperties()
String
getKey()
String
getMeterFilter()
String[]
getProperties()
Duration
getScheduleInterval()
void
setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
void
setEnvironment(org.springframework.core.env.Environment environment)
void
setKey(String key)
void
setMeterFilter(String meterFilter)
void
setProperties(String[] properties)
void
setScheduleInterval(Duration scheduleInterval)
-
-
-
Field Detail
-
PREFIX
public static final String PREFIX
Prefix for Stream application metrics.- See Also:
- Constant Field Values
-
EXPORT_FILTER
public static final String EXPORT_FILTER
Property for the metrics filter.- See Also:
- Constant Field Values
-
-
Method Detail
-
setEnvironment
public void setEnvironment(org.springframework.core.env.Environment environment)
- Specified by:
setEnvironment
in interfaceorg.springframework.context.EnvironmentAware
-
setApplicationContext
public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext) throws org.springframework.beans.BeansException
- Specified by:
setApplicationContext
in interfaceorg.springframework.context.ApplicationContextAware
- Throws:
org.springframework.beans.BeansException
-
getKey
public String getKey()
-
setKey
public void setKey(String key)
-
getProperties
public String[] getProperties()
-
setProperties
public void setProperties(String[] properties)
-
getScheduleInterval
public Duration getScheduleInterval()
-
setScheduleInterval
public void setScheduleInterval(Duration scheduleInterval)
-
getMeterFilter
public String getMeterFilter()
-
setMeterFilter
public void setMeterFilter(String meterFilter)
-
-