Skip to content
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

Add new API for tracing #247

Merged
merged 2 commits into from
Aug 30, 2024
Merged

Conversation

sylwiaszunejko
Copy link
Collaborator

Reading of tracing info should be done asynchronously, otherwise enabling tracing will lead to query processing slow down. Current implementation of Tracer - traceWriter has this flaw and is actually not exactly useful, it just write custom formatted messages into a buffer.

This commit adds new implementation of Tracer - tracer which address that problems.

Fixes: #227

@sylwiaszunejko
Copy link
Collaborator Author

I added this as a draft due to the ongoing discussion on what condition in isReady should look like #242

session.go Outdated Show resolved Hide resolved
session.go Outdated Show resolved Hide resolved
session.go Outdated Show resolved Hide resolved
session.go Outdated Show resolved Hide resolved
cassandra_test.go Outdated Show resolved Hide resolved
session_test.go Outdated Show resolved Hide resolved
tracer.go Outdated Show resolved Hide resolved
tracer.go Outdated Show resolved Hide resolved
tracer.go Outdated Show resolved Hide resolved
Reading of tracing info should be done asynchoniusly,
otherwise enabling tracing will lead to query processing
slow down. Current implementation of Tracer - traceWriter
has this flaw and is actually not exactly usefull, it just
write custom formatted messages into a buffer.

This commit adds new implementation of Tracer - tracer which
address that problems.
@dkropachev dkropachev merged commit b817180 into scylladb:master Aug 30, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Fix issues with tracing
2 participants