logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

pmiUnits, pmiID, pmiInDom - construct core metric data structures

C Synopsis

#include<pcp/pmapi.h>#include<pcp/import.h>pmIDpmiID(intdomain,intcluster,intitem);pmInDompmiInDom(intdomain,intserial);pmUnitspmiUnits(intdimSpace,intdimTime,intdimCount,intscaleSpace,intscaleTime,intscaleCount);cc...-lpcp_import-lpcp

Description

       As part of the Performance Co-Pilot Log Import API (see LOGIMPORT(3)), these routines provide convenience
       methods  (especially  for script use) for constructing pmID, pmInDom and pmUnits structures respectively,
       to be used in subsequent calls to pmiAddMetric(3) and pmiAddInstance(3).

       Refer to pmLookupDesc(3) for a complete description of the values and semantics of the  components  of  a
       pmUnits structure, and hence the valid argument values for pmiUnits.

Name

pmiUnits, pmiID, pmiInDom - construct core metric data structures

Perl Synopsis

usePCP::LogImport;$pmid=pmiID($domain,$cluster,$item);$indom=pmiInDom($domain,$serial);$units=pmiUnits($dimSpace,$dimTime,$dimCount,$scaleSpace,$scaleTime,$scaleCount);

See Also

LOGIMPORT(3), pmiAddMetric(3), pmiAddInstance(3) and pmLookupDesc(3).

Performance Co-Pilot                                   PCP                                           PMIUNITS(3)

See Also