cpu

package
v5.0.0-alpha2+incompat... Latest Latest
Warning

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

Go to latest
Published: May 2, 2016 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package cpu collects CPU metrics from the host OS.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New() helper.MetricSeter

New creates new instance of MetricSeter

Types

type MetricSeter

type MetricSeter struct{}

func (*MetricSeter) Cleanup

func (m *MetricSeter) Cleanup() error

func (*MetricSeter) Fetch

func (m *MetricSeter) Fetch(ms *helper.MetricSet, host string) (event common.MapStr, err error)

func (*MetricSeter) Setup

func (m *MetricSeter) Setup(ms *helper.MetricSet) error

Jump to

Keyboard shortcuts

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