feat: Implement Tracking in .NET #309#327
Merged
Merged
Conversation
Signed-off-by: christian.lutnik <christian.lutnik@dynatrace.com>
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #327 +/- ##
==========================================
- Coverage 86.66% 85.54% -1.12%
==========================================
Files 34 36 +2
Lines 1387 1474 +87
Branches 147 150 +3
==========================================
+ Hits 1202 1261 +59
- Misses 153 183 +30
+ Partials 32 30 -2 ☔ View full report in Codecov by Sentry. |
chrfwow
commented
Dec 5, 2024
| /// <summary> | ||
| /// The index for the "targeting key" property when the EvaluationContext is serialized or expressed as a dictionary. | ||
| /// </summary> | ||
| internal const string TargetingKeyIndex = "targetingKey"; |
Contributor
Author
There was a problem hiding this comment.
Do we need the TargetingKeyIndex here?
Member
There was a problem hiding this comment.
No, we would need instead a value index if anything, that would serve the same purpose when the TrackingEventDetails are serialized.
toddbaert
reviewed
Dec 6, 2024
| public virtual Channel<object> GetEventChannel() => this.EventChannel; | ||
|
|
||
| /// <summary> | ||
| /// Use this method to track user interactions and the application state. The implementation of this method is optional. |
Member
There was a problem hiding this comment.
Suggested change
| /// Use this method to track user interactions and the application state. The implementation of this method is optional. | |
| /// Track a user action or application state, usually representing a business objective or outcome. The implementation of this method is optional. | |
toddbaert
reviewed
Dec 6, 2024
toddbaert
reviewed
Dec 6, 2024
| /// <summary> | ||
| ///A predefined value field for the tracking details. | ||
| /// </summary> | ||
| public readonly double? Value; |
toddbaert
reviewed
Dec 6, 2024
askpt
reviewed
Dec 9, 2024
askpt
left a comment
Member
There was a problem hiding this comment.
I added a couple of concerns I found during the review. Otherwise, it seems good!
lukas-reining
approved these changes
Dec 9, 2024
askpt
approved these changes
Dec 10, 2024
Signed-off-by: christian.lutnik <christian.lutnik@dynatrace.com>
toddbaert
approved these changes
Dec 11, 2024
toddbaert
pushed a commit
that referenced
this pull request
Dec 12, 2024
🤖 I have created a release *beep* *boop* --- ## [2.2.0](v2.1.0...v2.2.0) (2024-12-12) ### ✨ New Features * Feature Provider Enhancements- [#321](#321) ([#324](#324)) ([70f847b](70f847b)) * Implement Tracking in .NET [#309](#309) ([#327](#327)) ([cbf4f25](cbf4f25)) * Support Returning Error Resolutions from Providers ([#323](#323)) ([bf9de4e](bf9de4e)) ### 🧹 Chore * **deps:** update dependency fluentassertions to v7 ([#325](#325)) ([35cd77b](35cd77b)) --- 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>
kylejuliandev
pushed a commit
to kylejuliandev/dotnet-sdk
that referenced
this pull request
Jan 9, 2025
## This PR Adds support for tracking ### Related Issues Closes open-feature#309 --------- Signed-off-by: christian.lutnik <christian.lutnik@dynatrace.com> Signed-off-by: Kyle Julian <38759683+kylejuliandev@users.noreply.github.com>
kylejuliandev
pushed a commit
to kylejuliandev/dotnet-sdk
that referenced
this pull request
Jan 9, 2025
🤖 I have created a release *beep* *boop* --- ## [2.2.0](open-feature/dotnet-sdk@v2.1.0...v2.2.0) (2024-12-12) ### ✨ New Features * Feature Provider Enhancements- [open-feature#321](open-feature#321) ([open-feature#324](open-feature#324)) ([70f847b](open-feature@70f847b)) * Implement Tracking in .NET [open-feature#309](open-feature#309) ([open-feature#327](open-feature#327)) ([cbf4f25](open-feature@cbf4f25)) * Support Returning Error Resolutions from Providers ([open-feature#323](open-feature#323)) ([bf9de4e](open-feature@bf9de4e)) ### 🧹 Chore * **deps:** update dependency fluentassertions to v7 ([open-feature#325](open-feature#325)) ([35cd77b](open-feature@35cd77b)) --- 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> Signed-off-by: Kyle Julian <38759683+kylejuliandev@users.noreply.github.com>
This was referenced Dec 18, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR
Adds support for tracking
Related Issues
Closes #309