(ctx context.Context, userID uuid.UUID)
| 4483 | } |
| 4484 | |
| 4485 | func (m queryMetricsStore) ListUserSecrets(ctx context.Context, userID uuid.UUID) ([]database.ListUserSecretsRow, error) { |
| 4486 | start := time.Now() |
| 4487 | r0, r1 := m.s.ListUserSecrets(ctx, userID) |
| 4488 | m.queryLatencies.WithLabelValues("ListUserSecrets").Observe(time.Since(start).Seconds()) |
| 4489 | m.queryCounts.WithLabelValues(httpmw.ExtractHTTPRoute(ctx), httpmw.ExtractHTTPMethod(ctx), "ListUserSecrets").Inc() |
| 4490 | return r0, r1 |
| 4491 | } |
| 4492 | |
| 4493 | func (m queryMetricsStore) ListUserSecretsWithValues(ctx context.Context, userID uuid.UUID) ([]database.UserSecret, error) { |
| 4494 | start := time.Now() |
nothing calls this directly
no test coverage detected