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

Method listMetrics

coderd/prometheusmetrics/aggregator.go:273–279  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

271}
272
273func (a *labelAggregator) listMetrics() []annotatedMetric {
274 var out []annotatedMetric
275 for _, am := range a.metrics {
276 out = append(out, am)
277 }
278 return out
279}
280
281func (ma *MetricsAggregator) Run(ctx context.Context) func() {
282 ctx, cancelFunc := context.WithCancel(ctx)

Callers 1

RunMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected