zookeeperreceiver

package module
v0.124.1 Latest Latest
Warning

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

Go to latest
Published: Apr 15, 2025 License: Apache-2.0 Imports: 8 Imported by: 8

README

Zookeeper Receiver

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

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. See our security best practices doc to understand how to set the endpoint in different environments.
  • 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

Scraper

Details about the scraper in README.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.ControllerConfig `mapstructure:",squash"`
	zookeeperscraper.Config        `mapstructure:",squash"`
}

Directories

Path Synopsis
internal

Jump to

Keyboard shortcuts

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