Skip to content

Conversation

andrzej-stencel
Copy link
Member

This makes the code clearer by encapsulating the token's body and attributes in a single structure. It should make future change clearer when the emit callback will be changed to accept a collection of tokens as opposed to a single token.

The Sink type could use some refactoring as well, but I'm not doing it here to keep the changes to the minimum for clarity and ease of code review.

This makes the code clearer by encapsulating the token's body and attributes in a single structure.
It should make future change clearer when the emit callback will be changed to accept a collection of tokens as opposed to a single token.
The Sink type could use some refactoring as well,
but I'm not doing it here to keep the changes to the minimum
for clarity and ease of code review.
@andrzej-stencel
Copy link
Member Author

I only ran Stanza tests before pushing the code, but need to also change other parts of Contrib code 🤦 Changing this to draft until I update the other codes.

@andrzej-stencel andrzej-stencel marked this pull request as draft November 7, 2024 15:49
@andrzej-stencel andrzej-stencel marked this pull request as ready for review November 8, 2024 09:57
@andrzej-stencel
Copy link
Member Author

This is now ready for review.

@djaglowski djaglowski merged commit d1dcee9 into open-telemetry:main Nov 8, 2024
160 checks passed
@github-actions github-actions bot added this to the next release milestone Nov 8, 2024
pull bot pushed a commit to abaguas/opentelemetry-collector-contrib that referenced this pull request Nov 8, 2024
…etry#36260)

This makes the code clearer by encapsulating the token's body and
attributes in a single structure. It should make future change clearer
when the emit callback will be changed to accept a collection of tokens
as opposed to a single token.

The Sink type could use some refactoring as well, but I'm not doing it
here to keep the changes to the minimum for clarity and ease of code
review.
sbylica-splunk pushed a commit to sbylica-splunk/opentelemetry-collector-contrib that referenced this pull request Dec 17, 2024
…etry#36260)

This makes the code clearer by encapsulating the token's body and
attributes in a single structure. It should make future change clearer
when the emit callback will be changed to accept a collection of tokens
as opposed to a single token.

The Sink type could use some refactoring as well, but I'm not doing it
here to keep the changes to the minimum for clarity and ease of code
review.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants