Class PrometheusProperties.Pushgateway
java.lang.Object
org.springframework.boot.micrometer.metrics.autoconfigure.export.prometheus.PrometheusProperties.Pushgateway
- Enclosing class:
PrometheusProperties
Configuration options for push-based interaction with Prometheus.
- Since:
- 4.0.0
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumstatic enum -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription@Nullable StringgetJob()@Nullable String@Nullable StringgetToken()@Nullable StringbooleanvoidsetAddress(String address) voidsetEnabled(boolean enabled) voidvoidsetGroupingKey(Map<String, String> groupingKey) voidvoidsetPassword(@Nullable String password) voidsetPushRate(Duration pushRate) voidvoidsetShutdownOperation(PrometheusPushGatewayManager.ShutdownOperation shutdownOperation) voidvoidsetUsername(@Nullable String username)
-
Constructor Details
-
Pushgateway
public Pushgateway()
-
-
Method Details
-
isEnabled
public boolean isEnabled() -
setEnabled
public void setEnabled(boolean enabled) -
getAddress
-
setAddress
-
getUsername
-
setUsername
-
getPassword
-
setPassword
-
getPushRate
-
setPushRate
-
getJob
-
setJob
-
getGroupingKey
-
setGroupingKey
-
getShutdownOperation
-
setShutdownOperation
-
getScheme
-
setScheme
-
getToken
-
setToken
-
getFormat
-
setFormat
-