This repository has been archived by the owner on Jan 23, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 4.9k
Changes to support W3C style IDs and propagation #33207
Merged
Merged
Changes from all commits
Commits
Show all changes
42 commits
Select commit
Hold shift + click to select a range
6bfeaed
First set of changes to support W3C style IDs and propagation
vancem 53d54d4
Changed UseW3CFormat to be DefaultIdFormat
vancem 15dc5d5
Review feedback
vancem 69bc77f
More comments. Small Renames
vancem 31fff39
Added Sampling Support, Review feedback.
vancem 609818f
Added placeholder for SetRecordingDesired
vancem 8bad357
Separated out the Sampling support into its own PR.
vancem 541b94b
Remove more sampling support
vancem bde8866
Fix IsWC3Id -> IdFormat
vancem b2f1f8c
Add ForceW3C option.
vancem f9bcf9f
Introduce ForceDefaultIdFormat
vancem 342bee9
Adding SpanId and TraceId support
vancem 0fd6aca
Added Sampling Support, Review feedback.
vancem d9e162a
Separated out the Sampling support into its own PR.
vancem 615754d
Change ulong->long in SpanID (probably temporary)
vancem f6fd630
Remove undesired file changes
vancem 8824298
Fix up reference assembly.
vancem a41774c
Turn on code that used Span<byte>
vancem 1458b48
Defer setting IDFormat until start.
vancem 396a4da
More implementation, made the interface more uniform.
vancem e4c602f
Support to avoid using strings whenever possible
vancem 25e50fd
Added some tests
vancem 5c21ca2
First round of testing (and bugfixes)
vancem c074bb8
More testing
vancem 08c33cf
Added Equality operators
vancem bf6b233
Rename SpanId -> ActivitySpanId TraceId ->ActivityTraceId
vancem fe05292
Add Comments
vancem f815f91
Fix bad XML comment
vancem 3f97097
Review feedback
vancem 1d35e00
Change AsBytes -> CopyTo
vancem 32f18c7
Attempt to fix build break in netfx build
vancem 8d25ba9
Deal with Verification errors.
vancem ef67c9a
Provide full namespace for SecuritySafeCriticalAttribute
vancem ab202ec
More securitySafeCritical annotations to fix test failures on desktop
vancem 77f5244
Another attempt on setting SecuritySafeCritical
vancem c63f73f
Remove the readonly ref (to avoid perf issue)
vancem b673339
Fix most -buildAllConfigurations issues
vancem 2be8254
Tentative change to see if testing works if we ignore the older netst…
vancem fe504bc
Workaround package cycle involving DiagnosticSource and Memory
ericstj a53d797
Satisfy dangling System.Memory dangling reference in package tests
ericstj 6824111
Add notes to remove the workarounds when Unsafe is fixed.
vancem 7e027e4
Review feedback
vancem File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains 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
11 changes: 11 additions & 0 deletions
11
...packageSettings/System.Diagnostics.DiagnosticSource/workaroundMissingSystemMemory.targets
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
|
||
<!-- This file is a work-around and should be removed by 6/2019 (by then a fixed version of System.Memory | ||
should be available so that System.Memory does not reference NetStandard1.X) | ||
See Eric St John for details. --> | ||
|
||
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | ||
<ItemGroup Condition="$(TargetFramework.StartsWith('netstandard1.')) OR $(TargetFramework.StartsWith('netcoreapp1.'))"> | ||
<PackageReference Include="System.Memory" Version="4.5.1" /> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Why pick this version over 4.5.2? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This is just a temporary workaround in the package testing infra. It's nothing that persists into the product. You can tell folks to manually reference the latest. |
||
</ItemGroup> | ||
</Project> |
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What about other netfx versions?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a question for @joperezr or @ericstj.