monitor

package
v2.3.0-alpha.2+incompa... Latest Latest
Warning

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

Go to latest
Published: Oct 6, 2020 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

Package monitor defines the influx-spount monitor component.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Monitor

type Monitor struct {
	// contains filtered or unexported fields
}

Monitor defines an influx-spout component which accumulates runtime statistics from the other influx-spout components and makes them available via a HTTP endpoint in Prometheus format.

func Start

func Start(conf *config.Config) (_ *Monitor, err error)

Start initialises, starts and returns a new Monitor instance based on the configuration supplies.

func (*Monitor) Stop

func (m *Monitor) Stop()

Stop shuts down goroutines and closes resources related to the filter.

Jump to

Keyboard shortcuts

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