Skip to content

Conversation

@untitaker
Copy link
Member

The metrics interface in rust-arroyo was inherited from merni and has
support for value-less (or key-less) metric tags. Those are not used in
arroyo, so we can simplify the interface. We can also guarantee that
keys are not dynamically generated, saving us one trait object.

This will make it easier to interface with the metrics crate in the
streams repo, which does not support value-only tags.

The metrics interface in rust-arroyo was inherited from merni and has
support for value-less (or key-less) metric tags. Those are not used in
arroyo, so we can simplify the interface. We can also guarantee that
keys are not dynamically generated, saving us one trait object.

This will make it easier to interface with the metrics crate in the
streams repo, which does not support value-only tags.
Copy link
Member

@bmckerry bmckerry left a comment

Choose a reason for hiding this comment

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

I know what the PR aims to do and this looks right but I am not qualified to review a macro change

@untitaker untitaker merged commit 6f3d41f into main Dec 8, 2025
16 checks passed
@untitaker untitaker deleted the simplify-rust-metrics branch December 8, 2025 15:54
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.

4 participants