(ctx context.Context, arg database.DeleteOldChatFilesParams)
| 691 | } |
| 692 | |
| 693 | func (m queryMetricsStore) DeleteOldChatFiles(ctx context.Context, arg database.DeleteOldChatFilesParams) (int64, error) { |
| 694 | start := time.Now() |
| 695 | r0, r1 := m.s.DeleteOldChatFiles(ctx, arg) |
| 696 | m.queryLatencies.WithLabelValues("DeleteOldChatFiles").Observe(time.Since(start).Seconds()) |
| 697 | m.queryCounts.WithLabelValues(httpmw.ExtractHTTPRoute(ctx), httpmw.ExtractHTTPMethod(ctx), "DeleteOldChatFiles").Inc() |
| 698 | return r0, r1 |
| 699 | } |
| 700 | |
| 701 | func (m queryMetricsStore) DeleteOldChats(ctx context.Context, arg database.DeleteOldChatsParams) (int64, error) { |
| 702 | start := time.Now() |
nothing calls this directly
no test coverage detected