(ctx context.Context, includeSystem bool)
| 155 | } |
| 156 | |
| 157 | func (m queryMetricsStore) AllUserIDs(ctx context.Context, includeSystem bool) ([]uuid.UUID, error) { |
| 158 | start := time.Now() |
| 159 | r0, r1 := m.s.AllUserIDs(ctx, includeSystem) |
| 160 | m.queryLatencies.WithLabelValues("AllUserIDs").Observe(time.Since(start).Seconds()) |
| 161 | m.queryCounts.WithLabelValues(httpmw.ExtractHTTPRoute(ctx), httpmw.ExtractHTTPMethod(ctx), "AllUserIDs").Inc() |
| 162 | return r0, r1 |
| 163 | } |
| 164 | |
| 165 | func (m queryMetricsStore) ArchiveChatByID(ctx context.Context, id uuid.UUID) ([]database.Chat, error) { |
| 166 | start := time.Now() |
nothing calls this directly
no test coverage detected