docker

package
v0.0.0-...-a1d7b1b Latest Latest
Warning

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

Go to latest
Published: Mar 4, 2018 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// namespace vendor prefix
	PLUGIN_VENDOR = "intel"
	// namespace plugin name
	PLUGIN_NAME = "docker"
	// version of plugin
	PLUGIN_VERSION = 9
)

Variables

This section is empty.

Functions

This section is empty.

Types

type DockerCollector

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

func New

func New() (*DockerCollector, error)

New returns initialized docker plugin

func (*DockerCollector) CollectMetrics

func (c *DockerCollector) CollectMetrics(mts []snap.Metric) ([]snap.Metric, error)

CollectMetrics retrieves values of requested metrics

func (*DockerCollector) GetMetricTypes

func (c *DockerCollector) GetMetricTypes(cfg snap.Config) ([]snap.Metric, error)

GetMetricTypes returns list of available metrics

Directories

Path Synopsis
fs

Jump to

Keyboard shortcuts

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