public static class MetricsProperties.Web.Server extends Object
Modifier and Type | Class and Description |
---|---|
static class |
MetricsProperties.Web.Server.ServerRequest |
Constructor and Description |
---|
Server() |
Modifier and Type | Method and Description |
---|---|
int |
getMaxUriTags() |
MetricsProperties.Web.Server.ServerRequest |
getRequest() |
String |
getRequestsMetricName()
Deprecated.
since 2.2.0 in favor of
MetricsProperties.Web.Server.ServerRequest.getMetricName() |
boolean |
isAutoTimeRequests()
Deprecated.
since 2.2.0 in favor of
AutoTimeProperties.isEnabled() |
void |
setAutoTimeRequests(boolean autoTimeRequests)
Deprecated.
since 2.2.0 in favor of
AutoTimeProperties.isEnabled() |
void |
setMaxUriTags(int maxUriTags) |
void |
setRequestsMetricName(String requestsMetricName)
Deprecated.
since 2.2.0 in favor of
MetricsProperties.Web.Server.ServerRequest.setMetricName(String) |
public MetricsProperties.Web.Server.ServerRequest getRequest()
@DeprecatedConfigurationProperty(replacement="management.metrics.web.server.request.autotime.enabled") @Deprecated public boolean isAutoTimeRequests()
AutoTimeProperties.isEnabled()
true
if server request should be automatically timed@Deprecated public void setAutoTimeRequests(boolean autoTimeRequests)
AutoTimeProperties.isEnabled()
autoTimeRequests
- whether server requests should be automatically
timed@DeprecatedConfigurationProperty(replacement="management.metrics.web.server.request.metric-name") @Deprecated public String getRequestsMetricName()
MetricsProperties.Web.Server.ServerRequest.getMetricName()
@Deprecated public void setRequestsMetricName(String requestsMetricName)
MetricsProperties.Web.Server.ServerRequest.setMetricName(String)
requestsMetricName
- request metric namepublic int getMaxUriTags()
public void setMaxUriTags(int maxUriTags)
Copyright © 2019 Pivotal Software, Inc.. All rights reserved.