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 details)

Uploaded Source

File details

Details for the file python-cobe-0.2.2.tar.gz.

File metadata

  • Download URL: python-cobe-0.2.2.tar.gz
  • Upload date:
  • Size: 26.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for python-cobe-0.2.2.tar.gz
Algorithm Hash digest
SHA256 7aed20291cc23182ea7d79bc97c46e322c59eb405a6d666b2477165b887b5f13
MD5 5eb97b45cac79fe55cc1a50d0f41462c
BLAKE2b-256 3d4bfbcb102f80b23aa229926f99372ee9ab5b7ecef86c3b459ef81a46c5b9cf

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page