svn commit: r391556 - in head/databases: . mtools-mongodb
Boris Samorodov
bsam at FreeBSD.org
Wed Jul 8 09:52:05 UTC 2015
Author: bsam
Date: Wed Jul 8 09:52:02 2015
New Revision: 391556
URL: https://svnweb.freebsd.org/changeset/ports/391556
Log:
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/
Added:
head/databases/mtools-mongodb/
head/databases/mtools-mongodb/Makefile (contents, props changed)
head/databases/mtools-mongodb/distinfo (contents, props changed)
head/databases/mtools-mongodb/pkg-descr (contents, props changed)
Modified:
head/databases/Makefile
Modified: head/databases/Makefile
==============================================================================
--- head/databases/Makefile Wed Jul 8 09:30:17 2015 (r391555)
+++ head/databases/Makefile Wed Jul 8 09:52:02 2015 (r391556)
@@ -187,6 +187,7 @@
SUBDIR += monetdb
SUBDIR += mongodb
SUBDIR += mrtg-mysql-load
+ SUBDIR += mtools-mongodb
SUBDIR += mtop
SUBDIR += mydbf2mysql
SUBDIR += mydumper
Added: head/databases/mtools-mongodb/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/databases/mtools-mongodb/Makefile Wed Jul 8 09:52:02 2015 (r391556)
@@ -0,0 +1,23 @@
+# Created by: Boris Samorodov <bsam at FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME= mtools
+PORTVERSION= 1.1.8
+CATEGORIES= databases python
+MASTER_SITES= CHEESESHOP
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+PKGNAMESUFFIX= -mongodb
+
+MAINTAINER= bsam at 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>
Added: head/databases/mtools-mongodb/distinfo
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/databases/mtools-mongodb/distinfo Wed Jul 8 09:52:02 2015 (r391556)
@@ -0,0 +1,2 @@
+SHA256 (mtools-1.1.8.tar.gz) = 9696e8866e4c530614d1b55542fe6d95804c1e6d0565e05590f98eb49ab1e431
+SIZE (mtools-1.1.8.tar.gz) = 1693933
Added: head/databases/mtools-mongodb/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/databases/mtools-mongodb/pkg-descr Wed Jul 8 09:52:02 2015 (r391556)
@@ -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/
More information about the svn-ports-head
mailing list