Mtools is a collection of helper scripts to parse and filter MongoDB

log files (mongod, mongos), visualize log files and quickly set up
complex MongoDB test environments on a local machine:

* mlogfilter * slices log files by time, merges log files, filters
  slow queries, finds table scans, shortens log lines, filters by
  other atributes, convert to JSON;

* mloginfo * returns info about log file, like start and end time,
  version, binary, special sections like restarts, connections,
  distinct view;

* mplotqueries * visualize logfiles with different types of plots;

* mlogvis * creates a self-contained html file that shows an interactive
  visualization in a web browser (as an alternative to mplotqueries);

* mlaunch * a script to quickly spin up local test environments,
  including replica sets and sharded systems;

* mgenerate * generates structured pseudo-random data based on a
  template for testing and reproduction.

WWW: https://github.com/rueckstiess/mtools/
This commit is contained in:
Boris Samorodov
2015-07-08 09:52:02 +00:00
parent d49600aa37
commit 257257c8d7
4 changed files with 50 additions and 0 deletions

View File

@@ -187,6 +187,7 @@
SUBDIR += monetdb
SUBDIR += mongodb
SUBDIR += mrtg-mysql-load
SUBDIR += mtools-mongodb
SUBDIR += mtop
SUBDIR += mydbf2mysql
SUBDIR += mydumper

View File

@@ -0,0 +1,23 @@
# Created by: Boris Samorodov <bsam@FreeBSD.org>
# $FreeBSD$
PORTNAME= mtools
PORTVERSION= 1.1.8
CATEGORIES= databases python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
PKGNAMESUFFIX= -mongodb
MAINTAINER= bsam@FreeBSD.org
COMMENT= Setup test environments; parse, filter and visualize MongoDB log files
LICENSE= APACHE20
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}psutil>=2.0:${PORTSDIR}/sysutils/py-psutil \
${PYTHON_PKGNAMEPREFIX}pymongo>0:${PORTSDIR}/databases/pymongo \
${PYTHON_PKGNAMEPREFIX}matplotlib>0:${PORTSDIR}/math/py-matplotlib
USE_PYTHON= autoplist distutils
USES= python:2
.include <bsd.port.mk>

View File

@@ -0,0 +1,2 @@
SHA256 (mtools-1.1.8.tar.gz) = 9696e8866e4c530614d1b55542fe6d95804c1e6d0565e05590f98eb49ab1e431
SIZE (mtools-1.1.8.tar.gz) = 1693933

View File

@@ -0,0 +1,24 @@
Mtools is a collection of helper scripts to parse and filter MongoDB
log files (mongod, mongos), visualize log files and quickly set up
complex MongoDB test environments on a local machine:
* mlogfilter * slices log files by time, merges log files, filters
slow queries, finds table scans, shortens log lines, filters by
other atributes, convert to JSON;
* mloginfo * returns info about log file, like start and end time,
version, binary, special sections like restarts, connections,
distinct view;
* mplotqueries * visualize logfiles with different types of plots;
* mlogvis * creates a self-contained html file that shows an interactive
visualization in a web browser (as an alternative to mplotqueries);
* mlaunch * a script to quickly spin up local test environments,
including replica sets and sharded systems;
* mgenerate * generates structured pseudo-random data based on a
template for testing and reproduction.
WWW: https://github.com/rueckstiess/mtools/