aboutsummaryrefslogtreecommitdiffstats
path: root/container-core/src/main
diff options
context:
space:
mode:
authorAmund Bergland Kvalsvik <akvalsvik@verizonmedia.com>2020-06-26 13:58:47 +0200
committerAmund Bergland Kvalsvik <akvalsvik@verizonmedia.com>2020-06-26 13:58:47 +0200
commitceefd8b84776647662d23018bc62139c86e225bd (patch)
treee54cfeafda6635301dac39ad03e03dfdcb967cd3 /container-core/src/main
parent8a03578398636b9a410dbac3dbe16ccfe0292880 (diff)
Cleaned up testing
Diffstat (limited to 'container-core/src/main')
-rw-r--r--container-core/src/main/java/com/yahoo/container/handler/metrics/PrometheusHandler.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/container-core/src/main/java/com/yahoo/container/handler/metrics/PrometheusHandler.java b/container-core/src/main/java/com/yahoo/container/handler/metrics/PrometheusHandler.java
index e6683583ca6..5010e6a3a8d 100644
--- a/container-core/src/main/java/com/yahoo/container/handler/metrics/PrometheusHandler.java
+++ b/container-core/src/main/java/com/yahoo/container/handler/metrics/PrometheusHandler.java
@@ -47,10 +47,10 @@ public class PrometheusHandler extends HttpHandlerBase{
private HttpResponse valuesResponse(String consumer) {
try {
String uri = prometheusProxyUri + consumerQuery(consumer);
- String prometheusText = httpClient.execute(new HttpGet(uri), new BasicResponseHandler())
+ String prometheusText = httpClient.execute(new HttpGet(uri), new BasicResponseHandler());
return new StringResponse(prometheusText);
} catch (IOException e) {
- log.warning("Unable to retrieve metrics from " + metricsProxyUri + ": " + Exceptions.toMessageString(e));
+ log.warning("Unable to retrieve metrics from " + prometheusProxyUri + ": " + Exceptions.toMessageString(e));
return new ErrorResponse(INTERNAL_SERVER_ERROR, e.getMessage());
}
}