Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { IsEnabled bool DisableBandwidth bool SinkType string SinkConn string Scope string }
The configuration required by the metrics module
type Module ¶
type Module struct {
// contains filtered or unexported fields
}
func (*Module) AddDBOperation ¶
func (m *Module) AddDBOperation(project, dbType, col string, count int64, op utils.OperationType)
func (*Module) AddIngress ¶
AddIngress add the bytes to the ingress counter of that project
func (*Module) LoadMetrics ¶
func (m *Module) LoadMetrics() []interface{}
Click to show internal directories.
Click to hide internal directories.