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.1a2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | e6d2544baabdc0bd704f1378e4a55f0bca983a43fdd64563d4cef91f309d22a5 |
|
MD5 | b52d88686bd77872031e0de4b94af70d |
|
BLAKE2b-256 | 2fa67cc2ffc191ebfa371b352cb91255da4355b5519d80c6b7067510c36f4b79 |
Close
Hashes for python_cassandra_jaeger-0.1a2-py3.8.egg
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3b1bd8149c3b0298f68942e25e10b9ceea8ea536455c2c12d6cae5425f932595 |
|
MD5 | 4b762a79e401fcba55befad0a6d1a97b |
|
BLAKE2b-256 | 63b805abf6e5c35a2b07a4bc6c23e10fcdaa37d20a2f12cbc1c5bccb5c286362 |
Close
Hashes for python_cassandra_jaeger-0.1a2-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b0ea2c39ec54ea7ba02e307ecd04dfc9aaa489d495ffb7a330ca0475d211ba48 |
|
MD5 | 8123a8a099a30f423f794534f546c409 |
|
BLAKE2b-256 | f72ad7c055e792a4f2382acd05048d5f02857c10bd3ca2903986c4ebe82bd2a8 |