Interface PushRegistryConfig
-
- All Superinterfaces:
MeterRegistryConfig
- All Known Subinterfaces:
LoggingRegistryConfig,StepRegistryConfig
public interface PushRegistryConfig extends MeterRegistryConfig
Common configuration settings for any registry that pushes aggregated metrics on a regular interval.
-
-
Method Summary
All Methods Instance Methods Default Methods Deprecated Methods Modifier and Type Method Description default intbatchSize()default java.time.DurationconnectTimeout()Deprecated.Connect timeout and read timeout have different meanings depending on the HTTP client.default booleanenabled()default intnumThreads()default java.time.DurationreadTimeout()Deprecated.Connect timeout and read timeout have different meanings depending on the HTTP client.default java.time.Durationstep()-
Methods inherited from interface io.micrometer.core.instrument.config.MeterRegistryConfig
get, prefix
-
-
-
-
Method Detail
-
step
default java.time.Duration step()
- Returns:
- The step size (reporting frequency) to use. The default is 1 minute.
-
enabled
default boolean enabled()
- Returns:
trueif publishing is enabled. Default istrue.
-
numThreads
default int numThreads()
- Returns:
- The number of threads to use with the scheduler. The default is 2 threads.
-
connectTimeout
@Deprecated default java.time.Duration connectTimeout()
Deprecated.Connect timeout and read timeout have different meanings depending on the HTTP client. Configure timeout options on yourHttpSenderof choice instead.- Returns:
- The connection timeout for requests to the backend. The default is 1 second.
-
readTimeout
@Deprecated default java.time.Duration readTimeout()
Deprecated.Connect timeout and read timeout have different meanings depending on the HTTP client. Configure timeout options on yourHttpSenderof choice instead.- Returns:
- The read timeout for requests to the backend. The default is 10 seconds.
-
batchSize
default int batchSize()
- Returns:
- The number of measurements per request to use for the backend. If more measurements are found, then multiple requests will be made. The default is 10,000.
-
-