Documentation
¶
Overview ¶
Package platformstats writes daily admin-dashboard rollups to devpulse_platform_stats. Both the admin handler and the import job snapshot stats so DoD/WoW/MoM deltas remain meaningful even on days no admin visits the dashboard.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Stats ¶
type Stats struct {
Tenants int `json:"tenants"`
TenantsFree int `json:"tenants_free"`
TenantsStarter int `json:"tenants_starter"`
TenantsPro int `json:"tenants_pro"`
TenantsEnterprise int `json:"tenants_enterprise"`
Repos int `json:"repos"`
Events int64 `json:"events"`
Contributors int `json:"contributors"`
Installations int `json:"installations"`
ReposWithErrors int `json:"repos_with_errors"`
}
Stats is a single daily rollup row in devpulse_platform_stats.
Click to show internal directories.
Click to hide internal directories.