Skip to content

Conversation

@maciejburda
Copy link
Member

@maciejburda maciejburda commented Oct 28, 2025

What and why?

This code aligns the implementation on iOS with expectations and lays down foundation for SDK level traces metrics in the future.

Additionally it expands root span creation API with customisable sampling rate that will override global configuration in the context of the single Trace.

How?

Key change is on Span finish() function that now doesn't forward the span for writing when isKept == false.

Review checklist

  • Feature or bugfix MUST have appropriate tests (unit, integration)
  • Make sure each commit and the PR mention the Issue number or JIRA reference
  • Add CHANGELOG entry for user facing changes
  • Add Objective-C interface for public APIs (see our guidelines (internal) and run make api-surface)

@maciejburda maciejburda requested review from a team as code owners October 28, 2025 13:14
@maciejburda maciejburda marked this pull request as draft October 28, 2025 13:14
@datadog-datadog-prod-us1

This comment has been minimized.

@maciejburda
Copy link
Member Author

@codex review

@chatgpt-codex-connector
Copy link

To use Codex here, create a Codex account and connect to github.

@maciejburda maciejburda force-pushed the maciey/RUM-7999/sampled-out-spans-sending branch from ca096bc to db001b7 Compare November 10, 2025 11:29
@maciejburda
Copy link
Member Author

@codex review

@chatgpt-codex-connector
Copy link

Codex Review: Didn't find any major issues. Swish!

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@maciejburda maciejburda marked this pull request as ready for review November 10, 2025 12:01
@maciejburda maciejburda requested a review from ncreated November 10, 2025 13:23
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.

3 participants