Skip to main content
../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

Download files

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

Source Distribution

metriqued-0.2.5-7.tar.gz (23.2 kB view details)

Uploaded Source

File details

Details for the file metriqued-0.2.5-7.tar.gz.

File metadata

  • Download URL: metriqued-0.2.5-7.tar.gz
  • Upload date:
  • Size: 23.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for metriqued-0.2.5-7.tar.gz
Algorithm Hash digest
SHA256 540952125d6bc3bfe952cc8f280848dae7fbf9145468850f01377efb843467ef
MD5 8945fa62dac9aa69426ebc3c7b65b84f
BLAKE2b-256 73f9fb6482ce51ded9302595576fc5fec33ed43c787b2a1fd3ef50b6e9c8ab26

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.2.5-7 This release

1 file

0.2.5-6

1 file

0.2.2-21

1 file

0.2.2-17

1 file

0.2.2-12

1 file

0.2.0-4

1 file

0.1.5-17

1 file

0.1.5-16

1 file

0.1.4-12

1 file

0.1.4-8

1 file

0.1.4

1 file

0.1.3-5

1 file

0.1.3-3

1 file

0.1.3-2

1 file

0.1.3-1

1 file

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page