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

MQE: add docs about native histogram memory pooling and safety #9615

Merged
merged 4 commits into from
Oct 15, 2024

Conversation

charleskorn
Copy link
Contributor

What this PR does

This PR expands the readme for pkg/streamingpromql to explain how histogram.FloatHistogram instances are reused and what should be done to ensure this happens correctly and safely.

I've also taken this opportunity to update references to "the streaming PromQL engine" to "MQE" in the readme.

I have not added a changelog entry given this is not a user-facing change.

Which issue(s) this PR fixes or relates to

(none)

Checklist

  • [n/a] Tests updated.
  • Documentation added.
  • [n/a] CHANGELOG.md updated - the order of entries should be [CHANGE], [FEATURE], [ENHANCEMENT], [BUGFIX].
  • [n/a] about-versioning.md updated with experimental features.

@charleskorn charleskorn marked this pull request as ready for review October 15, 2024 00:00
@charleskorn charleskorn requested a review from a team as a code owner October 15, 2024 00:00
Copy link
Contributor

@jhesketh jhesketh left a comment

Choose a reason for hiding this comment

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

lgtm, just some nits

pkg/streamingpromql/README.md Outdated Show resolved Hide resolved
pkg/streamingpromql/README.md Outdated Show resolved Hide resolved
@charleskorn charleskorn enabled auto-merge (squash) October 15, 2024 00:51
@charleskorn charleskorn merged commit e60926a into main Oct 15, 2024
29 checks passed
@charleskorn charleskorn deleted the charleskorn/mqe-nh-docs branch October 15, 2024 01:03
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.

2 participants