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

instr(buffer): Measure envelope size #4153

Merged
merged 2 commits into from
Oct 18, 2024
Merged

Conversation

jjbayer
Copy link
Member

@jjbayer jjbayer commented Oct 18, 2024

Collect a histogram metric for the size of the envelopes that get pushed into the envelope buffer. This will help us tune batch sizes for writing.

We already have a metric for item sizes in the request handler, but we want one for the entire envelope & restrict it to envelopes that actually make it to the buffer (exclude rate limited).

#skip-changelog

@jjbayer jjbayer marked this pull request as ready for review October 18, 2024 09:36
@jjbayer jjbayer requested a review from a team as a code owner October 18, 2024 09:36
@jjbayer jjbayer enabled auto-merge (squash) October 18, 2024 09:41
@jjbayer jjbayer merged commit a100236 into master Oct 18, 2024
24 checks passed
@jjbayer jjbayer deleted the instr/buffer-envelope-bytes branch October 18, 2024 09:47
jan-auer added a commit that referenced this pull request Oct 21, 2024
* master:
  ref(server): Move project source into the source module (#4154)
  instr(buffer): Measure envelope size (#4153)
  ref(redis): Cleanup code around Redis (#4151)
  lint: Rust 1.82 (#4150)
  chore(server): Remove native placeholders from transaction processing (#4148)
  feat(eap): Extract user IP (#4144)
  Revert "ref(buffer): remove peek" (#4146)
  ref(buffer): remove peek (#4136)
  release: 24.10.0
  build(deps): bump tonic from 0.12.2 to 0.12.3 (#4143)
  instr(projects): Log fetch failure (#4142)
  ref(otel): Disable default features for otel schema (#4141)
  ref(server): Organize project services in nested modules (#4139)
  ref(redis): Update to redis client version 0.27.4 (#4132)
  feat(redis): Implement parallel cmd execution of Redis calls (#4118)
  feat(spooler): Add metric to track serialization performance (#4135)
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.

3 participants