Class RestPrometheusMetricReader

    • Field Detail

      • LOGGER

        private static final org.slf4j.Logger LOGGER
      • url

        private final okhttp3.HttpUrl url
    • Constructor Detail

      • RestPrometheusMetricReader

        public RestPrometheusMetricReader​(okhttp3.HttpUrl url)
    • Method Detail

      • waitForSnapshot

        public void waitForSnapshot​(String connectorName,
                                    String metricName)
        Waits until Snapshot phase of given connector completes
        Parameters:
        connectorName - name of the connect
        metricName - name of the metric used to determine the state