mpfluentd

package
v0.29.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Do

func Do()

Do the plugin

Types

type FluentMonitorJSON

type FluentMonitorJSON struct {
	Plugins []FluentdPluginMetrics `json:"plugins"`
}

FluentMonitorJSON monitor json

type FluentdMetrics

type FluentdMetrics struct {
	Target   string
	Tempfile string
	// contains filtered or unexported fields
}

FluentdMetrics plugin for fluentd

func (FluentdMetrics) FetchMetrics

func (f FluentdMetrics) FetchMetrics() (map[string]interface{}, error)

FetchMetrics interface for mackerelplugin

func (FluentdMetrics) GraphDefinition

func (f FluentdMetrics) GraphDefinition() map[string]mp.Graphs

GraphDefinition interface for mackerelplugin

type FluentdPluginMetrics

type FluentdPluginMetrics struct {
	RetryCount            uint64 `json:"retry_count"`
	BufferQueueLength     uint64 `json:"buffer_queue_length"`
	BufferTotalQueuedSize uint64 `json:"buffer_total_queued_size"`
	OutputPlugin          bool   `json:"output_plugin"`
	Type                  string `json:"type"`
	PluginCategory        string `json:"plugin_category"`
	PluginID              string `json:"plugin_id"`
	// contains filtered or unexported fields
}

FluentdPluginMetrics metrics

Jump to

Keyboard shortcuts

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