Ejemplo n.º 1
0
 def pmid_name_lookup(self, cluster, item):
     """
     Lookup the name associated with a performance metric identifier.
     """
     try:
         name = self._metric_names[cpmda.pmda_pmid(cluster, item)]
     except KeyError:
         name = None
     return name
Ejemplo n.º 2
0
 def pmid(cluster, item):
     return cpmda.pmda_pmid(cluster, item)
Ejemplo n.º 3
0
Archivo: pmda.py Proyecto: tongfw/pcp
 def pmid(cluster, item):
     return cpmda.pmda_pmid(cluster, item)