Installing the metrics module
Note
Since Tarantool version 2.11.1, the installation is not required.
Usually, all dependencies are included in the *.rockspec
file of the application.
All dependencies are installed from this file. To do this:
Add the
metrics
module to the dependencies in the.rockspec
file:dependencies = { ... 'metrics == 1.0.0', ... }
Install the missing dependencies:
tt rocks make # OR # cartridge build
To install only the metrics
module, execute the following commands:
Set current folder:
$ cd ${PROJECT_ROOT}
Install the missing dependencies:
$ tt rocks install metrics <version>
where
version
– the necessary version number. If omitted, then the version from themaster
branch is installed.