Skip to main content

An application monitoring service

Project description

Currently under active development. It aims to be a generic solution for logging events and creating aggregate reports.

Installing Development Environment

git clone git://github.com/philipcristiano/pms.git

cd pms

make bootstrap && make deploy

Deploying PMS

PMS can be deployed as a WSGI app. Once installed the app is available as pms.app:app and can be run with gunicorn or a WSGI server of your choice.

Configuration

PMS will look for a config file at /etc/pms/pms.conf

You config file would look something like this:

[mongodb] host=33.33.33.10

[aggregation]
[[host-level]]
properties=host,level
[[random]]
properties=level

You need to define a host for Mongo.

The aggregration properties are to define the rollups. The second level is the name of the rollup and properties is a list of fields to rollup. PMS will attempt to rollup any events added. The event will be rolled up if it has properties matching the set defined for a rollup.

Recording Events

Events are recorded by posting a JSON document to /record. If you include all fields for an aggregate rollup it will create/update the corresponding record.

Sample:

curl -v -X POST http://localhost/record -H “Content-Type: application/json” -d ‘{“key”: “value”}’

Project details


Download files

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

Files for pms, version 0.1.6
Filename, size File type Python version Upload date Hashes
Filename, size pms-0.1.6.tar.gz (269.9 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page