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

Revert "Move metric No-Op to metric/noop (#3893)" #3921

Merged
merged 2 commits into from
Mar 22, 2023

Conversation

MrAlias
Copy link
Contributor

@MrAlias MrAlias commented Mar 22, 2023

This reverts commit 3c75a44 while keeping the removal of NewNoopMeter.

With the possibility to use major version revisions to handle API evolution, including the No-Op does not provide the value we originally intended. If we decide at a later date to not go with major version revisions this can be added back in then.

@MrAlias MrAlias added pkg:API Related to an API package area:metrics Part of OpenTelemetry Metrics labels Mar 22, 2023
@MrAlias MrAlias added this to the v1.15.0 milestone Mar 22, 2023
@codecov
Copy link

codecov bot commented Mar 22, 2023

Codecov Report

Merging #3921 (0314380) into main (e4cc478) will decrease coverage by 0.1%.
The diff coverage is 97.1%.

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##            main   #3921     +/-   ##
=======================================
- Coverage   81.8%   81.8%   -0.1%     
=======================================
  Files        170     170             
  Lines      12915   12909      -6     
=======================================
- Hits       10566   10561      -5     
+ Misses      2130    2129      -1     
  Partials     219     219             
Impacted Files Coverage Δ
metric/noop.go 97.1% <97.1%> (ø)

... and 1 file with indirect coverage changes

@MrAlias MrAlias modified the milestones: v1.15.0, v1.15.0-RC2 Mar 22, 2023
@MrAlias
Copy link
Contributor Author

MrAlias commented Mar 22, 2023

Merging prior to the full working day as this was discussed via a video chat (see this)

@MrAlias MrAlias merged commit 795ad97 into open-telemetry:main Mar 22, 2023
@MrAlias MrAlias deleted the revert-3893 branch March 22, 2023 21:41
MrAlias added a commit to MrAlias/opentelemetry-go that referenced this pull request Mar 27, 2023
MrAlias added a commit that referenced this pull request Mar 29, 2023
* Revert "Revert "Move metric No-Op to metric/noop (#3893)" (#3921)"

This reverts commit 795ad97.

* Add PR number

* Move example_test back to `otel/metric`

* Update CHANGELOG.md

Co-authored-by: Robert Pająk <pellared@hotmail.com>

* Remove redundant panic tests

* Update noop pkg docs

---------

Co-authored-by: Robert Pająk <pellared@hotmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:metrics Part of OpenTelemetry Metrics pkg:API Related to an API package
Projects
No open projects
Status: Done
Development

Successfully merging this pull request may close these issues.

3 participants