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

Method After

instrument/instrument.go:28–28  ·  view source on GitHub ↗
(ctx context.Context, method, statusCode string, start time.Time)

Source from the content-addressed store, hash-verified

26 Register()
27 Before(ctx context.Context, method string, start time.Time)
28 After(ctx context.Context, method, statusCode string, start time.Time)
29}
30
31// HistogramCollector collects the duration of a request

Implementers 3

HistogramCollectorinstrument/instrument.go
JobCollectorinstrument/instrument.go
spyCollectorinstrument/instrument_test.go

Calls

no outgoing calls