MCPcopy Index your code
hub / github.com/coder/coder / queryMetricsStore

Struct queryMetricsStore

coderd/database/dbmetrics/querymetrics.go:67–72  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

65var _ database.Store = (*queryMetricsStore)(nil)
66
67type queryMetricsStore struct {
68 s database.Store
69 queryLatencies *prometheus.HistogramVec
70 queryCounts *prometheus.CounterVec
71 dbMetrics *metricsStore
72}
73
74func (m queryMetricsStore) Wrappers() []string {
75 return append(m.s.Wrappers(), wrapname)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected