Slowjam: Application Tracing For Python
Slowjam is an easy to use application tracer for python.
Listen to this:
>>> import requests
>>> from slowjam.trace import span
>>> from slowjam.context import slowjam_context
>>> slowjam_context.start('my_application', extras={'http': True})
>>> with span('listen', extras={'deylay': 3}):
>>> resp = requests.get('https://httpbin.org/delay/3')
>>> with span('request.origin'):
>>> origin = resp.json().get('origin')
>>> origin.split('.')
>>> profile = slowjam_context.stop()
>>> if profile:
>>> print ''
>>> print unicode(profile)
>>> print ''
time exec time event
----------- ----------- ------------------------------
0 ms + my_application [http=True]
0 ms | + listen [deylay=3]
8039 ms (+ 0 ms) | | = request.decode
(+ 8039 ms) | +
(+ 8039 ms) +
Slowjam makes it easy to start getting feedback quick, but with some extra effort it seamlessly integrates with other monitoring tools such as statsd, graphite, and logstash.
Feature Support
Application Tracing
Function timing
Usable output
Graphite Integration
Could Happen
OpenTracing. PR’s welcome
Installation
To install Slowjam, simply:
$ pip install slowjam
✨🍰✨
History
This was originially open-sourced by App.net in their open source version of Alpha.
Metadata
Release files for slowjam 1.3.6
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| slowjam-1.3.6.tar.gz | 8.6 kB | Without provenance | Details |
Release files / slowjam-1.3.6.tar.gz
| Download URL | slowjam-1.3.6.tar.gz |
|---|---|
| Size | 8.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c773a4678bd99b1a107362e7a4f511cf5fcfa12e97aa0d968afe1ca8b4e5e0f7
|
|
BLAKE2b-256 checksum How to use checksums |
0da438279b57d20904091d1cae07fde43c240180cf3e560009a166c231696d82
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for slowjam 1.3.6
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.