exporter

package
v0.0.0-...-beee1d2 Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2024 License: MIT Imports: 18 Imported by: 0

Documentation

Index

Constants

View Source
const (
	NamespaceProxy = "proxy"
)

Variables

View Source
var InfoConfigPath string

Functions

func LoadConfig

func LoadConfig() error

func NewPikaExporter

func NewPikaExporter(dis discovery.Discovery, namespace string,
	keyPatterns, keys string, scanCount, statsClockHour int) (*exporter, error)

func NewProxyExporter

func NewProxyExporter(dis discovery.Discovery, namespace string) (*exporterProxy, error)

Types

type InfoConfig

type InfoConfig struct {
	Server       bool `toml:"server"`
	Data         bool `toml:"data"`
	Clients      bool `toml:"clients"`
	Stats        bool `toml:"stats"`
	CPU          bool `toml:"cpu"`
	Replication  bool `toml:"replication"`
	Keyspace     bool `toml:"keyspace"`
	Execcount    bool `toml:"execcount"`
	Commandstats bool `toml:"commandstats"`
	Rocksdb      bool `toml:"rocksdb"`
	Cache        bool `toml:"cache"`

	Info    bool
	InfoAll bool
}
var InfoConf *InfoConfig

func (*InfoConfig) CheckInfo

func (c *InfoConfig) CheckInfo()

func (*InfoConfig) Display

func (c *InfoConfig) Display()

Display config

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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