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

Method DeleteLicense

coderd/database/dbmetrics/querymetrics.go:581–587  ·  view source on GitHub ↗
(ctx context.Context, id int32)

Source from the content-addressed store, hash-verified

579}
580
581func (m queryMetricsStore) DeleteLicense(ctx context.Context, id int32) (int32, error) {
582 start := time.Now()
583 r0, r1 := m.s.DeleteLicense(ctx, id)
584 m.queryLatencies.WithLabelValues("DeleteLicense").Observe(time.Since(start).Seconds())
585 m.queryCounts.WithLabelValues(httpmw.ExtractHTTPRoute(ctx), httpmw.ExtractHTTPMethod(ctx), "DeleteLicense").Inc()
586 return r0, r1
587}
588
589func (m queryMetricsStore) DeleteMCPServerConfigByID(ctx context.Context, id uuid.UUID) error {
590 start := time.Now()

Callers

nothing calls this directly

Calls 4

ExtractHTTPRouteFunction · 0.92
ExtractHTTPMethodFunction · 0.92
WithLabelValuesMethod · 0.80
DeleteLicenseMethod · 0.65

Tested by

no test coverage detected