exporter

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 Exporter

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

func NewZookeeperExporter

func NewZookeeperExporter(opts Options) *Exporter

func (*Exporter) Collect

func (c *Exporter) Collect(ch chan<- prometheus.Metric) error

func (*Exporter) Describe

func (c *Exporter) Describe(ch chan<- *prometheus.Desc)

type Options

type Options struct {
	Timeout       time.Duration
	Host          string
	ResetOnScrape bool
	EnableTLS     bool
	ClientCert    *tls.Certificate
}

Jump to

Keyboard shortcuts

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