257257c8d7
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/
23 lines
635 B
Makefile
23 lines
635 B
Makefile
# 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>
|