MCPcopy Index your code
hub / github.com/coder/coder / UpsertLogoURL

Method UpsertLogoURL

coderd/database/dbmetrics/querymetrics.go:5965–5971  ·  view source on GitHub ↗
(ctx context.Context, value string)

Source from the content-addressed store, hash-verified

5963}
5964
5965func (m queryMetricsStore) UpsertLogoURL(ctx context.Context, value string) error {
5966 start := time.Now()
5967 r0 := m.s.UpsertLogoURL(ctx, value)
5968 m.queryLatencies.WithLabelValues("UpsertLogoURL").Observe(time.Since(start).Seconds())
5969 m.queryCounts.WithLabelValues(httpmw.ExtractHTTPRoute(ctx), httpmw.ExtractHTTPMethod(ctx), "UpsertLogoURL").Inc()
5970 return r0
5971}
5972
5973func (m queryMetricsStore) UpsertMCPServerUserToken(ctx context.Context, arg database.UpsertMCPServerUserTokenParams) (database.MCPServerUserToken, error) {
5974 start := time.Now()

Callers

nothing calls this directly

Calls 4

ExtractHTTPRouteFunction · 0.92
ExtractHTTPMethodFunction · 0.92
WithLabelValuesMethod · 0.80
UpsertLogoURLMethod · 0.65

Tested by

no test coverage detected