mpprocfd

package
v0.25.2 Latest Latest
Warning

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

Go to latest
Published: Feb 8, 2017 License: Apache-2.0 Imports: 9 Imported by: 14

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Do

func Do()

Do the plugin

Types

type OpenFd

type OpenFd interface {
	// contains filtered or unexported methods
}

OpenFd interface

type ProcfdPlugin

type ProcfdPlugin struct {
	Process           string
	NormalizedProcess string
	MetricName        string
}

ProcfdPlugin for fetching metrics

func (ProcfdPlugin) FetchMetrics

func (p ProcfdPlugin) FetchMetrics() (map[string]interface{}, error)

FetchMetrics fetch the metrics

func (ProcfdPlugin) GraphDefinition

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

GraphDefinition Graph definition

type RealOpenFd

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

RealOpenFd struct

Jump to

Keyboard shortcuts

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