Skip to main content

Python/MongoDB Information Platform - Server

Project description

../metriqued/metriqued/static/img/metrique_logo.png

Metrique Server

Author: “Chris Ward” <cward@redhat.com>

Sources: https://github.com/drpoovilleorg/metrique

Install

Make sure you have read the `General Install Guide <https://github.com/drpoovilleorg/metrique/tree/master/README.rst>`_.

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.ping()
>>> m.extract(uri='https://github.com/drpoovilleorg/metrique.git')
>>> 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')
>>> # WARNING THIS WILL TAKE A WHILE!
>>> # Just let it run for a minute, then kill
>>> # it... as a demo.
>>> m.extract(uri='http://builds.apache.org')
>>> builds = m.find(fields='__all__', limit=100)

Known Issues

None at this time

Project details


Release history Release notifications

History Node

0.2.7-1a

History Node

0.2.6-11a

History Node

0.2.6-10a

History Node

0.2.6-9a

History Node

0.2.6-8a

History Node

0.2.6-4a

History Node

0.2.6-3a

History Node

0.2.6-2a

History Node

0.2.6-1a

This version
History Node

0.2.5-7

History Node

0.2.5-6

History Node

0.2.5-4a

History Node

0.2.5-3a

History Node

0.2.5-2a

History Node

0.2.4-11a

History Node

0.2.4-10a

History Node

0.2.4-8a

History Node

0.2.4-6a

History Node

0.2.4-5a

History Node

0.2.4-1a

History Node

0.2.2-21

History Node

0.2.2-17

History Node

0.2.2-12

History Node

0.2.2-11a

History Node

0.2.2-7a

History Node

0.2.2-3a

History Node

0.2.2-1a

History Node

0.2.0-4

History Node

0.1.5-17

History Node

0.1.5-16

History Node

0.1.5-14a

History Node

0.1.5-13a

History Node

0.1.5-12a

History Node

0.1.5-11a

History Node

0.1.5-10a

History Node

0.1.5-9a

History Node

0.1.5-8a

History Node

0.1.5-7a

History Node

0.1.4-12

History Node

0.1.4-8

History Node

0.1.4

History Node

0.1.3-5

History Node

0.1.3-3

History Node

0.1.3-2

History Node

0.1.3-1

History Node

0.1.3-alpha35

History Node

0.1.3-alpha34

History Node

0.1.3-alpha33

History Node

0.1.3-alpha32

History Node

0.1.3-alpha31

History Node

0.1.3-alpha30

Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
metriqued-0.2.5-7.tar.gz (23.2 kB) Copy SHA256 hash SHA256 Source None Jan 14, 2014

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page