Module Expr Str ImportFrom alias Import alias TryExcept body Import alias handlers ExceptHandler type NameLoad body Assign NameStore NameLoad ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad Call NameLoad NameLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Dict Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad Call NameLoad NameLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Dict Str Str Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str If CompareIs NameLoad NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Return Dict Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Num Assign NameStore Num Assign NameStore Num Assign NameStore Dict Assign NameStore Call AttributeLoad NameLoad attr If CompareIn Num NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Num Assign NameStore SubscriptLoad Call AttributeLoad NameLoad attr Index Num Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore BinOpDiv BinOpMult AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num For NameStore NameLoad body If CompareEq NameLoad Num body Continue Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr AugAssignAdd NameStore SubscriptLoad NameLoad Index Num If CompareGt NameLoad Num body AugAssignAdd NameStore SubscriptLoad NameLoad Index Num Assign NameStore Dict Str Str Str Str Str Str Str SubscriptLoad NameLoad Index Num BinOpDiv NameLoad Num BinOpSub SubscriptLoad NameLoad Index Num BinOpDiv NameLoad Num NameLoad NameLoad NameLoad BinOpSub NameLoad NameLoad For NameStore Call AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr NameLoad SubscriptLoad NameLoad Index NameLoad Num decorator_list decorator_list
N/A N/A 
The XENCollector grabs usage/allocation metrics using libvirt

#### Dependencies
 * python-libvirt

 diamond.collector Collector N/A os N/A N/A N/A libvirt N/A N/A N/A ImportError N/A N/A libvirt None XENCollector N/A Collector N/A get_default_config_help N/A N/A self N/A N/A N/A config_help N/A N/A N/A super XENCollector self get_default_config_help N/A N/A N/A config_help update N/A N/A config_help N/A get_default_config N/A N/A self N/A N/A N/A 
        Returns the default collector settings
         N/A config N/A N/A N/A super XENCollector self get_default_config N/A N/A N/A config update N/A path xen N/A config N/A collect N/A N/A self N/A N/A N/A 
        Collect libvirt data
         N/A N/A libvirt None N/A N/A N/A N/A N/A self log error Unable to import either libvirt N/A N/A N/A conn N/A N/A libvirt openReadOnly None N/A conninfo N/A N/A conn getInfo N/A memallocated 0 N/A coresallocated 0 N/A totalcores 0 N/A results N/A N/A domIds N/A N/A conn listDomainsID N/A N/A 0 domIds N/A N/A domU N/A N/A conn lookupByID 0 N/A totalcores N/A N/A N/A domU info N/A 3 N/A s N/A N/A os statvfs / N/A freeSpace N/A N/A N/A s f_bavail N/A s f_frsize 1024 N/A i domIds N/A N/A N/A i 0 N/A N/A N/A domU N/A N/A conn lookupByID i N/A dominfo N/A N/A domU info N/A memallocated N/A dominfo N/A 2 N/A N/A i 0 N/A N/A coresallocated N/A dominfo N/A 3 N/A results N/A InstalledMem MemAllocated MemFree AllocatedCores DiskFree TotalCores FreeCores N/A conninfo N/A 1 N/A memallocated 1024 N/A N/A conninfo N/A 1 N/A memallocated 1024 coresallocated freeSpace totalcores N/A totalcores coresallocated N/A k N/A N/A results keys N/A N/A N/A N/A self publish k N/A results N/A k 0 N/A N/A