Feature Request: include information in VTGate LogStats that can indicate if a scatter is happening #15896
Labels
Component: Query Serving
Type: Enhancement
Logical improvement (somewhere between a bug and feature)
Type: Feature Request
Feature Description
A common request among users of the Vitess clusters my organization operates is to know when queries are resulting in scatters.
vtgate/logstats.LogStats
has aShardQueries
field, which is great, but not all multi-shard queries are scatters.Possible ways this could be handled:
ScatterQueries
field toLogStats
incremented when a query scatters.Opcode
field toLogStats
set toScatter
when the engine opcode is such.Use Case(s)
For some users, an unintentional scatter may be the result of improper schema or query design, and they would like to know about them so they can adjust their schema or queries.
The text was updated successfully, but these errors were encountered: