trino-gateway icon indicating copy to clipboard operation
trino-gateway copied to clipboard

INFO_API doesn't expose queuedQueryCount and runningQueryCount

Open andythsu opened this issue 9 months ago • 2 comments

By design, queuedQueryCount and runningQueryCount are updated from health checks. However, /v1/info doesn't expose queuedQueryCount and runningQueryCount, which are the two important values for QueryCountBasedRouter to work properly. When using QueryCountBasedRouter, it is best to use other health check mechanism such as UI_API or JDBC

We should merge UI_API and INFO_API together

andythsu avatar May 24 '24 19:05 andythsu