Library to correctly pass current OpenTracing span to Cassandra
Project description
python-cassandra-jaeger
When do I use it?
When I'm using the following technologies:
And you want to view what Cassandra's doing with your queries.
Usage
Just do the following:
from python_cassandra_jaeger import SessionTracer
from cassandra.cluster import Cluster
from .tracing import tracer
c = Cluster(['127.0.0.1'])
s = c.session()
st = SessionTracer(s, tracer)
st.execute('')
And you keep on utilizing st
instead of s
.
This will automatically execute tracing when your span is being traced.
For tracing cassandra-driver using smok-serwis/cassandra-jaeger-tracing
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
Close
Hashes for python-cassandra-jaeger-0.1a5.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 62dd4ee6fc31aa52f6091c016173b305edad520c70b3399e9ef502d66a4455b2 |
|
MD5 | ca8134b1a6d1708dae83b3bc918410cb |
|
BLAKE2b-256 | c86acbad51e5ef8d12cb2db0c9083b26d7f1d4c5894f56ec708e485c0922797c |
Close
Hashes for python_cassandra_jaeger-0.1a5-py3.8.egg
Algorithm | Hash digest | |
---|---|---|
SHA256 | a2d15ac36154f10b66d33fbeb00865ef14df18af50eef2f8b91eb8f2976f5fd9 |
|
MD5 | 3b54e67ecb8c650da6d95f969976be18 |
|
BLAKE2b-256 | 3b66684963ff4de97fbce636bb96f1ca4859bb6d84d238408ae2ade775806b08 |
Close
Hashes for python_cassandra_jaeger-0.1a5-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 109e9dd2bc98a2ef4133a711bd3d6615231edd714d7d022037146b21e47e0164 |
|
MD5 | de840a22af78d3fd41538696cd2f171a |
|
BLAKE2b-256 | 981abb5992878e9b7bfcbd6c0072cf5508d39d2ffe32ee610665e5c7ae88eb79 |