repl

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Jul 3, 2023 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DOMAIN = "repl"

	NOT_A_REPLICA = -1

	ERR_NO_ACCESS = "access-denied"

	OPT_REPORT_NOT_A_REPLICA = "report-not-a-replica"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Repl

type Repl struct {
	// contains filtered or unexported fields
}

func NewRepl

func NewRepl(db *sql.DB) *Repl

func (*Repl) Collect

func (c *Repl) Collect(ctx context.Context, levelName string) ([]blip.MetricValue, error)

func (*Repl) Domain

func (c *Repl) Domain() string

func (*Repl) Help

func (c *Repl) Help() blip.CollectorHelp

func (*Repl) Prepare

func (c *Repl) Prepare(ctx context.Context, plan blip.Plan) (func(), error)

Jump to

Keyboard shortcuts

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