public class NamingConfig extends Object
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
String |
getApplicationName()
Retrieves the application name to be used in the node-specific prefix for metrics.
|
String |
getDatacenterName()
Retrieves the data center name to be used in the node-specific prefix for metrics.
|
MetricNamePostfixPolicy |
getMetricNamePostfixPolicy()
Retrieves the policy for appending metric types to metric names.
|
String |
getNodeGroupName()
Retrieves the node group name to be used in the node-specific prefix for metrics.
|
String |
getNodeId()
Retrieves the node ID to be used in the node-specific prefix for metrics.
|
int |
hashCode() |
boolean |
isAppendTypeToHealthCheckNames()
Indicates whether type ("HealthCheck") should be appended to health check names or not.
|
String |
toString() |
public String getApplicationName()
AppInfo. This value is guaranteed to be
non-null by the MonitoringCenterConfig.Builder.public String getDatacenterName()
NodeInfo. This value is guaranteed to be non-null
with the default being MonitoringCenterConfig.Builder.NONE.public String getNodeGroupName()
NodeInfo. This value is guaranteed to be non-null
with the default being MonitoringCenterConfig.Builder.NONE.public String getNodeId()
NodeInfo. This value is guaranteed to be non-null with the default
being MonitoringCenterConfig.Builder.NONE.public MetricNamePostfixPolicy getMetricNamePostfixPolicy()
MetricNamePostfixPolicypublic boolean isAppendTypeToHealthCheckNames()
Copyright © 2016–2019. All rights reserved.