(ctx context.Context, arg database.LinkChatFilesParams)
| 4331 | } |
| 4332 | |
| 4333 | func (m queryMetricsStore) LinkChatFiles(ctx context.Context, arg database.LinkChatFilesParams) (int32, error) { |
| 4334 | start := time.Now() |
| 4335 | r0, r1 := m.s.LinkChatFiles(ctx, arg) |
| 4336 | m.queryLatencies.WithLabelValues("LinkChatFiles").Observe(time.Since(start).Seconds()) |
| 4337 | m.queryCounts.WithLabelValues(httpmw.ExtractHTTPRoute(ctx), httpmw.ExtractHTTPMethod(ctx), "LinkChatFiles").Inc() |
| 4338 | return r0, r1 |
| 4339 | } |
| 4340 | |
| 4341 | func (m queryMetricsStore) ListAIBridgeClients(ctx context.Context, arg database.ListAIBridgeClientsParams) ([]string, error) { |
| 4342 | start := time.Now() |
nothing calls this directly
no test coverage detected