aboutsummaryrefslogtreecommitdiff
path: root/databases/mtools-mongodb
diff options
context:
space:
mode:
authorBoris Samorodov <bsam@FreeBSD.org>2015-07-08 09:52:02 +0000
committerBoris Samorodov <bsam@FreeBSD.org>2015-07-08 09:52:02 +0000
commit257257c8d7eac548718017ca538c98c490d12b97 (patch)
treeacb423c6a7abd00eb5207343439100e30076b38f /databases/mtools-mongodb
parentd49600aa375738d73a0e360d3d3fb16670f033ae (diff)
Notes
Diffstat (limited to 'databases/mtools-mongodb')
-rw-r--r--databases/mtools-mongodb/Makefile23
-rw-r--r--databases/mtools-mongodb/distinfo2
-rw-r--r--databases/mtools-mongodb/pkg-descr24
3 files changed, 49 insertions, 0 deletions
diff --git a/databases/mtools-mongodb/Makefile b/databases/mtools-mongodb/Makefile
new file mode 100644
index 000000000000..6dbf12875ebb
--- /dev/null
+++ b/databases/mtools-mongodb/Makefile
@@ -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>
diff --git a/databases/mtools-mongodb/distinfo b/databases/mtools-mongodb/distinfo
new file mode 100644
index 000000000000..af401c15e297
--- /dev/null
+++ b/databases/mtools-mongodb/distinfo
@@ -0,0 +1,2 @@
+SHA256 (mtools-1.1.8.tar.gz) = 9696e8866e4c530614d1b55542fe6d95804c1e6d0565e05590f98eb49ab1e431
+SIZE (mtools-1.1.8.tar.gz) = 1693933
diff --git a/databases/mtools-mongodb/pkg-descr b/databases/mtools-mongodb/pkg-descr
new file mode 100644
index 000000000000..20716e2cf6d0
--- /dev/null
+++ b/databases/mtools-mongodb/pkg-descr
@@ -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/