(ctx context.Context)
| 2379 | } |
| 2380 | |
| 2381 | func (m queryMetricsStore) GetPrebuildMetrics(ctx context.Context) ([]database.GetPrebuildMetricsRow, error) { |
| 2382 | start := time.Now() |
| 2383 | r0, r1 := m.s.GetPrebuildMetrics(ctx) |
| 2384 | m.queryLatencies.WithLabelValues("GetPrebuildMetrics").Observe(time.Since(start).Seconds()) |
| 2385 | m.queryCounts.WithLabelValues(httpmw.ExtractHTTPRoute(ctx), httpmw.ExtractHTTPMethod(ctx), "GetPrebuildMetrics").Inc() |
| 2386 | return r0, r1 |
| 2387 | } |
| 2388 | |
| 2389 | func (m queryMetricsStore) GetPrebuildsSettings(ctx context.Context) (string, error) { |
| 2390 | start := time.Now() |
nothing calls this directly
no test coverage detected