util

package
v0.54.1 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SanitizeMetricKey added in v0.36.0

func SanitizeMetricKey(key string) string

SanitizeMetricKey sanitize metric keys to be Mackerel friendly

Types

type DfStat added in v0.34.0

type DfStat struct {
	Name      string
	Blocks    uint64
	Used      uint64
	Available uint64
	Capacity  uint8
	Mounted   string
}

DfStat is disk free statistics from df command. Field names are taken from column names of `df -P`

func CollectDfValues added in v0.16.1

func CollectDfValues() ([]*DfStat, error)

CollectDfValues collects disk free statistics from df command

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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