Skip to main content

Python/MongoDB Information Platform - Server

Project description


Metrique Server

Author: “Chris Ward” <>



Make sure you have read the `General Install Guide <>`_.

Install the following OS stuff installed. The examples given below are fedora rpm package names:

yum install krb5-devel

Make sure you have MongoDB installed. Instructions can be found on the web. For Fedora, for example, see 10-gen installation instructions

A default mongodb.conf file is available here

Launch Mongodb.

Install metriqued with pip:

pip install metriqued

Then, start metriqued by running:

$> metriqued start

Assuming you have 2.7+, you can try running a gitrepo_commit etl job, for example, in ipython:

$> ipython notebook --pylab=inline
>>> from metrique import pyclient
>>> m = pyclient(cube='gitrepo_commit')
>>> m.extract(uri='')
>>> q = m.find('gitrepo_commit', 'author, committer_ts')
>>> q.groupby(['author']).size().plot(kind='barh')
    <matplotlib.axes.AxesSubplot at 0x6f77ad0>

Or you can analyse data from apache’s jenkins instance (or other):

$> ipython notebook --pylab=inline
>>> from metrique import pyclient
>>> m = pyclient(cube='jkns_build')
>>> # Just let it run for a minute, then kill
>>> # it... as a demo.
>>> m.extract(uri='')
>>> builds = m.find(fields='__all__', limit=100)

Known Issues

None at this time

Project details

Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for metriqued, version 0.2.5-7
Filename, size File type Python version Upload date Hashes
Filename, size metriqued-0.2.5-7.tar.gz (23.2 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page