@Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;
        Node node = (Node) o;
        return port == node.port &&
                path.equals(node.path) &&
                role.equals(node.role) &&
                hostname.equals(node.hostname);
    }
Represents a node to retrieve metrics from.

@author gjoranv
metrics-proxy/src/main/java/ai/vespa/metricsproxy/http/application/Node.java