zookeeperreceiver

package module
v0.17.0 Latest Latest
Warning

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

Go to latest
Published: Dec 16, 2020 License: Apache-2.0 Imports: 18 Imported by: 7

README

Under development - not ready for use.

Zookeeper Receiver

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewFactory

func NewFactory() component.ReceiverFactory

Types

type Config

type Config struct {
	scraperhelper.ScraperControllerSettings `mapstructure:",squash"`
	confignet.TCPAddr                       `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