Class MetricsProperties
- java.lang.Object
- org.springframework.boot.actuate.autoconfigure.metrics.MetricsProperties
@ConfigurationProperties("management.metrics") public class MetricsProperties extends Object
ConfigurationProperties
for configuring Micrometer-based metrics.- Since:
- 2.0.0
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
MetricsProperties.Distribution
static class
MetricsProperties.Web
Constructor Summary
Constructors Constructor Description MetricsProperties()
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MetricsProperties.Distribution
getDistribution()
Map<String,Boolean>
getEnable()
Map<String,String>
getTags()
MetricsProperties.Web
getWeb()
boolean
isUseGlobalRegistry()
void
setUseGlobalRegistry(boolean useGlobalRegistry)
Constructor Detail
MetricsProperties
public MetricsProperties()
Method Detail
isUseGlobalRegistry
public boolean isUseGlobalRegistry()
setUseGlobalRegistry
public void setUseGlobalRegistry(boolean useGlobalRegistry)
getWeb
public MetricsProperties.Web getWeb()
getDistribution
public MetricsProperties.Distribution getDistribution()