Skip to main content

Utilities for Chronicler event delivery

Project description

The matildapeak-chronicler-transmitter module is a set of utilities employed by Matilda Peak’s Emergent Behaviour Platform.

Chronicler Transmitter

This class provides basic payload transmission to Chronicler and is used by Garten and other data adapters to feed Chronicler with processable data. The payload is a keyword-value dictionary that is passed to connected Patterneer Runners encapsulated in a Protocol Buffer object.

For convenience The class provides a synchronous posting method (post()) and an asynchronous posting method (post_async()) but you’re advised to use one or the other, not mix them in a single application.

Typical usage:

from matildapeak.chronicler_transmitter import ChroniclerTransmitter

ct = ChroniclerTransmitter(URL, RESOURCE, APP_ID, APP_CODE)
ct.post_async({'field': 'value'})

ct.stop_async()

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 matildapeak-chronicler-transmitter, version 2019.3
Filename, size File type Python version Upload date Hashes
Filename, size matildapeak_chronicler_transmitter-2019.3-py3-none-any.whl (5.5 kB) File type Wheel Python version py3 Upload date Hashes View hashes

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 DigiCert DigiCert EV certificate StatusPage StatusPage Status page