Package com.rale4j.sb.config
Class RateLimitProperties.Prometheus
java.lang.Object
com.rale4j.sb.config.RateLimitProperties.Prometheus
- Enclosing class:
RateLimitProperties
Prometheus observability configuration.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
Checks if Prometheus observability is enabled.void
setEnabled
(boolean enabled) Sets the Prometheus observability enabled state.
-
Constructor Details
-
Prometheus
public Prometheus()
-
-
Method Details
-
isEnabled
public boolean isEnabled()Checks if Prometheus observability is enabled.- Returns:
- true if enabled, false otherwise
-
setEnabled
public void setEnabled(boolean enabled) Sets the Prometheus observability enabled state.- Parameters:
enabled
- the enabled state
-