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

Method UpdateChatACLByID

coderd/database/dbmetrics/querymetrics.go:4765–4771  ·  view source on GitHub ↗
(ctx context.Context, arg database.UpdateChatACLByIDParams)

Source from the content-addressed store, hash-verified

4763}
4764
4765func (m queryMetricsStore) UpdateChatACLByID(ctx context.Context, arg database.UpdateChatACLByIDParams) error {
4766 start := time.Now()
4767 r0 := m.s.UpdateChatACLByID(ctx, arg)
4768 m.queryLatencies.WithLabelValues("UpdateChatACLByID").Observe(time.Since(start).Seconds())
4769 m.queryCounts.WithLabelValues(httpmw.ExtractHTTPRoute(ctx), httpmw.ExtractHTTPMethod(ctx), "UpdateChatACLByID").Inc()
4770 return r0
4771}
4772
4773func (m queryMetricsStore) UpdateChatBuildAgentBinding(ctx context.Context, arg database.UpdateChatBuildAgentBindingParams) (database.Chat, error) {
4774 start := time.Now()

Callers

nothing calls this directly

Calls 4

ExtractHTTPRouteFunction · 0.92
ExtractHTTPMethodFunction · 0.92
WithLabelValuesMethod · 0.80
UpdateChatACLByIDMethod · 0.65

Tested by

no test coverage detected