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

refactor(swift): Use BatchSpanProcessor instead of SimpleSpanProcessor #11

Merged
merged 1 commit into from
Sep 26, 2024

Conversation

pkanal
Copy link
Contributor

@pkanal pkanal commented Sep 23, 2024

Which problem is this PR solving?

Use BatchSpanProcessor instead of SimpleSpanProcessor since it is the recommended span processor to use in production apps.

Leaving this in draft to start because this might affect smoke tests since it might take a few seconds for the spans to batch send with this change so we might need to add in a wait mechanism.

Short description of the changes

  • Use BatchSpanProcessor from OTel as the default span processor to send spans.

How to verify that this has the expected result

  • Smoke tests still pass

@pkanal pkanal requested a review from a team September 23, 2024 17:45
Copy link
Collaborator

@beekhc beekhc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks great!

@pkanal pkanal marked this pull request as ready for review September 24, 2024 18:57
@pkanal pkanal force-pushed the purvi/use-batch-spanprocessor branch from 2204ab8 to 1e94ed4 Compare September 26, 2024 16:14
@pkanal pkanal merged commit dbcf439 into main Sep 26, 2024
5 checks passed
@pkanal pkanal deleted the purvi/use-batch-spanprocessor branch September 26, 2024 16:19
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.

2 participants