aturoczy commented on PR #6541:
URL: https://github.com/apache/hive/pull/6541#issuecomment-4702611103

   I checked the enum states, and I think we should extend the dashboard with 
the following numbers:
   
   * **Pending Queries**: this would be a new metric for queued queries.
   * **Active Queries**: the current “Open Queries” maps to the `RUNNING` enum 
state. I think “Active Queries” or “Running Queries” would be more expressive.
   * **Finished Queries**: the current “Closed Queries” maps to the `CLOSED` 
enum state. There is also a `FINISHED` enum state, but as I understand it, 
`FINISHED` means the query execution has completed, while the client has not 
pulled all the data yet. `CLOSED` means the client is fully done with it. From 
an end-user perspective, `CLOSED` is probably the best state for filtering, but 
for the dashboard label, I think “Finished Queries” would be clearer. We could 
add a tooltip explaining that this metric represents queries in `CLOSED` status.
   * **Failed Queries**: I think we should add this as well for queries in 
`ERROR` state.
   
   What do you think?
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to