trino-gateway
trino-gateway copied to clipboard
INFO_API doesn't expose queuedQueryCount and runningQueryCount
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