(ctx context.Context, id uuid.UUID)
| 1291 | } |
| 1292 | |
| 1293 | func (m queryMetricsStore) GetChatACLByID(ctx context.Context, id uuid.UUID) (database.GetChatACLByIDRow, error) { |
| 1294 | start := time.Now() |
| 1295 | r0, r1 := m.s.GetChatACLByID(ctx, id) |
| 1296 | m.queryLatencies.WithLabelValues("GetChatACLByID").Observe(time.Since(start).Seconds()) |
| 1297 | m.queryCounts.WithLabelValues(httpmw.ExtractHTTPRoute(ctx), httpmw.ExtractHTTPMethod(ctx), "GetChatACLByID").Inc() |
| 1298 | return r0, r1 |
| 1299 | } |
| 1300 | |
| 1301 | func (m queryMetricsStore) GetChatAdvisorConfig(ctx context.Context) (string, error) { |
| 1302 | start := time.Now() |
nothing calls this directly
no test coverage detected