Generate graphs and integrate data with commandline interface to MarkLogic history metrics.
To get quickly started:
-
Download latest release or build yourself.
-
Create ~/.mlhist
touch ~/.mlhist
- edit ~/.mlhist, supplying your MarkLogic environment connection details
host=localhost
protocol=http
user=admin
pass=admin
- run mlhist
mlhist
- learn more by viewing examples
get help
mlhist -h
Get all metrics
mlhist
Get all metrics data
mlhist
Get all forest metrics
mlhist forests
Get all metrics for range of time
mlhist
Get all metrics for a range of time with different period
mlhist
Get specific metric
mlhist
Find metrics
mlhist
To build you will need to ensure cmake v3.2.2 or above is installed (I know, I know ... times do change).
Using either develop or master branch
cmake && make && make test
All tests should pass and mlhist/mlhist binary should have been built.
To install:
make install
File bug reports, feature requests, and pull requests through GitHub.