(ctx context.Context, arg database.InsertChatFileParams)
| 3803 | } |
| 3804 | |
| 3805 | func (m queryMetricsStore) InsertChatFile(ctx context.Context, arg database.InsertChatFileParams) (database.InsertChatFileRow, error) { |
| 3806 | start := time.Now() |
| 3807 | r0, r1 := m.s.InsertChatFile(ctx, arg) |
| 3808 | m.queryLatencies.WithLabelValues("InsertChatFile").Observe(time.Since(start).Seconds()) |
| 3809 | m.queryCounts.WithLabelValues(httpmw.ExtractHTTPRoute(ctx), httpmw.ExtractHTTPMethod(ctx), "InsertChatFile").Inc() |
| 3810 | return r0, r1 |
| 3811 | } |
| 3812 | |
| 3813 | func (m queryMetricsStore) InsertChatMessages(ctx context.Context, arg database.InsertChatMessagesParams) ([]database.ChatMessage, error) { |
| 3814 | start := time.Now() |
nothing calls this directly
no test coverage detected