Skip to content

Conversation

@beeme1mr
Copy link
Contributor

@beeme1mr beeme1mr commented Oct 3, 2025

Requirements

  • I have added test coverage for new or changed functionality
  • I have followed the repository's pull request submission guidelines
  • I have validated my changes against all supported platform versions

Related issues

N/A: I can create one if necessary

Describe the solution you've provided

This PR adds the ability to capture all available attributes when in "span mode". It will only add the additional attributes when IncludeAllAttributesInSpan is true; otherwise, the existing behavior is retained.

This change is useful because it's easier to work with spans than span events in some observability tools. With this change, spans can have the same attributes as span events.

Describe alternatives you've considered

We could leave it as is but it would make spans less useful to consumers.

Additional context

I talked to @kinyoklion about this on Slack about this change prior to opening the PR.

Signed-off-by: Michael Beemer <beeme1mr@users.noreply.github.com>
@beeme1mr beeme1mr requested a review from a team as a code owner October 3, 2025 19:43
@beeme1mr
Copy link
Contributor Author

beeme1mr commented Oct 6, 2025

Unfortunately, I don't have a way to test macOS. @kinyoklion, do you have a way to troubleshoot the failed test?

@kinyoklion
Copy link
Member

@beeme1mr It is an unrelated flake, so no concerns. We will be looking at it.

@kinyoklion kinyoklion merged commit 7350aac into launchdarkly:main Oct 6, 2025
14 of 17 checks passed
kinyoklion pushed a commit that referenced this pull request Oct 7, 2025
🤖 I have created a release *beep* *boop*
---


##
[1.4.0](LaunchDarkly.ServerSdk.Telemetry-v1.3.0...LaunchDarkly.ServerSdk.Telemetry-v1.4.0)
(2025-10-06)


### Features

* add all available attributes to a span
([#167](#167))
([7350aac](7350aac))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

<!-- CURSOR_SUMMARY -->
---

> [!NOTE]
> Bumps `LaunchDarkly.ServerSdk.Telemetry` to 1.4.0 and documents a
feature adding all available attributes to spans.
> 
> - **Telemetry 1.4.0**:
>   - CHANGELOG: feature to add all available attributes to a span.
> - Version bumps:
`pkgs/telemetry/src/LaunchDarkly.ServerSdk.Telemetry.csproj` and
`.release-please-manifest.json`.
> 
> <sup>Written by [Cursor
Bugbot](https://cursor.com/dashboard?tab=bugbot) for commit
4dbb74c. This will update automatically
on new commits. Configure
[here](https://cursor.com/dashboard?tab=bugbot).</sup>
<!-- /CURSOR_SUMMARY -->

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
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