(ctx context.Context, arg database.GetChatCostSummaryParams)
| 1363 | } |
| 1364 | |
| 1365 | func (m queryMetricsStore) GetChatCostSummary(ctx context.Context, arg database.GetChatCostSummaryParams) (database.GetChatCostSummaryRow, error) { |
| 1366 | start := time.Now() |
| 1367 | r0, r1 := m.s.GetChatCostSummary(ctx, arg) |
| 1368 | m.queryLatencies.WithLabelValues("GetChatCostSummary").Observe(time.Since(start).Seconds()) |
| 1369 | m.queryCounts.WithLabelValues(httpmw.ExtractHTTPRoute(ctx), httpmw.ExtractHTTPMethod(ctx), "GetChatCostSummary").Inc() |
| 1370 | return r0, r1 |
| 1371 | } |
| 1372 | |
| 1373 | func (m queryMetricsStore) GetChatDebugLoggingAllowUsers(ctx context.Context) (bool, error) { |
| 1374 | start := time.Now() |
nothing calls this directly
no test coverage detected