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

Tweak "producer as parent" config option #12

Merged
merged 1 commit into from
Oct 8, 2024

Conversation

unflxw
Copy link
Collaborator

@unflxw unflxw commented Oct 8, 2024

Some minor tweaks to the changes introduced in #11. See #10 for context.

Rename the config option to useProducerSpanAsConsumerParent (that is, s/Context/Span) to use language that is more familiar to casual OpenTelemetry users.

Rewrite the config option description to describe what happens with and without the config option.

Rearrange the instrumentation to move logic branches out of the span creation function.

[ping @Steffen911, in case you're using a pre-release version, note the config option name has been changed!]

@unflxw unflxw added the chore label Oct 8, 2024
@unflxw unflxw self-assigned this Oct 8, 2024
@backlog-helper
Copy link

backlog-helper bot commented Oct 8, 2024

Hi @unflxw,

We've found some issues with your Pull Request.

  • This Pull Request is missing reviewers. Either convert this Pull Request into a draft or ignore this rule by adding [skip review] to your Pull Request body. - (More info)

New issue guide | Backlog management | Rules | Feedback

@unflxw unflxw force-pushed the tweak-producer-as-parent-config-option branch from 0408eed to 9393e9f Compare October 8, 2024 08:59
Some tweaks to the changes introduced in #11.

Rename the config option to `useProducerSpanAsConsumerParent` (that
is, `s/Context/Span`) to use language that is more familiar to casual
OpenTelemetry users.

Rewrite the config option description to describe what happens with
and without the config option.

Rearrange the instrumentation to move logic branches out of the span
creation function.
@unflxw unflxw force-pushed the tweak-producer-as-parent-config-option branch from 9393e9f to 5d7ee27 Compare October 8, 2024 09:06
@unflxw unflxw merged commit a845eb6 into main Oct 8, 2024
17 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant