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

Remove the deprecated otel/metric/global pkg #3829

Merged
merged 6 commits into from
Mar 7, 2023

Conversation

MrAlias
Copy link
Contributor

@MrAlias MrAlias commented Mar 2, 2023

Resolve #3819

@MrAlias MrAlias added this to the v1.15.0 milestone Mar 2, 2023
@codecov
Copy link

codecov bot commented Mar 2, 2023

Codecov Report

Merging #3829 (af4515a) into main (3015c86) will increase coverage by 0.0%.
The diff coverage is 63.8%.

Additional details and impacted files

Impacted file tree graph

@@          Coverage Diff          @@
##            main   #3829   +/-   ##
=====================================
  Coverage   81.7%   81.7%           
=====================================
  Files        170     168    -2     
  Lines      12474   12462   -12     
=====================================
- Hits       10192   10184    -8     
+ Misses      2067    2063    -4     
  Partials     215     215           
Impacted Files Coverage Δ
internal/global/instruments.go 60.8% <0.0%> (ø)
internal/global/meter.go 93.8% <0.0%> (ø)
metric.go 66.6% <ø> (ø)
internal/global/state.go 100.0% <100.0%> (ø)

@MrAlias MrAlias marked this pull request as ready for review March 2, 2023 19:31
@MrAlias MrAlias merged commit 60f7d42 into open-telemetry:main Mar 7, 2023
@MrAlias MrAlias deleted the rm-metric-global branch March 7, 2023 16:36
@MrAlias MrAlias modified the milestones: v1.15.0, v1.15.0-RC2 Mar 22, 2023
MrAlias added a commit to MrAlias/opentelemetry-go that referenced this pull request Apr 11, 2023
MrAlias added a commit that referenced this pull request Apr 13, 2023
)

* Revert "Remove the deprecated `otel/metric/global` pkg (#3829)"

This reverts commit 60f7d42.

* Revert "Support a global MeterProvider in `go.opentelemetry.io/otel` (#3818)"

This reverts commit 8139361.

* Remove top level metric global

* Add change to changelog
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Status: Done
Development

Successfully merging this pull request may close these issues.

Remove the deprecated otel/metric/global package
4 participants