(ctx context.Context, includeSystem bool)
| 3043 | } |
| 3044 | |
| 3045 | func (m queryMetricsStore) GetUserCount(ctx context.Context, includeSystem bool) (int64, error) { |
| 3046 | start := time.Now() |
| 3047 | r0, r1 := m.s.GetUserCount(ctx, includeSystem) |
| 3048 | m.queryLatencies.WithLabelValues("GetUserCount").Observe(time.Since(start).Seconds()) |
| 3049 | m.queryCounts.WithLabelValues(httpmw.ExtractHTTPRoute(ctx), httpmw.ExtractHTTPMethod(ctx), "GetUserCount").Inc() |
| 3050 | return r0, r1 |
| 3051 | } |
| 3052 | |
| 3053 | func (m queryMetricsStore) GetUserGroupSpendLimit(ctx context.Context, userID database.GetUserGroupSpendLimitParams) (int64, error) { |
| 3054 | start := time.Now() |
nothing calls this directly
no test coverage detected