Class RestTemplatePrometheusClient
java.lang.Object
pl.allegro.tech.hermes.management.infrastructure.prometheus.RestTemplatePrometheusClient
- All Implemented Interfaces:
PrometheusClient
-
Field Summary
Fields inherited from interface pl.allegro.tech.hermes.management.infrastructure.prometheus.PrometheusClient
SUBSCRIPTION_QUERY_FORMAT, SUBSCRIPTION_QUERY_FORMAT_STATUS_CODE, TOPIC_QUERY_FORMAT -
Constructor Summary
ConstructorsConstructorDescriptionRestTemplatePrometheusClient(org.springframework.web.client.RestTemplate restTemplate, URI prometheusUri, ExecutorService executorService, Duration fetchingTimeoutMillis, io.micrometer.core.instrument.MeterRegistry meterRegistry) -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface pl.allegro.tech.hermes.management.infrastructure.prometheus.PrometheusClient
readMetrics
-
Constructor Details
-
RestTemplatePrometheusClient
public RestTemplatePrometheusClient(org.springframework.web.client.RestTemplate restTemplate, URI prometheusUri, ExecutorService executorService, Duration fetchingTimeoutMillis, io.micrometer.core.instrument.MeterRegistry meterRegistry)
-
-
Method Details
-
readMetrics
- Specified by:
readMetricsin interfacePrometheusClient
-