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

sdk/metric: Update package example #4540

Merged
merged 3 commits into from Sep 22, 2023

Conversation

pellared
Copy link
Member

@pellared pellared commented Sep 21, 2023

Main changes:

  1. Update comment. The [package] comments are not working in "regular" comments.
  2. Move "defer cleanup" before setting the global. I think it is a good practice to defer cleanup ASAP.
  3. I think there is no need to add reference to resource package.

@pellared pellared added the Skip Changelog PRs that do not require a CHANGELOG.md entry label Sep 21, 2023
@pellared pellared marked this pull request as ready for review September 21, 2023 15:05
sdk/metric/example_test.go Outdated Show resolved Hide resolved
sdk/metric/example_test.go Outdated Show resolved Hide resolved
@pellared pellared merged commit 10b9f90 into open-telemetry:main Sep 22, 2023
24 checks passed
@MrAlias MrAlias added this to the v1.19.0/v0.42.0 milestone Sep 28, 2023
@pellared pellared deleted the fix-sdk-metric-package-example branch November 17, 2023 09:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Skip Changelog PRs that do not require a CHANGELOG.md entry
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants