Skip to main content

A library to enable streaming of custom entities to Cobe.io from within any Python applications

Project description

Cobe is a platform for monitoring applications and services. It provides a live, searchable view of your infrastructure components, and their relationships, decorated with metrics and alarms.

This library provides an interface to topologically model custom Python applications using Cobe. Both Python 2 and 3 are supported.

Example

import cobe

with cobe.Source(destination='stream.cobe.io') as source:
    model = cobe.Model()
    application = cobe.Update('MyApplication')
    subsystem = cobe.Update('MyApplication:SubSystem')
    subsystem.attributes['performance'].set(9001)
    subsystem.attributes['performance'].traits.add('metric:gauge')
    model.relate(parent=application, child=subsystem)
    model.relate(parent=cobe.identify_process(), child=application)
    source.send(model)

Getting Started

Firstly you will need a Cobe account and Topology. Once you’ve created your topology, read the getting started documentation to start monitoring your own Python applications.

If you come across any bugs please do report them.

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 python-cobe, version 0.2.2
Filename, size File type Python version Upload date Hashes
Filename, size python-cobe-0.2.2.tar.gz (26.6 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