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.

Source Distribution

python-cobe-0.2.2.tar.gz (26.6 kB view hashes)

Uploaded source

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page