usage

package
v0.0.0-...-0ee404e Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 13, 2024 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause, + 2 more Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TableUsageRecorder

type TableUsageRecorder interface {

	// Start recording until the ctx cancelled. This method will block the current thread.
	Start(tom *tomb.Tomb)
}

TableUsageRecorder records the usage of each table into a Pegasus table. The usage statistics can be used for service cost calculation.

func NewTableUsageRecorder

func NewTableUsageRecorder() TableUsageRecorder

NewTableUsageRecorder returns an instance of TableUsageRecorder

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL