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.1a4.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4438c8539049ea84d4e1076e4dba4a73179afdf1270115000d12e8aecc207f40 |
|
MD5 | 17d19ed73e017935fa6da4a772c22c35 |
|
BLAKE2b-256 | 882ac663976309f6344baa0da89f4cbb75ae44b676b0f323806a8a079da5de1f |
Close
Hashes for python_cassandra_jaeger-0.1a4-py3.8.egg
Algorithm | Hash digest | |
---|---|---|
SHA256 | b83f8ed007a5e5c6f7fd7d1ee5986b7332b2228099890933e628fbccdd33b0fa |
|
MD5 | e26e7e617228aa9f10049bf545428bb6 |
|
BLAKE2b-256 | bc9bf6999b7a22b3752e044e19d1ea383958082fa9483b636ac425a69c0e2ff8 |
Close
Hashes for python_cassandra_jaeger-0.1a4-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6d99fda957deb01b3b2d1cbc10b98e6c1ec2b617d64b1457dba3206f3ae94eb4 |
|
MD5 | 9f8b2d8c9329cc01cc994547d6be17b8 |
|
BLAKE2b-256 | 250e6199af1a470d480e81314299e41c381acb9cdac7798087cfe0f5bb8f1654 |