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

Specify result of Resource.merge error #1726

Conversation

dgetu
Copy link
Contributor

@dgetu dgetu commented May 27, 2021

The specification currently states that merging Resources and aggregating
ResourceDetectors results in an error, but does not say anything about the
resource with which the program continues to operate. This change specifies
that the resultant resource of these methods is undefined and the decision is
left to each implementation.

@dgetu dgetu requested review from a team May 27, 2021 17:16
specification/resource/sdk.md Outdated Show resolved Hide resolved
specification/resource/sdk.md Outdated Show resolved Hide resolved
specification/resource/sdk.md Outdated Show resolved Hide resolved
@arminru arminru added area:sdk Related to the SDK spec:resource Related to the specification/resource directory labels May 28, 2021
CHANGELOG.md Outdated Show resolved Hide resolved
@carlosalberto
Copy link
Contributor

cc @bogdandrutu

@carlosalberto
Copy link
Contributor

@dgetu Could you rebase this PR (or allow mantainers to update your branch)?

The specification currently states that merging Resources and aggregating
ResourceDetectors results in an error, but does not say anything about the
resource with which the program continues to operate. This change specifies
that the resultant resource of these methods is undefined and the decision is
left to each implementation.
@dgetu dgetu force-pushed the specify-result-of-resource-merge-error branch from 072b426 to 045cfdf Compare June 7, 2021 17:54
@dgetu
Copy link
Contributor Author

dgetu commented Jun 7, 2021

Rebase done!

@tigrannajaryan
Copy link
Member

I believe this is safe to include in 1.4.0. @carlosalberto unless anyone objects let's merge before 1.4.0 release.

@carlosalberto carlosalberto merged commit 49c2f56 into open-telemetry:main Jun 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:sdk Related to the SDK spec:resource Related to the specification/resource directory
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants