zookeeperreceiver

package module
v0.74.0 Latest Latest
Warning

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

Go to latest
Published: Mar 20, 2023 License: Apache-2.0 Imports: 17 Imported by: 7

README

Zookeeper Receiver

Status
Stability development
Supported pipeline types metrics
Distributions contrib

The Zookeeper receiver collects metrics from a Zookeeper instance, using the mntr command. The mntr 4 letter word command needs to be enabled for the receiver to be able to collect metrics.

Configuration

  • endpoint: (default = :2181) Endpoint to connect to collect metrics. Takes the form host:port.
  • timeout: (default = 10s) Timeout within which requests should be completed.

Example configuration.

receivers:
  zookeeper:
    endpoint: "localhost:2181"
    collection_interval: 20s

Metrics

Details about the metrics produced by this receiver can be found in metadata.yaml with further documentation in documentation.md

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewFactory

func NewFactory() receiver.Factory

Types

type Config

type Config struct {
	scraperhelper.ScraperControllerSettings `mapstructure:",squash"`
	confignet.TCPAddr                       `mapstructure:",squash"`
	metadata.MetricsBuilderConfig           `mapstructure:",squash"`

	// Timeout within which requests should be completed.
	Timeout time.Duration `mapstructure:"timeout"`
}

Directories

Path Synopsis
internal

Jump to

Keyboard shortcuts

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