(ctx context.Context, arg database.InsertFileParams)
| 3883 | } |
| 3884 | |
| 3885 | func (m queryMetricsStore) InsertFile(ctx context.Context, arg database.InsertFileParams) (database.File, error) { |
| 3886 | start := time.Now() |
| 3887 | r0, r1 := m.s.InsertFile(ctx, arg) |
| 3888 | m.queryLatencies.WithLabelValues("InsertFile").Observe(time.Since(start).Seconds()) |
| 3889 | m.queryCounts.WithLabelValues(httpmw.ExtractHTTPRoute(ctx), httpmw.ExtractHTTPMethod(ctx), "InsertFile").Inc() |
| 3890 | return r0, r1 |
| 3891 | } |
| 3892 | |
| 3893 | func (m queryMetricsStore) InsertGitSSHKey(ctx context.Context, arg database.InsertGitSSHKeyParams) (database.GitSSHKey, error) { |
| 3894 | start := time.Now() |
nothing calls this directly
no test coverage detected