A library to enable streaming of custom entities to Cobe.io from within any Python applications
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.
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)
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.