(ctx context.Context, arg database.UpsertTaskSnapshotParams)
| 6051 | } |
| 6052 | |
| 6053 | func (m queryMetricsStore) UpsertTaskSnapshot(ctx context.Context, arg database.UpsertTaskSnapshotParams) error { |
| 6054 | start := time.Now() |
| 6055 | r0 := m.s.UpsertTaskSnapshot(ctx, arg) |
| 6056 | m.queryLatencies.WithLabelValues("UpsertTaskSnapshot").Observe(time.Since(start).Seconds()) |
| 6057 | m.queryCounts.WithLabelValues(httpmw.ExtractHTTPRoute(ctx), httpmw.ExtractHTTPMethod(ctx), "UpsertTaskSnapshot").Inc() |
| 6058 | return r0 |
| 6059 | } |
| 6060 | |
| 6061 | func (m queryMetricsStore) UpsertTaskWorkspaceApp(ctx context.Context, arg database.UpsertTaskWorkspaceAppParams) (database.TaskWorkspaceApp, error) { |
| 6062 | start := time.Now() |
nothing calls this directly
no test coverage detected