Skip to content

Commit

Permalink
Test prometheus uri
Browse files Browse the repository at this point in the history
  • Loading branch information
faderskd committed Aug 30, 2023
1 parent a7a0d8b commit b2f5096
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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<PrometheusResponse> response = restTemplate.exchange(queryUri,
HttpMethod.GET, HttpEntity.EMPTY, PrometheusResponse.class);
return response.getBody();
Expand Down

0 comments on commit b2f5096

Please sign in to comment.