summaryrefslogtreecommitdiffstats
path: root/container-core/src/main/java/com/yahoo/container/handler/metrics/PrometheusHandler.java
diff options
context:
space:
mode:
Diffstat (limited to 'container-core/src/main/java/com/yahoo/container/handler/metrics/PrometheusHandler.java')
-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());
}
}