metrics

package
v0.15.2 Latest Latest
Warning

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

Go to latest
Published: Oct 22, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Metrics added in v0.9.1

type Metrics struct {
	*metrics.Metrics
}

func Get

func Get() *Metrics

func (*Metrics) RecordAvRowChangeTime added in v0.9.1

func (m *Metrics) RecordAvRowChangeTime(numRows int, duration time.Duration)

func (*Metrics) RecordAvRowChangeTimeByOperation added in v0.9.1

func (m *Metrics) RecordAvRowChangeTimeByOperation(table string, operation metrics.DBOperation, numRows int, duration time.Duration)

func (*Metrics) RecordRowsChange added in v0.9.1

func (m *Metrics) RecordRowsChange(table string, operation metrics.DBOperation, numRows int)

Jump to

Keyboard shortcuts

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