Skip to content

Conversation

@carterkozak
Copy link
Contributor

This allows us to remove a largely redundant tracing span and flatten
our graphs very slightly.

Note that the sampled span warn-if-completed logging has been
removed. I think adding it originally was a mistake given
the probabilistic nature. There are many scenarios in which
a server exchange may end prior to code execution (for example
when clients disconnect) where we would expect to see these
warnings.

==COMMIT_MSG==
Allow conjure-undertow to leverage the DetachedSpan.attach() mechanism without creating spans for blocking work
==COMMIT_MSG==

Possible downsides?

When clients disconnect
before the server finishes processing blocking work, the spans
may provide somewhat less information. This is an edge case,
and I don't believe it's worth the additional spans, but is worth
describing here.

This allows us to remove a largely redundant tracing span and flatten
our graphs very slightly.

Note that the sampled span warn-if-completed logging has been
removed. I think adding it originally was a mistake given
the probabilistic nature. There are many scenarios in which
a server exchange may end prior to code execution (for example
when clients disconnect) where we would expect to see these
warnings.

This leads us to a potential downside: When clients disconnect
before the server finishes processing blocking work, the spans
may provide somewhat less information. This is an edge case,
and I don't believe it's worth the additional spans, but is worth
describing here.
@changelog-app
Copy link

changelog-app bot commented Sep 7, 2021

Generate changelog in changelog/@unreleased

Type

  • Feature
  • Improvement
  • Fix
  • Break
  • Deprecation
  • Manual task
  • Migration

Description

Allow conjure-undertow to leverage the DetachedSpan.attach() mechanism without creating spans for blocking work

Check the box to generate changelog(s)

  • Generate changelog entry

@policy-bot policy-bot bot requested a review from jkozlowski September 7, 2021 18:35
@bulldozer-bot bulldozer-bot bot merged commit 8d1eb32 into develop Sep 9, 2021
@bulldozer-bot bulldozer-bot bot deleted the ckozak/allow_conjure_undertow_to_leverage_attach branch September 9, 2021 11:45
@svc-autorelease
Copy link
Collaborator

Released 6.3.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants