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

Method UpdateGitSSHKey

coderd/database/dbmetrics/querymetrics.go:4981–4987  ·  view source on GitHub ↗
(ctx context.Context, arg database.UpdateGitSSHKeyParams)

Source from the content-addressed store, hash-verified

4979}
4980
4981func (m queryMetricsStore) UpdateGitSSHKey(ctx context.Context, arg database.UpdateGitSSHKeyParams) (database.GitSSHKey, error) {
4982 start := time.Now()
4983 r0, r1 := m.s.UpdateGitSSHKey(ctx, arg)
4984 m.queryLatencies.WithLabelValues("UpdateGitSSHKey").Observe(time.Since(start).Seconds())
4985 m.queryCounts.WithLabelValues(httpmw.ExtractHTTPRoute(ctx), httpmw.ExtractHTTPMethod(ctx), "UpdateGitSSHKey").Inc()
4986 return r0, r1
4987}
4988
4989func (m queryMetricsStore) UpdateGroupByID(ctx context.Context, arg database.UpdateGroupByIDParams) (database.Group, error) {
4990 start := time.Now()

Callers

nothing calls this directly

Calls 4

ExtractHTTPRouteFunction · 0.92
ExtractHTTPMethodFunction · 0.92
WithLabelValuesMethod · 0.80
UpdateGitSSHKeyMethod · 0.65

Tested by

no test coverage detected