diff options
Diffstat (limited to 'node-admin/src/main/java/com/yahoo/vespa/hosted/node/admin/nodeadmin/NodeAdmin.java')
-rw-r--r-- | node-admin/src/main/java/com/yahoo/vespa/hosted/node/admin/nodeadmin/NodeAdmin.java | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/node-admin/src/main/java/com/yahoo/vespa/hosted/node/admin/nodeadmin/NodeAdmin.java b/node-admin/src/main/java/com/yahoo/vespa/hosted/node/admin/nodeadmin/NodeAdmin.java index ca9083e9d27..00ec985ba0c 100644 --- a/node-admin/src/main/java/com/yahoo/vespa/hosted/node/admin/nodeadmin/NodeAdmin.java +++ b/node-admin/src/main/java/com/yahoo/vespa/hosted/node/admin/nodeadmin/NodeAdmin.java @@ -9,7 +9,7 @@ import java.util.Set; /** * NodeAdmin manages the life cycle of NodeAgents. - * @author dybis + * @author Haakon Dybdahl */ public interface NodeAdmin { @@ -19,6 +19,9 @@ public interface NodeAdmin { /** Gather node agent and its docker container metrics and forward them to the {@code MetricReceiverWrapper} */ void updateNodeAgentMetrics(); + /** Gather node admin metrics and forward them to the {@code MetricReceiverWrapper} */ + void updateNodeAdminMetrics(); + /** * Attempts to freeze/unfreeze all NodeAgents and itself. To freeze a NodeAgent means that * they will not pick up any changes from NodeRepository. @@ -29,7 +32,7 @@ public interface NodeAdmin { boolean setFrozen(boolean frozen); /** - * Returns whether the NodeAdmin itself is currently frozen, meaning it will not pick up any changes + * Returns whether NodeAdmin itself is currently frozen, meaning it will not pick up any changes * from NodeRepository. */ boolean isFrozen(); |