-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Log Cassandra trace data if tracing is enabled #695
Comments
This looks like a duplicate of #495 |
@gbrova I don't think it is. This is specifically referring to the existing tracing Cassandra feature for performance analysis. All that we need to do is enabling to use the existing Cassandra tracing data (ideally by logging what we're interested in). It's already done in the CQL kvs, just needs porting. |
@nemines can you elaborate? In CassandraKVS I see:
where an example of this being called is
|
Ooooh I just re-read your original post @nemines. Basically what you're saying is that you'd like us to make a way to actually pull the information that cassandra trace generates in system_traces and actually extract it from cassandra and write it to a log. The bad part about this is that it makes enabling tracing that much more of a performance hit (as the cassandra trace on it's own already has impact, nevermind adding more round trips to cassandra). That being said we can probably do it in the short term anyway, and just make it another configuration point in the cassandra tracing (whether or not to log actual trace info instead of just trace ids). The long term solution to this is using a cassandra version that supports generating zipkin style traces (http://thelastpickle.com/blog/2015/12/07/using-zipkin-for-full-stack-tracing-including-cassandra.html) and then integrating Brave into the various KVS' to be able to pass trace requests to cassandra. Requires openzipkin/brave#166 to be resolved as well, which @schlosna is working on. |
Oh, now I get it too. It's fine for me if we want to wait for zipkin and close this one. |
@nemines - what specifically is broken about it? Do you mind filing a separate ticket for that? I'll close this one out with the understanding we'll eventually want a zipkin compatible Cassandra. |
Last time I tried to use the id in the atlas log to access the traces stored in Cassandra I was not able to find anything matching in the KVS. I figured someone should check if it's actually working, because for me it wasn't. |
CQLKeyValueServices
offer alogTracedQuery
to bring performance traces stored into Cassandra to logs, if enabled.It would be useful to have this in
CassandraKeyValueService
as well.The text was updated successfully, but these errors were encountered: