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

ref: Global metrics registry #245

Merged
merged 1 commit into from
May 26, 2023
Merged

ref: Global metrics registry #245

merged 1 commit into from
May 26, 2023

Conversation

untitaker
Copy link
Member

Register all metrics in the entire codebase in a Literal, and put
the literal in docs.

This is a bit less overhead than a global enum and requires fewer
changes in strategies that already pass metrics as strings.

Register all metrics in the entire codebase in a Literal, and put
the literal in docs.

This is a bit less overhead than a global enum and requires fewer
changes in strategies that already pass metrics as strings.
@@ -16,7 +16,12 @@ Nevertheless, all arroyo strategies are written against the following interface:
:undoc-members:
:show-inheritance:

Messages
Copy link
Member Author

Choose a reason for hiding this comment

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

this change is unrelated but imo should land too. I was revisiting how we render typehints, and noticed that Message is undocumented

Copy link
Member

@lynnagara lynnagara left a comment

Choose a reason for hiding this comment

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

😍

@untitaker untitaker merged commit f7afd25 into main May 26, 2023
@untitaker untitaker deleted the fix/metric-enum branch May 26, 2023 13:38
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