Probe::MachineInfo::Metric - Base clas for metric collectors


NAME

Probe::MachineInfo::Metric - Base clas for metric collectors

Back to Top


SYNOPSIS

blah

Back to Top


DESCRIPTION

blah

Back to Top


PUBLIC INTERFACE

new

 new(%options)

get

 get()

Proceeds to collect information about the machine by calling the _get_*_info methods.

log

 log()

print

 print()

Returns a string representing the metric. This is the metric name plus any units if specified by the subclass.

This method does not need to be called directly as the stringification operator is overloaded by this method.

units

 units()

Returns the units in which the metric is in

Back to Top


AUTHOR

Sagar R. Shah

Back to Top

 Probe::MachineInfo::Metric - Base clas for metric collectors