Skip to content

Commit

Permalink
Throttler multi-metrics: an incremental PR
Browse files Browse the repository at this point in the history
Signed-off-by: Shlomi Noach <[email protected]>
  • Loading branch information
shlomi-noach committed May 26, 2024
1 parent d95ce48 commit e9b68ee
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions go/vt/vttablet/tabletserver/throttle/throttler.go
Original file line number Diff line number Diff line change
Expand Up @@ -148,8 +148,9 @@ type throttlerTopoService interface {
GetSrvKeyspace(ctx context.Context, cell, keyspace string) (*topodatapb.SrvKeyspace, error)
}

// Throttler is the main entity in the throttling mechanism. This service runs, probes, collects data,
// aggregates, reads inventory, provides information, etc.
// Throttler is the main entity in the tablet throttling mechanism.
// It collectes (multi) metrics, reads configuration from topo, and throttles requests based on the
// identity of the requesting apps and of collected metrics
type Throttler struct {
keyspace string
shard string
Expand Down

0 comments on commit e9b68ee

Please sign in to comment.