Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ public record ClusterStats(
String clusterId,
int runningQueryCount,
int queuedQueryCount,
int blockedQueryCount,
int numWorkerNodes,
boolean healthy,
String proxyTo,
Expand All @@ -41,7 +40,6 @@ public static final class Builder
private final String clusterId;
private int runningQueryCount;
private int queuedQueryCount;
private int blockedQueryCount;
private int numWorkerNodes;
private boolean healthy;
private String proxyTo;
Expand All @@ -66,12 +64,6 @@ public Builder queuedQueryCount(int queuedQueryCount)
return this;
}

public Builder blockedQueryCount(int blockedQueryCount)
{
this.blockedQueryCount = blockedQueryCount;
return this;
}

public Builder numWorkerNodes(int numWorkerNodes)
{
this.numWorkerNodes = numWorkerNodes;
Expand Down Expand Up @@ -114,7 +106,6 @@ public ClusterStats build()
clusterId,
runningQueryCount,
queuedQueryCount,
blockedQueryCount,
numWorkerNodes,
healthy,
proxyTo,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,6 @@ public ClusterStats monitor(ProxyBackendConfiguration backend)
.numWorkerNodes(activeWorkers)
.queuedQueryCount((int) result.get("queuedQueries"))
.runningQueryCount((int) result.get("runningQueries"))
.blockedQueryCount((int) result.get("blockedQueries"))
.healthy(activeWorkers > 0)
.proxyTo(backend.getProxyTo())
.externalUrl(backend.getExternalUrl())
Expand Down