(ctx context.Context, arg database.GetGroupsParams)
| 1979 | } |
| 1980 | |
| 1981 | func (m queryMetricsStore) GetGroups(ctx context.Context, arg database.GetGroupsParams) ([]database.GetGroupsRow, error) { |
| 1982 | start := time.Now() |
| 1983 | r0, r1 := m.s.GetGroups(ctx, arg) |
| 1984 | m.queryLatencies.WithLabelValues("GetGroups").Observe(time.Since(start).Seconds()) |
| 1985 | m.queryCounts.WithLabelValues(httpmw.ExtractHTTPRoute(ctx), httpmw.ExtractHTTPMethod(ctx), "GetGroups").Inc() |
| 1986 | return r0, r1 |
| 1987 | } |
| 1988 | |
| 1989 | func (m queryMetricsStore) GetHealthSettings(ctx context.Context) (string, error) { |
| 1990 | start := time.Now() |
nothing calls this directly
no test coverage detected