mpflume

package
v0.37.1 Latest Latest
Warning

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

Go to latest
Published: Oct 26, 2017 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Channel is Flume Channel Type
	Channel = "CHANNEL"
	// Sink is Flume Sink Type
	Sink = "SINK"
	// Source is Flume Source Type
	Source = "SOURCE"
)

Variables

This section is empty.

Functions

func Do

func Do()

Do the plugin

Types

type FlumePlugin

type FlumePlugin struct {
	URI    string
	Prefix string
}

FlumePlugin mackerel plugin

func (*FlumePlugin) FetchMetrics

func (p *FlumePlugin) FetchMetrics() (map[string]float64, error)

FetchMetrics interface for mackerelplugin

func (*FlumePlugin) GraphDefinition

func (p *FlumePlugin) GraphDefinition() map[string]mp.Graphs

GraphDefinition interface for mackerelplugin

func (*FlumePlugin) MetricKeyPrefix

func (p *FlumePlugin) MetricKeyPrefix() string

MetricKeyPrefix interface for PluginWithPrefix

Jump to

Keyboard shortcuts

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