diff options
author | Geir Storli <geirst@oath.com> | 2018-02-22 17:07:18 +0100 |
---|---|---|
committer | Geir Storli <geirst@oath.com> | 2018-02-22 17:07:18 +0100 |
commit | 75519e0e6f6b9d77ad3796367203c6f41e3ae9d6 (patch) | |
tree | 10ec95318849934b96a203ff34f77b4a6016652e /clustercontroller-core/src/main/java/com/yahoo/vespa/clustercontroller/core/ContentCluster.java | |
parent | 92553c74190b24aba862bcd8c91815eb4649e43e (diff) |
Remove never used distributor-put-latency metrics from restapiv2.
Diffstat (limited to 'clustercontroller-core/src/main/java/com/yahoo/vespa/clustercontroller/core/ContentCluster.java')
-rw-r--r-- | clustercontroller-core/src/main/java/com/yahoo/vespa/clustercontroller/core/ContentCluster.java | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/clustercontroller-core/src/main/java/com/yahoo/vespa/clustercontroller/core/ContentCluster.java b/clustercontroller-core/src/main/java/com/yahoo/vespa/clustercontroller/core/ContentCluster.java index 0ff59c26c13..74ddd941afb 100644 --- a/clustercontroller-core/src/main/java/com/yahoo/vespa/clustercontroller/core/ContentCluster.java +++ b/clustercontroller-core/src/main/java/com/yahoo/vespa/clustercontroller/core/ContentCluster.java @@ -165,19 +165,6 @@ public class ContentCluster { } } - public StorageNodeStats getStorageNodeStats(int storageNodeIndex) { - LatencyStats aggregatePutLatencyStats = new LatencyStats(); - StorageNodeStats aggregateStats = new StorageNodeStats(aggregatePutLatencyStats); - for (DistributorNodeInfo distributor : clusterInfo.getDistributorNodeInfo()) { - StorageNodeStats statsFromDistributor = distributor.getStorageNodeStatsOrNull(storageNodeIndex); - if (statsFromDistributor != null) { - aggregateStats.add(statsFromDistributor); - } - } - - return aggregateStats; - } - /** * Checks if a node can be upgraded * |