summaryrefslogtreecommitdiffstats
path: root/node-repository
diff options
context:
space:
mode:
authorHåkon Hallingstad <hakon@oath.com>2017-10-30 01:24:21 +0100
committerHåkon Hallingstad <hakon@oath.com>2017-10-30 01:24:21 +0100
commita0966bb3ffc44e72ad5ce52898cd18fe5068b04e (patch)
tree48228aefc5ce18f55677a84a8c45c212dc470c8a /node-repository
parent6adbc952028257739f526a758f4ea94aaec95b39 (diff)
Use host tag instead of hostname
Diffstat (limited to 'node-repository')
-rw-r--r--node-repository/src/main/java/com/yahoo/vespa/hosted/provision/maintenance/MetricsReporter.java4
1 files changed, 2 insertions, 2 deletions
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<Version> currentVersion = node.status().vespaVersion();