Version: v2.0.0+incompatible Latest Latest

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

Go to latest
Published: Dec 5, 2017 License: Apache-2.0 Imports: 8 Imported by: 0




View Source
const Namespace = "lustre"

Namespace defines the namespace shared by all Lustre metrics.


View Source
var (
	// OstEnabled specifies whether to collect OST metrics
	OstEnabled string
	// MdtEnabled specifies whether to collect MDT metrics
	MdtEnabled string
	// MgsEnabled specifies whether to collect MGS metrics
	MgsEnabled string
	// MdsEnabled specifies whether to collect MDS metrics
	MdsEnabled string
	// ClientEnabled specifies whether to collect Client metrics
	ClientEnabled string
	// GenericEnabled specifies whether to collect Generic metrics
	GenericEnabled string
View Source
var Factories = make(map[string]func() LustreSource)

Factories contains the list of all sources.

View Source
var (
	// HealthStatusEnabled specifies whether to collect Health metrics
	HealthStatusEnabled string
View Source
var LnetEnabled string

LnetEnabled specified whether LNET metrics should be collected

View Source
var ProcLocation = "/proc"

ProcLocation is the source to pull proc files from. By default, use the '/proc' directory on the local node, but for testing purposes, specify 'proc' (without the leading '/') for the local files.

View Source
var SysLocation = "/sys"

SysLocation is the source to pull sys files from.


This section is empty.


type LustreSource

type LustreSource interface {
	Update(ch chan<- prometheus.Metric) (err error)

LustreSource is the interface that each source implements.

Jump to

Keyboard shortcuts

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