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

Method GetUserSecretsTelemetrySummary

coderd/database/querier.go:827–827  ·  view source on GitHub ↗

Returns deployment-wide aggregates for the telemetry snapshot. The denominator for both user-level counts and the per-user distribution is active non-system users. Specifically: * deleted = false: Coder soft-deletes by flipping users.deleted rather than removing rows. The delete_deleted_user_resou

(ctx context.Context)

Source from the content-addressed store, hash-verified

825 // percentile_disc returns an actual integer count from the underlying
826 // values rather than interpolating between rows.
827 GetUserSecretsTelemetrySummary(ctx context.Context) (GetUserSecretsTelemetrySummaryRow, error)
828 GetUserShellToolDisplayMode(ctx context.Context, userID uuid.UUID) (string, error)
829 GetUserSkillByUserIDAndName(ctx context.Context, arg GetUserSkillByUserIDAndNameParams) (UserSkill, error)
830 // GetUserStatusCounts returns the count of users in each status over time.

Implementers 5

sqlQueriercoderd/database/db.go
queryMetricsStorecoderd/database/dbmetrics/querymetrics
queriercoderd/database/dbauthz/dbauthz.go
MockStorecoderd/database/dbmock/dbmock.go
MockStoreMockRecordercoderd/database/dbmock/dbmock.go

Calls

no outgoing calls

Tested by 1

TestUserSecretsMethod · 0.52