monasca_log_api.reference.v3 package¶
monasca_log_api.reference.v3 module¶
monasca_log_api.reference.v3 module¶
-
read_json_msg_body
(req)[source]¶ Read the json_msg from the http request body and return them as JSON.
Parameters: req – HTTP request object. Returns: Returns the metrics as a JSON object. Raises: falcon.HTTPBadRequest –
-
class
BulkProcessor
(logs_in_counter, logs_rejected_counter)[source]¶ Bases:
monasca_log_api.reference.common.log_publisher.LogPublisher
BulkProcessor for effective log processing and publishing.
BulkProcessor is customized version of
monasca_log_api.reference.common.log_publisher.LogPublisher
that utilizes processing of bulk request inside single loop.