Interface PushRegistryConfig

    • 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:
        true if publishing is enabled. Default is true.
      • 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 your HttpSender of 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 your HttpSender of 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.