类 PrometheusProperties
- java.lang.Object
- org.springframework.boot.actuate.autoconfigure.metrics.export.prometheus.PrometheusProperties
@ConfigurationProperties(prefix="management.metrics.export.prometheus") public class PrometheusProperties extends Object
ConfigurationProperties
for configuring metrics export to Prometheus.- 从以下版本开始:
- 2.0.0
嵌套类概要
嵌套类 修饰符和类型 类 说明 static class
PrometheusProperties.Pushgateway
Configuration options for push-based interaction with Prometheus.
构造器概要
构造器 构造器 说明 PrometheusProperties()
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 PrometheusProperties.Pushgateway
getPushgateway()
Duration
getStep()
boolean
isDescriptions()
void
setDescriptions(boolean descriptions)
void
setStep(Duration step)
构造器详细资料
PrometheusProperties
public PrometheusProperties()
方法详细资料
isDescriptions
public boolean isDescriptions()
setDescriptions
public void setDescriptions(boolean descriptions)
getPushgateway
public PrometheusProperties.Pushgateway getPushgateway()