Changes

Jump to: navigation, search

CloudServices/Sagrada/Metlog

314 bytes added, 20:34, 17 October 2011
no edit summary
* ''payload'': Actual message contents.
* ''tags'': Arbitrary set of key/value pairs that includes any additional data that may be useful for back end reporting or analysis.
* ''env_version'': API version number of the "message envelope", i.e. any changes to the message data structure (exclusive of message-type-specific changes that may be embedded within the tags or the payload) must increment the env_version value. The structure described in this document is envelope version 0.8.
We will provide a "metlog" library that will both ease generation of these messages and that will handle packaging them up and delivering them into the message processing infrastructure. Implementations of this library will likely be available in both Python and Javascript, but the Python library will be available first and this document will, for now, only describe the Python API. The Javascript API will be similar, modulo syntactic sugar that is available in Python but not in JS (e.g. decorators, context managers), and will be documented in detail in the future. The proposed Python API is as follows:
Confirm
125
edits

Navigation menu