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

Would like D scripts for tracing transactions in Nexus #7224

Closed
bnaecker opened this issue Dec 10, 2024 · 0 comments · Fixed by #7244
Closed

Would like D scripts for tracing transactions in Nexus #7224

bnaecker opened this issue Dec 10, 2024 · 0 comments · Fixed by #7244
Labels
Debugging For when you want better data in debugging an issue (log messages, post mortem debugging, and more)

Comments

@bnaecker
Copy link
Collaborator

We've recently run into some issues around large transactions causing performance degradation. We have some D scripts for tracing queries, such as all queries, or the slowest ones every 5 seconds. We've also added some better probes around transactions specifically, which merged in #7219. With that, we can now implement some D scripts to trace those transactions specifically, such as their overall latency, or the number of queries run in them, etc.

We should add those scripts, and also deploy those scripts in the Nexus zones we build via omicron-package.

@bnaecker bnaecker added the Debugging For when you want better data in debugging an issue (log messages, post mortem debugging, and more) label Dec 10, 2024
bnaecker added a commit that referenced this issue Dec 12, 2024
- Adds a script for tracing all transactions run by Nexus, including
  their overall latency and the number of statements in each one.
- Move all existing scripts to a Nexus subdirectory, and then include
  that whole directory in the Omicron zone for Nexus itself.
- Closes #7224
bnaecker added a commit that referenced this issue Dec 13, 2024
- Adds a script for tracing all transactions run by Nexus, including
  their overall latency and the number of statements in each one.
- Move all existing scripts to a Nexus subdirectory, and then include
  that whole directory in the Omicron zone for Nexus itself.
- Closes #7224
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Debugging For when you want better data in debugging an issue (log messages, post mortem debugging, and more)
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant