(ctx context.Context)
| 1723 | } |
| 1724 | |
| 1725 | func (m queryMetricsStore) GetCryptoKeys(ctx context.Context) ([]database.CryptoKey, error) { |
| 1726 | start := time.Now() |
| 1727 | r0, r1 := m.s.GetCryptoKeys(ctx) |
| 1728 | m.queryLatencies.WithLabelValues("GetCryptoKeys").Observe(time.Since(start).Seconds()) |
| 1729 | m.queryCounts.WithLabelValues(httpmw.ExtractHTTPRoute(ctx), httpmw.ExtractHTTPMethod(ctx), "GetCryptoKeys").Inc() |
| 1730 | return r0, r1 |
| 1731 | } |
| 1732 | |
| 1733 | func (m queryMetricsStore) GetCryptoKeysByFeature(ctx context.Context, feature database.CryptoKeyFeature) ([]database.CryptoKey, error) { |
| 1734 | start := time.Now() |
nothing calls this directly
no test coverage detected