From a0966bb3ffc44e72ad5ce52898cd18fe5068b04e Mon Sep 17 00:00:00 2001 From: HÃ¥kon Hallingstad Date: Mon, 30 Oct 2017 01:24:21 +0100 Subject: Use host tag instead of hostname --- .../com/yahoo/vespa/hosted/provision/maintenance/MetricsReporter.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'node-repository') diff --git a/node-repository/src/main/java/com/yahoo/vespa/hosted/provision/maintenance/MetricsReporter.java b/node-repository/src/main/java/com/yahoo/vespa/hosted/provision/maintenance/MetricsReporter.java index 1416fb23ece..8448597fdee 100644 --- a/node-repository/src/main/java/com/yahoo/vespa/hosted/provision/maintenance/MetricsReporter.java +++ b/node-repository/src/main/java/com/yahoo/vespa/hosted/provision/maintenance/MetricsReporter.java @@ -68,7 +68,7 @@ public class MetricsReporter extends Maintainer { ApplicationId applicationId = allocation.get().owner(); context = getContextAt( "state", node.state().name(), - "hostname", node.hostname(), + "host", node.hostname(), "tenantName", applicationId.tenant().value(), "applicationId", applicationId.serializedForm().replace(':', '.'), "app", toApp(applicationId), @@ -93,7 +93,7 @@ public class MetricsReporter extends Maintainer { } else { context = getContextAt( "state", node.state().name(), - "hostname", node.hostname()); + "host", node.hostname()); } Optional currentVersion = node.status().vespaVersion(); -- cgit v1.2.3