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"
)
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) []*server.Account GetStoreEngine() server.StoreEngine }
DataSource metric data source
Click to show internal directories.
Click to hide internal directories.