(ctx context.Context)
| 1987 | } |
| 1988 | |
| 1989 | func (m queryMetricsStore) GetHealthSettings(ctx context.Context) (string, error) { |
| 1990 | start := time.Now() |
| 1991 | r0, r1 := m.s.GetHealthSettings(ctx) |
| 1992 | m.queryLatencies.WithLabelValues("GetHealthSettings").Observe(time.Since(start).Seconds()) |
| 1993 | m.queryCounts.WithLabelValues(httpmw.ExtractHTTPRoute(ctx), httpmw.ExtractHTTPMethod(ctx), "GetHealthSettings").Inc() |
| 1994 | return r0, r1 |
| 1995 | } |
| 1996 | |
| 1997 | func (m queryMetricsStore) GetInboxNotificationByID(ctx context.Context, id uuid.UUID) (database.InboxNotification, error) { |
| 1998 | start := time.Now() |
nothing calls this directly
no test coverage detected