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.1a3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9eb502bdd28297fc68a64964374fd03ae724fd921ccb6aec2eeef639cc8136fe |
|
MD5 | 17481906dcfae96cdd0360d47a353b93 |
|
BLAKE2b-256 | 4f4dacb73788bc9b2bd0233039108254a616a30a4fe195906b237f0e605b4ec0 |
Close
Hashes for python_cassandra_jaeger-0.1a3-py3.8.egg
Algorithm | Hash digest | |
---|---|---|
SHA256 | b3ed5cb2b05023b8837b7f75a657fe4f0b842972bd3d279ecbd8442af260413d |
|
MD5 | fcf580be416b94401e1bc9fc31052722 |
|
BLAKE2b-256 | e2e401312bd3ce6d0c2292f070a2921e160057d7ad10b3a86f9f5bb6af30bd5b |
Close
Hashes for python_cassandra_jaeger-0.1a3-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 25414c578c7a0f98f6ac1e1b915e624e4bc5158b6d9cecc13e6f9e1eca906ebd |
|
MD5 | e53f496527f9d22965dd1dd6bad33e21 |
|
BLAKE2b-256 | ba333e27c6caa45eb6ebbb6052694bf8055647985fa287b806d3ee3a2b55a79d |