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

core-metrics: remove Histogram.Meta in favor of InstrumentMeta #730

Merged
merged 1 commit into from
Aug 27, 2024

Conversation

iRevive
Copy link
Contributor

@iRevive iRevive commented Aug 21, 2024

I cannot recall why it was implemented that way in the very first place.

Histogram.Meta was needed to provide the def resourceUnit: Resource[F, Unit]. However, we can construct Resource.unit anywhere since it doesn't require Applicative.

@iRevive iRevive added the tracing Improvements to tracing module label Aug 21, 2024
@iRevive iRevive requested a review from NthPortal August 21, 2024 15:24
@iRevive iRevive force-pushed the core-metrics/histogram-meta branch from 84f0545 to d19f864 Compare August 21, 2024 15:31
@iRevive iRevive added metrics Improvement to metrics module and removed tracing Improvements to tracing module labels Aug 21, 2024
@iRevive iRevive force-pushed the core-metrics/histogram-meta branch from d19f864 to d99bcc5 Compare August 27, 2024 06:38
@iRevive iRevive merged commit e35ebae into typelevel:main Aug 27, 2024
10 checks passed
@iRevive iRevive deleted the core-metrics/histogram-meta branch August 27, 2024 07:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
metrics Improvement to metrics module
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants