Opentracing tracers
Jaeger tracer instrumentation implemented
GitHub url: https://github.com/beyondminds/bmopentracing
Usage:
import logging
from bmopentracing.tracers.jaeger import trace
class ClassToInstrumentWithJaegerTracing:
@trace('ClassToInstrumentWithJaegerTracing', logging.DEBUG)
def __init__(...):
@trace('ClassToInstrumentWithJaegerTracing', logging.DEBUG)
def method_to_instrument(...):
@trace('ClassToInstrumentWithJaegerTracing', logging.DEBUG)
def anothor_method_to_instrument(...):
Examples of Jaeger logs:
INFO:jaeger_tracing:Initializing Jaeger Tracer with UDP reporter
INFO:jaeger_tracing:Using sampler ConstSampler(True)
INFO:jaeger_tracing:opentracing.tracer initialized to <jaeger_client.tracer.Tracer object at 0x7fe3662450a0>[app_name=ClassToInstrumentWithJaegerTracing]
INFO:jaeger_tracing:Reporting span 3ee394c442e9cc86:2fc2724e798b2422:0:1 ClassToInstrumentWithJaegerTracing.__init__
INFO:jaeger_tracing:Reporting span 86f77e62c1acbd39:bb0b4e49db3372c3:2f8ed28eee8f5172:1 ClassToInstrumentWithJaegerTracing.method_to_instrument
INFO:jaeger_tracing:Reporting span 86f77e62c1acbd39:6962c9b371b1889a:2f8ed28eee8f5172:1 ClassToInstrumentWithJaegerTracing.anothor_method_to_instrument
INFO:jaeger_tracing:Reporting span 86f77e62c1acbd39:2f8ed28eee8f5172:0:1 ClassToInstrumentWithJaegerTracing.anothor_method_to_instrument
The Simplest way to run jaeger web server is:
./jaeger-1.21.0-darwin-amd64/jaeger-all-in-one --collector.zipkin.http-port=9411
Metadata
Release files for bmopentracing 0.0.7
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 | Actions |
|---|---|---|---|---|
| bmopentracing-0.0.7.tar.gz | 2.6 kB | Without provenance | Details for bmopentracing-0.0.7.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| bmopentracing-0.0.7-py3-none-any.whl | Python 3 | none | any | Details for bmopentracing-0.0.7-py3-none-any.whl |
Total release size: 6.8 kB
Release files / bmopentracing-0.0.7.tar.gz
| Download URL | bmopentracing-0.0.7.tar.gz |
|---|---|
| Size | 2.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6eaddab214f7d7b11512ad281de5182a8eec0f9b6c836f5febb219682db2cdaf
|
|
BLAKE2b-256 checksum How to use checksums |
5255a62b1ebd1875cc8b1da2bd031d01853b9d15f2d9c4ac14a4d5fe6d9eaa98
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.6.1 requests/2.25.1 setuptools/51.0.0.post20201207 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.8.5
|
Release files / bmopentracing-0.0.7-py3-none-any.whl
| Download URL | bmopentracing-0.0.7-py3-none-any.whl |
|---|---|
| Size | 4.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
2680544c002d43b46f8dfa65f34bf87e2af841595ed7c12f408aca875509ef52
|
|
BLAKE2b-256 checksum How to use checksums |
4005aa4d929093fcadb2c9cccbc03bda54dd3994d0faeda7174d74c104895997
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.6.1 requests/2.25.1 setuptools/51.0.0.post20201207 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.8.5
|
Security for bmopentracing 0.0.7
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.