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

Method DeleteGroupByID

coderd/database/dbmetrics/querymetrics.go:565–571  ·  view source on GitHub ↗
(ctx context.Context, id uuid.UUID)

Source from the content-addressed store, hash-verified

563}
564
565func (m queryMetricsStore) DeleteGroupByID(ctx context.Context, id uuid.UUID) error {
566 start := time.Now()
567 r0 := m.s.DeleteGroupByID(ctx, id)
568 m.queryLatencies.WithLabelValues("DeleteGroupByID").Observe(time.Since(start).Seconds())
569 m.queryCounts.WithLabelValues(httpmw.ExtractHTTPRoute(ctx), httpmw.ExtractHTTPMethod(ctx), "DeleteGroupByID").Inc()
570 return r0
571}
572
573func (m queryMetricsStore) DeleteGroupMemberFromGroup(ctx context.Context, arg database.DeleteGroupMemberFromGroupParams) error {
574 start := time.Now()

Callers

nothing calls this directly

Calls 4

ExtractHTTPRouteFunction · 0.92
ExtractHTTPMethodFunction · 0.92
WithLabelValuesMethod · 0.80
DeleteGroupByIDMethod · 0.65

Tested by

no test coverage detected