def value(self, value):
        """
        Set the current value of the metric.
        """
        args = (self.__ptr, int(value))
        _ec.metric_set(args)
def value ( self , value ) : args = ( self . __ptr , int ( value ) ) _ec . metric_set ( args )
Set the current value of the metric.