(ctx context.Context)
| 1739 | } |
| 1740 | |
| 1741 | func (m queryMetricsStore) GetDBCryptKeys(ctx context.Context) ([]database.DBCryptKey, error) { |
| 1742 | start := time.Now() |
| 1743 | r0, r1 := m.s.GetDBCryptKeys(ctx) |
| 1744 | m.queryLatencies.WithLabelValues("GetDBCryptKeys").Observe(time.Since(start).Seconds()) |
| 1745 | m.queryCounts.WithLabelValues(httpmw.ExtractHTTPRoute(ctx), httpmw.ExtractHTTPMethod(ctx), "GetDBCryptKeys").Inc() |
| 1746 | return r0, r1 |
| 1747 | } |
| 1748 | |
| 1749 | func (m queryMetricsStore) GetDERPMeshKey(ctx context.Context) (string, error) { |
| 1750 | start := time.Now() |
nothing calls this directly
no test coverage detected