zookeeper

package
v0.0.0-...-be347a3 Latest Latest
Warning

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

Go to latest
Published: Nov 6, 2019 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Package zookeeper is a Metricbeat module for ZooKeeper servers.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AssetZookeeper

func AssetZookeeper() string

AssetZookeeper returns asset data. This is the base64 encoded gzipped contents of ../metricbeat/module/zookeeper.

func RunCommand

func RunCommand(command, address string, timeout time.Duration) (io.Reader, error)

RunCommand establishes a TCP connection the ZooKeeper command port that accepts the four-letter ZooKeeper commands and sends the given command. It reads all response data received on the socket and returns an io.Reader containing that data.

Types

This section is empty.

Directories

Path Synopsis
Package mntr fetches metrics from ZooKeeper by using the mntr command which was added to ZooKeeper in version 3.4.0.
Package mntr fetches metrics from ZooKeeper by using the mntr command which was added to ZooKeeper in version 3.4.0.
Package server fetches metrics from ZooKeeper by using the srvr command
Package server fetches metrics from ZooKeeper by using the srvr command

Jump to

Keyboard shortcuts

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