zookeeperreceiver

package module
v0.114.0 Latest Latest
Warning

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

Go to latest
Published: Nov 18, 2024 License: Apache-2.0 Imports: 18 Imported by: 7

README

Zookeeper Receiver

Status
Stability alpha: metrics
Distributions contrib
Issues Open issues Closed issues
Code Owners @djaglowski | Seeking more code owners!

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 = localhost:2181) Endpoint to connect to collect metrics. Takes the form host:port. You can temporarily disable the component.UseLocalHostAsDefaultHost feature gate to change this to 0.0.0.0:2181. This feature gate will be removed in a future release.
  • timeout: (default = 10s) Timeout within which requests should be completed.
  • initial_delay (default = 1s): defines how long this receiver waits before starting.

Example configuration.

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

Metrics

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

Limitations

This receiver does not support scraping metrics from Zookeeper's New Metric System.

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.ControllerConfig `mapstructure:",squash"`
	confignet.TCPAddrConfig        `mapstructure:",squash"`
	metadata.MetricsBuilderConfig  `mapstructure:",squash"`
}

Directories

Path Synopsis
internal

Jump to

Keyboard shortcuts

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