Documentation ¶
Index ¶
Constants ¶
View Source
const Namespace = "lustre"
Namespace defines the namespace shared by all Lustre metrics.
Variables ¶
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 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.
Functions ¶
This section is empty.
Types ¶
type LustreSource ¶
type LustreSource interface {
Update(ch chan<- prometheus.Metric) (err error)
}
LustreSource is the interface that each source implements.
Click to show internal directories.
Click to hide internal directories.