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

feat: towards decoupling from metrics component - make it optional #131

Merged
merged 2 commits into from
Oct 28, 2024

Conversation

aleortega
Copy link
Contributor

@aleortega aleortega commented Jul 6, 2024

is it needed to have metrics component as required? I was working in a proof-of-concept where I do not want to collect metrics (at least yet on early stages) and have found this dep. Also this dcl metric.

@aleortega aleortega marked this pull request as draft July 6, 2024 21:48
@aleortega
Copy link
Contributor Author

@menduz wdyt about this change? not sure if it is proper to rename NeededComponents to Components or move this metrics dep to Options

@aleortega aleortega marked this pull request as ready for review July 7, 2024 16:17
Copy link
Member

@menduz menduz left a comment

Choose a reason for hiding this comment

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

Amazing, 🚀 if the pattern continues to evolve for other components I'd like to discuss the duplication of functions metered/not-metered. Maybe a decorator/high order component can do the trick.. but I haven't spend much time thinking about it

@menduz
Copy link
Member

menduz commented Jul 7, 2024

For all house-keeping changes about names, I'm all in

@aleortega aleortega merged commit fbf830e into main Oct 28, 2024
1 check passed
@aleortega aleortega deleted the optional-metrics branch October 28, 2024 18:45
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