varglobal

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: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DOMAIN = "var.global"

	OPT_SOURCE = "source"
	OPT_ALL    = "all"

	SOURCE_SELECT = "select"
	SOURCE_PFS    = "pfs"
	SOURCE_SHOW   = "show"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Global

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

Global collects global system variables for the var.global domain.

func NewGlobal

func NewGlobal(db *sql.DB) *Global

func (*Global) Collect

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

func (*Global) Domain

func (c *Global) Domain() string

func (*Global) Help

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

func (*Global) Prepare

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

Prepares queries for all levels in the plan that contain the "var.global" domain

Jump to

Keyboard shortcuts

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