Versions in this module Expand all Collapse all v0 v0.2.0 Apr 25, 2026 Changes in this version + type MetricsEntity struct + Endpoint string + Healthy bool + ID string + Name string + PoolCount int + ScaleSetCount int + Type string + type MetricsHub struct + func NewMetricsHub(ctx context.Context) *MetricsHub + func (m *MetricsHub) Register(client *websocket.Client) error + func (m *MetricsHub) Start() error + func (m *MetricsHub) Stop() error + func (m *MetricsHub) Unregister(client *websocket.Client) error + type MetricsPool struct + Enabled bool + EnterpriseName string + ID string + MaxRunners uint + OSType string + OrgName string + ProviderName string + RepoName string + RunnerCounts map[string]int + RunnerStatusCounts map[string]int + type MetricsScaleSet struct + Enabled bool + EnterpriseName string + ID uint + MaxRunners uint + Name string + OSType string + OrgName string + ProviderName string + RepoName string + RunnerCounts map[string]int + RunnerStatusCounts map[string]int + type MetricsSnapshot struct + Entities []MetricsEntity + Pools []MetricsPool + ScaleSets []MetricsScaleSet + func BuildSnapshot() MetricsSnapshot v0.2.0-beta1 Apr 13, 2026