Exemplo 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
Exemplo n.º 2
0
 def pmid(cluster, item):
     return cpmda.pmda_pmid(cluster, item)
Exemplo n.º 3
0
Arquivo: pmda.py Projeto: tongfw/pcp
 def pmid(cluster, item):
     return cpmda.pmda_pmid(cluster, item)