Interface MetricsReporterConfig
- All Known Implementing Classes:
DefaultMetricsReporterConfig
public interface MetricsReporterConfig
Provides the configuration settings of metrics reporting inside of persistence health checking.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic enumAn enumeration of the known config path expressions and their associated default values forMetricsReporterConfig. -
Method Summary
Modifier and TypeMethodDescriptionintReturns how many historical items to keep.Returns the resolution how far apart each measurement should be done.
-
Method Details
-
getResolution
Duration getResolution()Returns the resolution how far apart each measurement should be done.- Returns:
- the resolution how far apart each measurement should be done.
-
getHistory
int getHistory()Returns how many historical items to keep.- Returns:
- how many historical items to keep.
-