(ctx context.Context, activeKeyDigest string)
| 4611 | } |
| 4612 | |
| 4613 | func (m queryMetricsStore) RevokeDBCryptKey(ctx context.Context, activeKeyDigest string) error { |
| 4614 | start := time.Now() |
| 4615 | r0 := m.s.RevokeDBCryptKey(ctx, activeKeyDigest) |
| 4616 | m.queryLatencies.WithLabelValues("RevokeDBCryptKey").Observe(time.Since(start).Seconds()) |
| 4617 | m.queryCounts.WithLabelValues(httpmw.ExtractHTTPRoute(ctx), httpmw.ExtractHTTPMethod(ctx), "RevokeDBCryptKey").Inc() |
| 4618 | return r0 |
| 4619 | } |
| 4620 | |
| 4621 | func (m queryMetricsStore) SelectUsageEventsForPublishing(ctx context.Context, now time.Time) ([]database.UsageEvent, error) { |
| 4622 | start := time.Now() |
nothing calls this directly
no test coverage detected