Package dev.tachyonmcp.api.server.config
Interface MonitoringConfig.Builder
- Enclosing interface:
MonitoringConfig
public static interface MonitoringConfig.Builder
Builder for
MonitoringConfig.-
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the monitoring configuration.default MonitoringConfig.BuilderEnables slow request logging with the default threshold.slowRequestLogging(boolean slowRequestLogging) Sets whether slow request logging is enabled.slowRequestThreshold(Duration slowRequestThreshold) Sets the slow request threshold duration.
-
Method Details
-
slowRequestLogging
Sets whether slow request logging is enabled. -
slowRequestLogging
Enables slow request logging with the default threshold. -
slowRequestThreshold
Sets the slow request threshold duration. -
build
MonitoringConfig build()Builds the monitoring configuration.
-