(ctx context.Context, id uuid.UUID)
| 1451 | } |
| 1452 | |
| 1453 | func (m queryMetricsStore) GetChatFileByID(ctx context.Context, id uuid.UUID) (database.ChatFile, error) { |
| 1454 | start := time.Now() |
| 1455 | r0, r1 := m.s.GetChatFileByID(ctx, id) |
| 1456 | m.queryLatencies.WithLabelValues("GetChatFileByID").Observe(time.Since(start).Seconds()) |
| 1457 | m.queryCounts.WithLabelValues(httpmw.ExtractHTTPRoute(ctx), httpmw.ExtractHTTPMethod(ctx), "GetChatFileByID").Inc() |
| 1458 | return r0, r1 |
| 1459 | } |
| 1460 | |
| 1461 | func (m queryMetricsStore) GetChatFileMetadataByChatID(ctx context.Context, chatID uuid.UUID) ([]database.GetChatFileMetadataByChatIDRow, error) { |
| 1462 | start := time.Now() |
nothing calls this directly
no test coverage detected