zookeeper

package
v0.12.0 Latest Latest
Warning

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

Go to latest
Published: Jul 23, 2024 License: AGPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Timeout       time.Duration `toml:"timeout"`
	ResetOnScrape bool          `toml:"resetOnScrape"`
	EnableTLS     bool          `toml:"enableTLS"`
	TlsCert       string        `toml:"tlsCert"`
	TlsKey        string        `toml:"tlsKey"`
}

type Zookeeper

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

func (*Zookeeper) ParseConfig

func (f *Zookeeper) ParseConfig(baseDir string, bs []byte) (any, error)

func (*Zookeeper) Scrape

func (f *Zookeeper) Scrape(ctx context.Context, target string, cfg any, ss *types.Samples) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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