(ctx context.Context, id uuid.UUID)
| 4555 | } |
| 4556 | |
| 4557 | func (m queryMetricsStore) PinChatByID(ctx context.Context, id uuid.UUID) error { |
| 4558 | start := time.Now() |
| 4559 | r0 := m.s.PinChatByID(ctx, id) |
| 4560 | m.queryLatencies.WithLabelValues("PinChatByID").Observe(time.Since(start).Seconds()) |
| 4561 | m.queryCounts.WithLabelValues(httpmw.ExtractHTTPRoute(ctx), httpmw.ExtractHTTPMethod(ctx), "PinChatByID").Inc() |
| 4562 | return r0 |
| 4563 | } |
| 4564 | |
| 4565 | func (m queryMetricsStore) PopNextQueuedMessage(ctx context.Context, chatID uuid.UUID) (database.ChatQueuedMessage, error) { |
| 4566 | start := time.Now() |
nothing calls this directly
no test coverage detected