(ctx context.Context, arg database.InsertUserParams)
| 4147 | } |
| 4148 | |
| 4149 | func (m queryMetricsStore) InsertUser(ctx context.Context, arg database.InsertUserParams) (database.User, error) { |
| 4150 | start := time.Now() |
| 4151 | r0, r1 := m.s.InsertUser(ctx, arg) |
| 4152 | m.queryLatencies.WithLabelValues("InsertUser").Observe(time.Since(start).Seconds()) |
| 4153 | m.queryCounts.WithLabelValues(httpmw.ExtractHTTPRoute(ctx), httpmw.ExtractHTTPMethod(ctx), "InsertUser").Inc() |
| 4154 | return r0, r1 |
| 4155 | } |
| 4156 | |
| 4157 | func (m queryMetricsStore) InsertUserGroupsByID(ctx context.Context, arg database.InsertUserGroupsByIDParams) ([]uuid.UUID, error) { |
| 4158 | start := time.Now() |
nothing calls this directly
no test coverage detected