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.

Filename, size & hash SHA256 hash help File type Python version Upload date
python-cobe-0.2.2.tar.gz (26.6 kB) Copy SHA256 hash SHA256 Source None

Supported by

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