(self, query_specs)
return metrics_values
Just an instrumentation wrapper around the VSphereAPI.query_metrics method
        Warning: called in threads
Just an instrumentation wrapper around the VSphereAPI.query_metrics method
        Warning: called in threads
Just an instrumentation wrapper around the VSphereAPI . query_metrics method Warning : called in threads
def query_metrics_wrapper(self, query_specs):
        # type: (List[vim.PerformanceManager.QuerySpec]) -> List[vim.PerformanceManager.EntityMetricBase]
        """Just an instrumentation wrapper around the VSphereAPI.query_metrics method
        Warning: called in threads
        """
        t0 = Timer()
        metrics_values = self.api.query_metrics(query_specs)
        self.histogram(
            'datadog.vsphere.query_metrics.time',
            t0.total(),
            tags=self._config.base_tags,
            raw=True,
            hostname=self._hostname,
        )
        return metrics_values
def query_metrics_wrapper ( self , query_specs ) : # type: (List[vim.PerformanceManager.QuerySpec]) -> List[vim.PerformanceManager.EntityMetricBase] t0 = Timer ( ) metrics_values = self . api . query_metrics ( query_specs ) self . histogram ( 'datadog.vsphere.query_metrics.time' , t0 . total ( ) , tags = self . _config . base_tags , raw = True , hostname = self . _hostname , ) return metrics_values