Skip to content

Commit

Permalink
SelfMetricReadParams includes TabletManagerClient and TabletInfo
Browse files Browse the repository at this point in the history
Signed-off-by: Shlomi Noach <[email protected]>
  • Loading branch information
shlomi-noach committed Oct 7, 2024
1 parent 38b9d73 commit adfcf6d
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions go/vt/vttablet/tabletserver/throttle/base/self_metric.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,16 @@ import (
"fmt"
"strconv"

"vitess.io/vitess/go/vt/topo"
"vitess.io/vitess/go/vt/vttablet/tabletserver/connpool"
"vitess.io/vitess/go/vt/vttablet/tmclient"
)

type SelfMetricReadParams struct {
Throttler ThrottlerMetricsPublisher
Conn *connpool.Conn
TmClient *tmclient.TabletManagerClient
Throttler ThrottlerMetricsPublisher
Conn *connpool.Conn
TmClient tmclient.TabletManagerClient
TabletInfo *topo.TabletInfo
}

type SelfMetric interface {
Expand Down

0 comments on commit adfcf6d

Please sign in to comment.