Documentation ¶
Index ¶
Constants ¶
View Source
const (
ModuleName = "usage_metrics"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type UsageTracker ¶
type UsageTracker struct {
// contains filtered or unexported fields
}
func NewUsageTracker ¶
func NewUsageTracker() *UsageTracker
func (*UsageTracker) CloneUsageData ¶
func (u *UsageTracker) CloneUsageData() *UsageData
func (*UsageTracker) RegisterCounter ¶
func (u *UsageTracker) RegisterCounter(name string) Counter
func (*UsageTracker) Subtract ¶
func (u *UsageTracker) Subtract(data *UsageData)
type UsageTrackerCollector ¶
type UsageTrackerInterface ¶
type UsageTrackerInterface interface { UsageTrackerRegisterer UsageTrackerCollector }
type UsageTrackerRegisterer ¶
Click to show internal directories.
Click to hide internal directories.