@ConfigurationProperties(value="management.metrics") public class MetricsProperties extends Object
@ConfigurationProperties
for configuring
Micrometer-based metrics.Modifier and Type | Class and Description |
---|---|
static class |
MetricsProperties.Data |
static class |
MetricsProperties.Distribution |
static class |
MetricsProperties.Web |
Constructor and Description |
---|
MetricsProperties() |
Modifier and Type | Method and Description |
---|---|
MetricsProperties.Data |
getData() |
MetricsProperties.Distribution |
getDistribution() |
Map<String,Boolean> |
getEnable() |
Map<String,String> |
getTags() |
MetricsProperties.Web |
getWeb() |
boolean |
isUseGlobalRegistry() |
void |
setUseGlobalRegistry(boolean useGlobalRegistry) |
public boolean isUseGlobalRegistry()
public void setUseGlobalRegistry(boolean useGlobalRegistry)
public MetricsProperties.Web getWeb()
public MetricsProperties.Data getData()
public MetricsProperties.Distribution getDistribution()