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

resource: Add testable example that ignores schema URL conflict error #4879

Closed
MrAlias opened this issue Feb 1, 2024 · 0 comments · Fixed by #4887
Closed

resource: Add testable example that ignores schema URL conflict error #4879

MrAlias opened this issue Feb 1, 2024 · 0 comments · Fixed by #4887
Assignees
Labels
area:resources Part of OpenTelemetry resources documentation Provides helpful information

Comments

@MrAlias
Copy link
Contributor

MrAlias commented Feb 1, 2024

Please add at least one "testable example" (even runnable that prints the result) that would demonstrate how to use New or Merge when the desire is to ignore (or jus log) the merge conflict error. I suspect for a lot of users it would be the desired behavior and it would be good to provide a snippet that they can refer to.

Originally posted by @pellared in #4876 (comment)

@pellared pellared changed the title Add testable example that demonstrates how to use New or Merge to ignore the returned error resource: Add testable example that demonstrates how to use New or Merge to ignore the returned error Feb 1, 2024
@pellared pellared added area:resources Part of OpenTelemetry resources documentation Provides helpful information labels Feb 1, 2024
@pellared pellared changed the title resource: Add testable example that demonstrates how to use New or Merge to ignore the returned error resource: Add testable example that ignores schema URL conflict error Feb 1, 2024
@MrAlias MrAlias added this to the v1.24.0 milestone Feb 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:resources Part of OpenTelemetry resources documentation Provides helpful information
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants