(ctx context.Context, id uuid.UUID)
| 1923 | } |
| 1924 | |
| 1925 | func (m queryMetricsStore) GetGroupByID(ctx context.Context, id uuid.UUID) (database.Group, error) { |
| 1926 | start := time.Now() |
| 1927 | r0, r1 := m.s.GetGroupByID(ctx, id) |
| 1928 | m.queryLatencies.WithLabelValues("GetGroupByID").Observe(time.Since(start).Seconds()) |
| 1929 | m.queryCounts.WithLabelValues(httpmw.ExtractHTTPRoute(ctx), httpmw.ExtractHTTPMethod(ctx), "GetGroupByID").Inc() |
| 1930 | return r0, r1 |
| 1931 | } |
| 1932 | |
| 1933 | func (m queryMetricsStore) GetGroupByOrgAndName(ctx context.Context, arg database.GetGroupByOrgAndNameParams) (database.Group, error) { |
| 1934 | start := time.Now() |
nothing calls this directly
no test coverage detected