Skip to main content

PyCounters is a light weight library to monitor performance and events in production systems

Project description

Checkout http://pycounters.readthedocs.org/ for more details.

0.7:
  • Fixed: a busy leader which doesn’t respond to a ping on a timely fashion was not handled correctly.

0.6:
  • NEW: new types of counters MaxWindowCounter, MinWindowCounter

  • IMPORTANT: changes in package structure, counters module split int sub modules. Backward compatible as long as no internals were used.

  • Fixed: removing a counter by name caused an exception

  • Fixed: too short queue on multi process server caused pycounters to fail if used on >~10 processes

  • Fixed: starting up a new process in a multi-process auto election setup caused JSON reporter to output an empty file (which will then be updated in the next cycle)

0.5:
  • Fixed - locking issue with JSON output files

  • Fixed - EventCounter did not respond to events keyword argument

0.4:
  • added a patcher util class to allow injecting events to existing libraries/code.

  • decoupled counter names from the names of events they count. Still, by default a counter will count events with it’s name

  • shortcut decorators now take the name of the function they wrap as a default event name

  • Added a role option to multi process reporting initializations.

  • Made all report_* and shortcuts decorators usable as context managers.

  • Munin plugin now ignores old reports by default

  • Counters which doesn’t have any value now return None instead of 0.

  • Fixed an issue with aggregation of average values when not all sources had the same value

  • Added output_report() to allow manual initiation of reports.

0.3:
  • Added a manifest.in file, so that CHANGES.txt will come along.

0.2:
  • Added multiprocess support.

  • Extended EventLogger to allow regex based filtering of events it logs.

  • Added JSONFileReporter to output reports in JSON format

  • Added a utility to facilitate writing Munin plugins

0.1:
  • Initial Release

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pycounters-0.7.tar.gz (32.1 kB view details)

Uploaded Source

Built Distribution

pycounters-0.7.macosx-10.9-intel.exe (88.3 kB view details)

Uploaded Source

File details

Details for the file pycounters-0.7.tar.gz.

File metadata

  • Download URL: pycounters-0.7.tar.gz
  • Upload date:
  • Size: 32.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for pycounters-0.7.tar.gz
Algorithm Hash digest
SHA256 582e1657d0c1cc8432eaa39f0b6b3ca37f6a798b8f73984b48d5a44a72626490
MD5 fd99f5ba9bc6d768adb6f2a7c883ed6e
BLAKE2b-256 7ba81e3f8ca4862899a44cf69dcb865f06ab0b5777309d6c7747a7120105de27

See more details on using hashes here.

File details

Details for the file pycounters-0.7.macosx-10.9-intel.exe.

File metadata

File hashes

Hashes for pycounters-0.7.macosx-10.9-intel.exe
Algorithm Hash digest
SHA256 d48d6cf3b9abe52bb2aca0a849650e27fb5110c8e2ba2168c0136330a9c8bdaf
MD5 0be1d612ff3af4b176a07e4bd17d569e
BLAKE2b-256 9db07dbf85e815d9bc7312494e10b3ab02e9d3acfd5c05fdfdca28515a7d4c8d

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page