MCPcopy
hub / github.com/grafana/dskit / instrumentedGate

Struct instrumentedGate

gate/gate.go:82–88  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

80}
81
82type instrumentedGate struct {
83 gate Gate
84
85 max prometheus.Gauge
86 inflight prometheus.Gauge
87 duration *prometheus.HistogramVec
88}
89
90func (g *instrumentedGate) Start(ctx context.Context) error {
91 start := time.Now()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected