(ctx context.Context, arg database.GetUsersParams)
| 3171 | } |
| 3172 | |
| 3173 | func (m queryMetricsStore) GetUsers(ctx context.Context, arg database.GetUsersParams) ([]database.GetUsersRow, error) { |
| 3174 | start := time.Now() |
| 3175 | r0, r1 := m.s.GetUsers(ctx, arg) |
| 3176 | m.queryLatencies.WithLabelValues("GetUsers").Observe(time.Since(start).Seconds()) |
| 3177 | m.queryCounts.WithLabelValues(httpmw.ExtractHTTPRoute(ctx), httpmw.ExtractHTTPMethod(ctx), "GetUsers").Inc() |
| 3178 | return r0, r1 |
| 3179 | } |
| 3180 | |
| 3181 | func (m queryMetricsStore) GetUsersByIDs(ctx context.Context, ids []uuid.UUID) ([]database.User, error) { |
| 3182 | start := time.Now() |
nothing calls this directly
no test coverage detected