(ctx context.Context)
| 2083 | } |
| 2084 | |
| 2085 | func (m queryMetricsStore) GetLicenses(ctx context.Context) ([]database.License, error) { |
| 2086 | start := time.Now() |
| 2087 | r0, r1 := m.s.GetLicenses(ctx) |
| 2088 | m.queryLatencies.WithLabelValues("GetLicenses").Observe(time.Since(start).Seconds()) |
| 2089 | m.queryCounts.WithLabelValues(httpmw.ExtractHTTPRoute(ctx), httpmw.ExtractHTTPMethod(ctx), "GetLicenses").Inc() |
| 2090 | return r0, r1 |
| 2091 | } |
| 2092 | |
| 2093 | func (m queryMetricsStore) GetLogoURL(ctx context.Context) (string, error) { |
| 2094 | start := time.Now() |
nothing calls this directly
no test coverage detected