Skip to main content

Stack and stats tracer for multi-threaded applications.

Project description

Donate PyPI Version PyPI License PyPI Format PyPI Status

Stack and stats tracer for multi-threaded applications.

Periodically dump stack traces and stats of all active threads of the running process into a given file in intervals of time.

Installation

pip install stacktraces

Usage

from stacktraces import Stacktraces
tracer = Stacktraces('/tmp/stacktraces{ext}', traceback_interval=5, stats_interval=10)
tracer.start()
....
tracer.stop()

License

The MIT Licence

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

stacktraces-0.1.0.tar.gz (4.4 kB view details)

Uploaded Source

File details

Details for the file stacktraces-0.1.0.tar.gz.

File metadata

  • Download URL: stacktraces-0.1.0.tar.gz
  • Upload date:
  • Size: 4.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for stacktraces-0.1.0.tar.gz
Algorithm Hash digest
SHA256 2f3933606de0ce58f5873aa969db8ecb928530750f8bfafe02773df33733219b
MD5 4ca5cd29cd98b1ad7bf6a8f2d52ee308
BLAKE2b-256 9da0f9fdbf5229fab90072daa6f778d96ce7b5f0775ba60b212f8615b17642b9

See more details on using hashes here.

Provenance

Supported by

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