From b2f5096ce29934ca418325841949e5f7be010b36 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20F=C4=85derski?= Date: Wed, 30 Aug 2023 18:42:06 +0200 Subject: [PATCH] Test prometheus uri --- .../infrastructure/prometheus/RestTemplatePrometheusClient.java | 1 - 1 file changed, 1 deletion(-) diff --git a/hermes-management/src/main/java/pl/allegro/tech/hermes/management/infrastructure/prometheus/RestTemplatePrometheusClient.java b/hermes-management/src/main/java/pl/allegro/tech/hermes/management/infrastructure/prometheus/RestTemplatePrometheusClient.java index 4792aca485..17cfc0f58c 100644 --- a/hermes-management/src/main/java/pl/allegro/tech/hermes/management/infrastructure/prometheus/RestTemplatePrometheusClient.java +++ b/hermes-management/src/main/java/pl/allegro/tech/hermes/management/infrastructure/prometheus/RestTemplatePrometheusClient.java @@ -51,7 +51,6 @@ public MonitoringMetricsContainer readMetrics(String query) { private PrometheusResponse queryPrometheus(String query) { URI queryUri = URI.create(prometheusUri.toString() + "/api/v1/query?query=" + encode(query, UTF_8)); - logger.info("Prom URI: {}", queryUri); ResponseEntity response = restTemplate.exchange(queryUri, HttpMethod.GET, HttpEntity.EMPTY, PrometheusResponse.class); return response.getBody();