(ctx context.Context, id uuid.UUID)
| 3099 | } |
| 3100 | |
| 3101 | func (m queryMetricsStore) GetUserSecretByID(ctx context.Context, id uuid.UUID) (database.UserSecret, error) { |
| 3102 | start := time.Now() |
| 3103 | r0, r1 := m.s.GetUserSecretByID(ctx, id) |
| 3104 | m.queryLatencies.WithLabelValues("GetUserSecretByID").Observe(time.Since(start).Seconds()) |
| 3105 | m.queryCounts.WithLabelValues(httpmw.ExtractHTTPRoute(ctx), httpmw.ExtractHTTPMethod(ctx), "GetUserSecretByID").Inc() |
| 3106 | return r0, r1 |
| 3107 | } |
| 3108 | |
| 3109 | func (m queryMetricsStore) GetUserSecretByUserIDAndName(ctx context.Context, arg database.GetUserSecretByUserIDAndNameParams) (database.UserSecret, error) { |
| 3110 | start := time.Now() |
nothing calls this directly
no test coverage detected