Mmstats

Latest version: v0.8.0

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

Scan your dependencies

Page 1 of 3

0.8.0

-----

* ``MmStats.remove`` now removes all files for a PID if you use the TID in the
filenames (thanks bitprophet!)
* *mmash* now prepends ``MMSTATS_PATH`` to ``?glob=...`` parameters so users
can't traverse the filesystem.
* Javascript fixes for *mmash*'s graphs (thanks spiccinini!)
* Handle broken pipes in *slurpstats*

0.7.2

-------------------------------------

* `cleanstats` now cleans mmstats files for alive PIDs that are owned by other
users.
* Minor cleanups to tests

0.7.1

------------------------------------

* ``cleanstats`` now defaults to ``DEFAULT_GLOB`` if no files are passed on the
command line
* ``CounterField.inc(n=...)`` has been deprecated in favor of
``CounterField.incr(amount=...)``
* *mmash* Improvements

* Added ``nonzero-avg`` and ``nonzero-min`` aggregators to mmash to filter 0s
out of aggregated metrics.
* Added a ``glob`` query parameter to ``/stats/<stats>`` to filter which
mmstats files are included in the stats
* Backward incompatible change: switched ``/stats/`` to return a JSON Object
instead of an array. The array is now the value of the ``stats`` key.

* Minor documentation and code cleanups

0.7.0

-------------------------------------------------

* Per-thread model instances are created automatically - no need to manually
create one per thread
* Backward incompatible change to naming templates; they now use str.format
style substitutions:

* New: ``{CMD}`` - Current process name
* ``%PID%`` -> ``{PID}``
* ``%TID%`` -> ``{TID}``

0.6.2

---------------------------------------

* Added live graphing of numeric metrics thanks to haard's work at PyCon
* Documentation improvements

0.6.1

----------------------------------------

* Fix packaging issue

Page 1 of 3

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.