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

Add correlation_id as a span tagger and handle NPE #2210

Merged
merged 2 commits into from
Aug 22, 2024

Conversation

sajinieKavindya
Copy link
Member

This PR adds the below improvements.

  • Handle possible NPE due to the parentSpan being null intermittently for some scenarios.
  • Add CorrelationId as a span tagger so that in case there are dissected traces, the end user can correlate those traces that belong to a single call using the "CorrelationId" span tag.

Fixes: wso2/micro-integrator#3433

@CLAassistant
Copy link

CLAassistant commented Aug 20, 2024

CLA assistant check
All committers have signed the CLA.

@sajinieKavindya sajinieKavindya merged commit c3a88cb into wso2:master Aug 22, 2024
0 of 2 checks passed
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.

[Bug]: Intermittent NullPointerException in OpenTelemetry with Iterate and Aggregate Mediators in MI-4.2.0
3 participants