sql: flush SQL Stats to system tables when a node is draining #74413
Labels
A-sql-observability
Related to observability of the SQL layer
C-enhancement
Solution expected to add code/behavior + preserve backward-compat (pg compat issues are exception)
Is your feature request related to a problem? Please describe.
Currently, SQL Stats periodically flushes in-memory stats into system table, or when the in-memory buffer fills up.
Additionally, we would like to flush the SQL Stats into the system table when a node is shutting down. This is important is multi-tenant environment, where a SQL Pod is shutdown after a short period of inactivity.
Describe the solution you'd like
implementing #72045 and #74412
Epic: CC-5060
The text was updated successfully, but these errors were encountered: