Skip to content
This repository has been archived by the owner on Oct 30, 2024. It is now read-only.

fix: telemetry activity source should use its own version #207

Merged
merged 5 commits into from
Apr 23, 2024

Conversation

cwaldren-ld
Copy link
Contributor

@cwaldren-ld cwaldren-ld commented Apr 23, 2024

Noticed the Telemetry package has a reference to LaunchDarkly.Sdk.Internal, to retrieve that component's version number.

The version is then passed into the ActivitySource. I think this made sense when the TracingHook was part of the SDK package.

Now that it is its own distinct component, with its own version number, I think it's most correct to pass its own info (assembly name and version).

I think it makes sense to have the SDK's version number somehow be reported in telemetry as well. Not sure how that would work - perhaps the SDK would have its own activity source, or we could add it as an extra attribute? I don't know the conventions well enough.

@cwaldren-ld cwaldren-ld requested review from a team, kinyoklion and tanderson-ld April 23, 2024 22:16
@cwaldren-ld
Copy link
Contributor Author

Noticed the unit tests for Telemetry package aren't actually running, so debugging why that is.

@cwaldren-ld
Copy link
Contributor Author

Looks like we had to include the xunit.visualstudio runner as a dependency. Why this didn't complain louder, I do not know.

@cwaldren-ld cwaldren-ld merged commit 82dd679 into main Apr 23, 2024
7 checks passed
@cwaldren-ld cwaldren-ld deleted the cw/telemetry-activity-version branch April 23, 2024 23:31
cwaldren-ld pushed a commit that referenced this pull request Apr 23, 2024
🤖 I have created a release *beep* *boop*
---


##
[0.2.1](telemetry-0.2.0...telemetry-0.2.1)
(2024-04-23)


### Bug Fixes

* telemetry activity source should use its own version
([#207](#207))
([82dd679](82dd679))

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

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants