@ConfigurationProperties(value="management.metrics") public class MetricsProperties extends Object
ConfigurationProperties
for configuring Micrometer-based metrics.Modifier and Type | Class and Description |
---|---|
static class |
MetricsProperties.Distribution |
static class |
MetricsProperties.Web |
Constructor and Description |
---|
MetricsProperties() |
Modifier and Type | Method and Description |
---|---|
MetricsProperties.Distribution |
getDistribution() |
Map<String,Boolean> |
getEnable() |
MetricsProperties.Web |
getWeb() |
boolean |
isUseGlobalRegistry() |
void |
setEnable(Map<String,Boolean> enable) |
void |
setUseGlobalRegistry(boolean useGlobalRegistry) |
public boolean isUseGlobalRegistry()
public void setUseGlobalRegistry(boolean useGlobalRegistry)
public MetricsProperties.Web getWeb()
public MetricsProperties.Distribution getDistribution()
Copyright © 2019 Pivotal Software, Inc.. All rights reserved.