public class MetricsConfig extends AbstractConfig
| 构造器和说明 |
|---|
MetricsConfig() |
MetricsConfig(ApplicationModel applicationModel) |
| 限定符和类型 | 方法和说明 |
|---|---|
AggregationConfig |
getAggregation() |
Boolean |
getEnableJvmMetrics() |
Integer |
getExportServicePort() |
String |
getExportServiceProtocol() |
String |
getPort() |
PrometheusConfig |
getPrometheus() |
String |
getProtocol() |
void |
setAggregation(AggregationConfig aggregation) |
void |
setEnableJvmMetrics(Boolean enableJvmMetrics) |
void |
setExportServicePort(Integer exportServicePort) |
void |
setExportServiceProtocol(String exportServiceProtocol) |
void |
setPort(String port) |
void |
setPrometheus(PrometheusConfig prometheus) |
void |
setProtocol(String protocol) |
URL |
toUrl() |
appendAttributes, appendAttributes, appendParameters, appendParameters, equals, getApplicationModel, getConfigMode, getId, getMetaData, getMetaData, getPluralTagName, getPrefixes, getScopeModel, getTagName, getTypePrefix, hashCode, isDefault, isRefreshed, isValid, overrideWithConfig, refresh, setDefault, setId, setScopeModel, toStringpublic MetricsConfig()
public MetricsConfig(ApplicationModel applicationModel)
public URL toUrl()
public String getProtocol()
public void setProtocol(String protocol)
public Boolean getEnableJvmMetrics()
public void setEnableJvmMetrics(Boolean enableJvmMetrics)
public String getPort()
public void setPort(String port)
public PrometheusConfig getPrometheus()
public void setPrometheus(PrometheusConfig prometheus)
public AggregationConfig getAggregation()
public void setAggregation(AggregationConfig aggregation)
public String getExportServiceProtocol()
public void setExportServiceProtocol(String exportServiceProtocol)
public Integer getExportServicePort()
public void setExportServicePort(Integer exportServicePort)
Copyright © 2011–2023 The Apache Software Foundation. All rights reserved.