Versions in this module Expand all Collapse all v1 v1.1.6-next Sep 11, 2024 v1.1.5 Sep 9, 2024 Changes in this version type Cmgr + QueryNodeMetrics func(ctx context.Context, req *ms.QueryNodeMetricsReq, refresh bool) (*ms.QueryNodeMetricsResp, error) + QueryRuleMetrics func(ctx context.Context, req *ms.QueryRuleMetricsReq, refresh bool) (*ms.QueryRuleMetricsResp, error) v1.1.4 Jun 16, 2024 Changes in this version + const ConnectionTypeActive + const ConnectionTypeClosed + var DummyConfig = &Config + type Cmgr interface + AddConnection func(conn conn.RelayConn) + CountConnection func(connType string) int + GetActiveConnectCntByRelayLabel func(label string) int + ListConnections func(connType string, page, pageSize int) []conn.RelayConn + RemoveConnection func(conn conn.RelayConn) + Start func(ctx context.Context, errCH chan error) + func NewCmgr(cfg *Config) Cmgr + type Config struct + MetricsURL string + SyncInterval int + SyncURL string + func (c *Config) Adjust() + func (c *Config) NeedMetrics() bool + func (c *Config) NeedSync() bool + type StatsPerRule struct + ConnectionCnt int + Down int64 + HandShakeLatency int64 + RelayLabel string + Up int64 + type VersionInfo struct + ShortCommit string + Version string v0 v0.0.0-nightly Apr 18, 2024