Skip to content

Conversation

alex
Copy link
Contributor

@alex alex commented Sep 12, 2025

currently the prootbuf implementation takes the stringified-labels and parses them back into their original form, which is silly. refactored to avoid that, and in the process also avoid some copies and allocations.

this changes public APIs around these, so should only be landed with an appropriate version bump

currently the prootbuf implementation takes the stringified-labels and parses them back into their original form, which is silly. refactored to avoid that, and in the process also avoid some copies and allocations.

this changes public APIs around these, so should only be landed with an appropriate version bump
@tobz tobz added C-exporter Component: exporters such as Prometheus, TCP, etc. E-intermediate Effort: intermediate. T-refactor Type: refactor. labels Sep 24, 2025
@tobz
Copy link
Member

tobz commented Sep 24, 2025

Seems reasonable to me. 👍🏻

@tobz tobz merged commit 32c62dc into metrics-rs:main Sep 24, 2025
13 checks passed
@tobz tobz added the S-awaiting-release Status: awaiting a release to be considered fixed/implemented. label Sep 24, 2025
@alex alex deleted the reformat-parsing branch September 24, 2025 17:50
@alex
Copy link
Contributor Author

alex commented Sep 24, 2025

great, thanks! will try to get the final (hopefully!) histogram PR up soon

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-exporter Component: exporters such as Prometheus, TCP, etc. E-intermediate Effort: intermediate. S-awaiting-release Status: awaiting a release to be considered fixed/implemented. T-refactor Type: refactor.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants