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.1a1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 35693b610e80d9aacfe6755362e78c37354810a81e2828637a69b5277ec65ca4 |
|
MD5 | 7fb131c9ec3b70f3b0b8980c7045c00f |
|
BLAKE2b-256 | 4379256fd3b39d4c532ab0e35ba7f0c5548464587c81fe3c3e9363b58f6c1679 |
Close
Hashes for python_cassandra_jaeger-0.1a1-py3.8.egg
Algorithm | Hash digest | |
---|---|---|
SHA256 | d077cdc76e9f4501aff10188263a8ca45ae2af5a9ad702ffc1b805e23bc42ef6 |
|
MD5 | 76390a75ed44e850e6ac803929264485 |
|
BLAKE2b-256 | 206b7f3b37cd37b46f6f67ae9d9217ce862dd024416f3e2b9631b50747acc985 |
Close
Hashes for python_cassandra_jaeger-0.1a1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 38f82c6e9d441f3627870ffa0f593c6f927c9ae69aea2b02d712ee3b6414acc8 |
|
MD5 | 66ea1811848815b35d34036a830cd546 |
|
BLAKE2b-256 | 127c2c7b468df655ad90ee18c792f65bb6c3a2de9355c6fc33f1ecee3deb38be |