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

Kafka and RabbitMQ instrumentation adding activity links after creation #3985

Open
wants to merge 12 commits into
base: main
Choose a base branch
from

Conversation

ysolomchenko
Copy link
Contributor

Why

Due to inability to add activity links after activity’s creation, some instrumentations (e.g related to messaging) capture activity start time at the start of receive operations, and start the activity and stop them immediately at the end of it, setting the start time to captured value, to work around the limitation.
S.D.DS v9 ships with the ability to add activity links after creation. Instrumentation should be adjusted to benefit from the improved API.

What

Kafka and RabbitMQ instrumentation now use the new S.D.DS v9 API for adding activity links after creation, removing the need for manual start time adjustments

Tests

Ci

Checklist

  • CHANGELOG.md is updated.
  • Documentation is updated.
  • New features are covered by tests.

@ysolomchenko ysolomchenko marked this pull request as ready for review January 27, 2025 11:42
@ysolomchenko ysolomchenko requested a review from a team as a code owner January 27, 2025 11:42
@lachmatt lachmatt marked this pull request as draft January 31, 2025 12:55
@lachmatt
Copy link
Contributor

Converting to draft for now, Yevhenii is planning additional changes.

@ysolomchenko ysolomchenko marked this pull request as ready for review February 3, 2025 10:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants