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

perf(1351): Add a row count metric for subscriptions #1435

Merged
merged 1 commit into from
Jun 14, 2024

Conversation

joshua-spacetime
Copy link
Collaborator

Closes #1351.

Also label row count and message size metrics by db address and workload.

Expected complexity level and risk

1

Testing

Describe any testing you've done, and any testing you'd like your reviewers to do,
so that you're confident that all the changes work as expected!

  • Write a test you've completed here.
  • Write a test you want a reviewer to do here, so they can check it off when they're satisfied.

crates/client-api/src/routes/subscribe.rs Outdated Show resolved Hide resolved
crates/client-api/src/routes/subscribe.rs Outdated Show resolved Hide resolved
crates/client-api/src/routes/subscribe.rs Outdated Show resolved Hide resolved
crates/core/src/client/messages.rs Show resolved Hide resolved
crates/core/src/worker_metrics/mod.rs Outdated Show resolved Hide resolved
crates/core/src/worker_metrics/mod.rs Show resolved Hide resolved
Copy link
Contributor

@Centril Centril left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

With #1435 (comment) addressed this looks good.

Closes #1351.

Also label row count and message size metrics by db address and workload.
@joshua-spacetime joshua-spacetime force-pushed the joshua/perf/1351/row-count-metric branch from cb357e4 to 92fb825 Compare June 14, 2024 18:18
@joshua-spacetime joshua-spacetime added this pull request to the merge queue Jun 14, 2024
Merged via the queue into master with commit 8a3364e Jun 14, 2024
7 checks passed
@joshua-spacetime joshua-spacetime deleted the joshua/perf/1351/row-count-metric branch June 14, 2024 18:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add metric for number of rows returned in subscription messages
2 participants