@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() |
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.Distribution getDistribution()
Copyright © 2018 Pivotal Software, Inc.. All rights reserved.