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

sql: augment statement logging with a txn counter #10114

Closed
jseldess opened this issue Mar 23, 2021 · 3 comments
Closed

sql: augment statement logging with a txn counter #10114

jseldess opened this issue Mar 23, 2021 · 3 comments
Assignees
Milestone

Comments

@jseldess
Copy link
Contributor

PR: cockroachdb/cockroach#41929

From release notes:

The structured payloads used for SQL audit and execution logs now include a transaction counter since the beginning of the session. Statements issued inside the same SQL transaction will thus be logged with the same counter value, thus enabling per-transactions grouping during log analysis. Separate sessions use independent counters. [#41929][#41929] {% comment %}doc{% endcomment %}

@jseldess jseldess added this to the 21.1 milestone Mar 23, 2021
@jseldess
Copy link
Contributor Author

cc @ericharmeling, @ianjevans, this might be SQL observability, not sure.

@taroface
Copy link
Contributor

This is about the log messages, so it should be my area.

@taroface
Copy link
Contributor

Closed by #10273.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants