(self)
return config
Returns the default collector settings
Returns the default collector settings
Returns the default collector settings
def get_default_config(self):
        """
        Returns the default collector settings
        """
        config = super(NvidiaGPUCollector, self).get_default_config()
        config.update({
            'path': 'nvidia',
            'bin': '/usr/bin/nvidia-smi',
            'stats': [
                'index',
                'memory.total',
                'memory.used',
                'memory.free',
                'utilization.gpu',
                'utilization.memory',
                'temperature.gpu'
            ]
        })
        return config
def get_default_config ( self ) : config = super ( NvidiaGPUCollector , self ) . get_default_config ( ) config . update ( { 'path' : 'nvidia' , 'bin' : '/usr/bin/nvidia-smi' , 'stats' : [ 'index' , 'memory.total' , 'memory.used' , 'memory.free' , 'utilization.gpu' , 'utilization.memory' , 'temperature.gpu' ] } ) return config