Documentation
¶
Overview ¶
Package metrics gather anonymous information about the usage of NetBird management
Index ¶
Constants ¶
View Source
const ( // PayloadEvent identifies an event type PayloadEvent = "self-hosted stats" EmbeddedType = "embedded" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConnManager ¶
type ConnManager interface {
GetAllConnectedPeers() map[string]struct{}
}
ConnManager peer connection manager that holds state for current active connections
type DataSource ¶
type DataSource interface {
GetAllAccounts(ctx context.Context) []*types.Account
GetStoreEngine() types.Engine
GetCustomDomainsCounts(ctx context.Context) (total int64, validated int64, err error)
GetProxyMetrics(ctx context.Context) (store.ProxyMetrics, error)
GetAgentNetworkMetrics(ctx context.Context) (store.AgentNetworkMetrics, error)
}
DataSource metric data source
Click to show internal directories.
Click to hide internal directories.