Documentation ¶
Index ¶
- func Convert(i interface{}) interface{}
- func Counter(bt *Lustrebeat, t string, counter uint64)
- func GetIBCounters(path string, valuelist map[string]struct{}) (result map[string]uint64, err error)
- func GetNetIOCs(valuelist map[string]struct{}) (result []net.IOCountersStat, err error)
- func GetNumberVal(s string) (v uint64, ok bool)
- func GetStatsFile1(s string) (result map[string]interface{}, err error)
- func GetValFiles(statsdir string, valuelist map[string]struct{}) (result map[string]uint64, err error)
- func GetZfsPoolIofile(s string) (result map[string]uint64, err error)
- func GetZfsStatfile(s string) (result map[string]uint64, err error)
- func JobStat(bt *Lustrebeat, s string) (err error)
- func List2Set(ss []string) (mm map[string]struct{})
- func MakeLustreTagsE(s string) (fs string, object string, client string, ok bool)
- func New(b *beat.Beat, cfg *common.Config) (beat.Beater, error)
- func PublishZpool(bt *Lustrebeat, v string) (err error)
- func PublishZstats(bt *Lustrebeat, s string, listzstats map[string]struct{}) (err error)
- type LustreStatsRecordLong
- type LustreStatsRecordShort
- type Lustrebeat
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Counter ¶
func Counter(bt *Lustrebeat, t string, counter uint64)
func GetIBCounters ¶
func GetNetIOCs ¶
func GetNetIOCs(valuelist map[string]struct{}) (result []net.IOCountersStat, err error)
func GetNumberVal ¶
func GetStatsFile1 ¶
func GetValFiles ¶
func JobStat ¶
func JobStat(bt *Lustrebeat, s string) (err error)
func MakeLustreTagsE ¶
func PublishZpool ¶
func PublishZpool(bt *Lustrebeat, v string) (err error)
func PublishZstats ¶
func PublishZstats(bt *Lustrebeat, s string, listzstats map[string]struct{}) (err error)
Types ¶
type LustreStatsRecordLong ¶
type LustreStatsRecordShort ¶
type Lustrebeat ¶
type Lustrebeat struct {
// contains filtered or unexported fields
}
boilerplate
func (*Lustrebeat) Stop ¶
func (bt *Lustrebeat) Stop()
Click to show internal directories.
Click to hide internal directories.