Heka-py

Latest version: v0.30.3

Safety actively analyzes 683322 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 3 of 4

0.9.4

==================

- Added a testcase against the UDP input plugin.
- Fixed bug in socket.sendto function signature.

0.9.3

==================

- HekaClient's `override` argument now accepts method name to override
instead of `True`.
- Decorator tests now get the expected envelope version from the module source
code rather than hard coded in the tests.
- Added udp sender.

0.9.2

==================

- Plugin method names are now expected to be stored in the `heka_name`
attribute of the provided function rather than passed in separately.
- 'oldstyle' messages now support string substitution using provided args and
the `exc_info` keyword argument for slightly better stdlib logging
compatibility.
- ZeroMQ sender now uses gevent safe implementations of `Queue` class and `zmq`
module if the gevent monkeypatches have been applied.

0.9.1

==================

- Added `StdLibLoggingSender` that delegates message delivery to Python's
standard library `logging` module.

0.9

================

- Refactored / simplified filter and plug-in config loading code
- Filter functions now use closures for filter config (matching plug-in config)
instead of passing the config as an argument each time.
- `HekaClient.add_method` now supports `override` argument to force the issue
of replacing existing attributes.
- Added `heka_hostname` and `heka_pid` to the message envelope handed to the
sender.
- Added support for `rate` argument to `HekaClient.incr` method.
- `HekaClient.timer` converted from a property to a method, allowing for much
better performance and much simpler code.
- Got rid of `new_default` argument `HekaClientHolder.delete_client`. Folks
can set a new default w/ another function call if necessary.
- `DebugCaptureSender.__init__` now accepts arbitrary keyword args and stores
them as attributes on the instance to allow for easier testing of the config
parsing code.

0.8.5

==================

- Replaced `heka.decorators.base.HekaClientWrapper` with
`heka.holder.HekaClientHolder` which is a bit more useful and a bit more
sane.
- Moved Python stdlib `logging` compatibility hooks into its own module.
- Updated config parsing to support global values stored in the CLIENT_HOLDER.
- Added `is_active` property to `HekaClient`.
- Heavily revised "Getting Started" documentation.
- Added `dict_from_stream_config` function to `config`.
- Extracted `StreamSender` from `StdOutServer`, added support for arbitrary
formatters for the output.
- Added `ZmqHandshakePubSender` which communicates w/ clients via a control
channel.
- ZMQ senders now use connection pooling.

Page 3 of 4

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.