-
Notifications
You must be signed in to change notification settings - Fork 775
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add support for true in x-b3-sampled #1413
Merged
Merged
Changes from 4 commits
Commits
Show all changes
7 commits
Select commit
Hold shift + click to select a range
2ab2603
add support for true in x-b3-sampled
christopher-taormina-zocdoc 92c8dc4
fix order of properties
christopher-taormina-zocdoc 48a8290
set string comparer on hashset and clean up tests
christopher-taormina-zocdoc 178426c
add information to changelog
christopher-taormina-zocdoc 9da5711
fix line endings
christopher-taormina-zocdoc 12ebada
Merge branch 'master' into ct_b3_sampled_true
christopher-taormina-zocdoc ee274c2
Merge branch 'origin-master' into ct_b3_sampled_true
christopher-taormina-zocdoc 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,105 +1,109 @@ | ||
# Changelog | ||
|
||
## Unreleased | ||
|
||
## 0.7.0-beta.1 | ||
|
||
Released 2020-Oct-16 | ||
|
||
* `IActivityTagEnumerator` is now `IActivityEnumerator<T>`. Added | ||
`EnumerateLinks` extension method on `Activity` for retrieving links | ||
efficiently | ||
([#1314](https://github.com/open-telemetry/opentelemetry-dotnet/pull/1314)) | ||
* Added `EnumerateEvents` extension method on `Activity` for retrieving events | ||
efficiently | ||
([#1319](https://github.com/open-telemetry/opentelemetry-dotnet/pull/1319)) | ||
* Added `EnumerateTags` extension methods on `ActivityLink` & `ActivityEvent` | ||
for retrieving tags efficiently. Renamed `Activity.EnumerateTagValues` -> | ||
`Activity.EnumerateTags`. | ||
([#1320](https://github.com/open-telemetry/opentelemetry-dotnet/pull/1320)) | ||
* Updated System.Diagnostics.DiagnosticSource to version 5.0.0-rc.2.20475.5 | ||
([#1346](https://github.com/open-telemetry/opentelemetry-dotnet/pull/1346)) | ||
* Updated Span Status as per new spec | ||
([#1313](https://github.com/open-telemetry/opentelemetry-dotnet/pull/1313)) | ||
|
||
## 0.6.0-beta.1 | ||
|
||
Released 2020-Sep-15 | ||
|
||
* Updated System.Diagnostics.DiagnosticSource to version 5.0.0-rc.1.20451.14 | ||
([#1265](https://github.com/open-telemetry/opentelemetry-dotnet/pull/1265)) | ||
* Added `GetTagValue` extension method on `Activity` for retrieving tag values | ||
efficiently | ||
([#1221](https://github.com/open-telemetry/opentelemetry-dotnet/pull/1221)) | ||
* Added `EnumerateTagValues` extension method on `Activity` for enumerating tag | ||
values efficiently | ||
([#1236](https://github.com/open-telemetry/opentelemetry-dotnet/pull/1236)) | ||
|
||
## 0.5.0-beta.2 | ||
|
||
Released 2020-08-28 | ||
|
||
* `Link` and `TelemetrySpan` are using `SpanAttributes` instead of | ||
`ActivityTagsCollection` or `Dictionary` | ||
([#1120](https://github.com/open-telemetry/opentelemetry-dotnet/pull/1120)) | ||
* Added `RecordException` in `TelemetrySpan` | ||
([#1116](https://github.com/open-telemetry/opentelemetry-dotnet/pull/1116)) | ||
* `PropagationContext` is now used instead of `ActivityContext` in the | ||
`ITextFormat` API | ||
([#1048](https://github.com/open-telemetry/opentelemetry-dotnet/pull/1048)) | ||
* Added `BaggageFormat` an `ITextFormat` implementation for managing Baggage | ||
propagation via the [W3C | ||
Baggage](https://github.com/w3c/baggage/blob/master/baggage/HTTP_HEADER_FORMAT.md) | ||
header | ||
([#1048](https://github.com/open-telemetry/opentelemetry-dotnet/pull/1048)) | ||
* Removed `DistributedContext` as it is no longer part of the spec | ||
([#1048](https://github.com/open-telemetry/opentelemetry-dotnet/pull/1048))) | ||
* Renaming from `ot` to `otel` | ||
([#1046](https://github.com/open-telemetry/opentelemetry-dotnet/pull/1046)) | ||
* Added `RuntimeContext` API | ||
([#948](https://github.com/open-telemetry/opentelemetry-dotnet/pull/948)) | ||
* Changed `Link` constructor to accept `ActivityTagsCollection` instead of | ||
`IDictionary<string, object>` attributes | ||
([#954](https://github.com/open-telemetry/opentelemetry-dotnet/pull/954)) | ||
* Added more `TelemetrySpan.SetAttribute` overloads with value of type bool, | ||
int, double (string already existed) | ||
([#954](https://github.com/open-telemetry/opentelemetry-dotnet/pull/954)) | ||
* Changed `TelemetrySpan.SetAttribute` to match the spec | ||
([#954](https://github.com/open-telemetry/opentelemetry-dotnet/pull/954)) | ||
* Setting an attribute with an existing key now results in overwriting it | ||
* Setting null value has no impact except if null is set to an existing key, | ||
it gets removed | ||
* Changed `HttpStatusCode` in all spans attribute (http.status_code) to use int | ||
value | ||
([#998](https://github.com/open-telemetry/opentelemetry-dotnet/pull/998)) | ||
* Added `CompositePropagator` which accepts a list of `ITextFormat` to match the | ||
spec ([#923](https://github.com/open-telemetry/opentelemetry-dotnet/pull/923)) | ||
* Replaced `ITextFormatActivity` with `ITextFormat` | ||
([#923](https://github.com/open-telemetry/opentelemetry-dotnet/pull/923)) | ||
* Added `StartRootSpan` and `StartActiveSpan` | ||
([#994](https://github.com/open-telemetry/opentelemetry-dotnet/pull/994)) | ||
* Changed `StartSpan` to not set the created span as Active to match the spec | ||
([#994](https://github.com/open-telemetry/opentelemetry-dotnet/pull/994)) | ||
* Updated System.Diagnostics.DiagnosticSource to version 5.0.0-preview.8.20407.11. | ||
* Removed `CorrelationContext` and added `Baggage`, an implementation of the | ||
[`Baggage | ||
API`](https://github.com/open-telemetry/opentelemetry-specification/blob/master/specification/baggage/api.md) | ||
spec | ||
([#1106](https://github.com/open-telemetry/opentelemetry-dotnet/pull/1106)) | ||
* Renamed `TraceContextFormat` to `TextMapPropagator`, `BaggageFormat` to | ||
`BaggagePropagator`, and `B3Format` to `B3Propagator` | ||
([#1175](https://github.com/open-telemetry/opentelemetry-dotnet/pull/1175)) | ||
* Renamed `ITextPropagator` to `IPropagator` | ||
([#1190](https://github.com/open-telemetry/opentelemetry-dotnet/pull/1190)) | ||
|
||
## 0.4.0-beta.2 | ||
|
||
Released 2020-07-24 | ||
|
||
* First beta release | ||
|
||
## 0.3.0-beta | ||
|
||
Released 2020-07-23 | ||
|
||
* Initial release | ||
# Changelog | ||
|
||
## Unreleased | ||
|
||
* `B3Propagator` now supports the value `true` to be passed in for the header | ||
`X-B3-Sampled`. | ||
([#1413](https://github.com/open-telemetry/opentelemetry-dotnet/pull/1413)) | ||
|
||
## 0.7.0-beta.1 | ||
|
||
Released 2020-Oct-16 | ||
|
||
* `IActivityTagEnumerator` is now `IActivityEnumerator<T>`. Added | ||
`EnumerateLinks` extension method on `Activity` for retrieving links | ||
efficiently | ||
([#1314](https://github.com/open-telemetry/opentelemetry-dotnet/pull/1314)) | ||
* Added `EnumerateEvents` extension method on `Activity` for retrieving events | ||
efficiently | ||
([#1319](https://github.com/open-telemetry/opentelemetry-dotnet/pull/1319)) | ||
* Added `EnumerateTags` extension methods on `ActivityLink` & `ActivityEvent` | ||
for retrieving tags efficiently. Renamed `Activity.EnumerateTagValues` -> | ||
`Activity.EnumerateTags`. | ||
([#1320](https://github.com/open-telemetry/opentelemetry-dotnet/pull/1320)) | ||
* Updated System.Diagnostics.DiagnosticSource to version 5.0.0-rc.2.20475.5 | ||
([#1346](https://github.com/open-telemetry/opentelemetry-dotnet/pull/1346)) | ||
* Updated Span Status as per new spec | ||
([#1313](https://github.com/open-telemetry/opentelemetry-dotnet/pull/1313)) | ||
|
||
## 0.6.0-beta.1 | ||
|
||
Released 2020-Sep-15 | ||
|
||
* Updated System.Diagnostics.DiagnosticSource to version 5.0.0-rc.1.20451.14 | ||
([#1265](https://github.com/open-telemetry/opentelemetry-dotnet/pull/1265)) | ||
* Added `GetTagValue` extension method on `Activity` for retrieving tag values | ||
efficiently | ||
([#1221](https://github.com/open-telemetry/opentelemetry-dotnet/pull/1221)) | ||
* Added `EnumerateTagValues` extension method on `Activity` for enumerating tag | ||
values efficiently | ||
([#1236](https://github.com/open-telemetry/opentelemetry-dotnet/pull/1236)) | ||
|
||
## 0.5.0-beta.2 | ||
|
||
Released 2020-08-28 | ||
|
||
* `Link` and `TelemetrySpan` are using `SpanAttributes` instead of | ||
`ActivityTagsCollection` or `Dictionary` | ||
([#1120](https://github.com/open-telemetry/opentelemetry-dotnet/pull/1120)) | ||
* Added `RecordException` in `TelemetrySpan` | ||
([#1116](https://github.com/open-telemetry/opentelemetry-dotnet/pull/1116)) | ||
* `PropagationContext` is now used instead of `ActivityContext` in the | ||
`ITextFormat` API | ||
([#1048](https://github.com/open-telemetry/opentelemetry-dotnet/pull/1048)) | ||
* Added `BaggageFormat` an `ITextFormat` implementation for managing Baggage | ||
propagation via the [W3C | ||
Baggage](https://github.com/w3c/baggage/blob/master/baggage/HTTP_HEADER_FORMAT.md) | ||
header | ||
([#1048](https://github.com/open-telemetry/opentelemetry-dotnet/pull/1048)) | ||
* Removed `DistributedContext` as it is no longer part of the spec | ||
([#1048](https://github.com/open-telemetry/opentelemetry-dotnet/pull/1048))) | ||
* Renaming from `ot` to `otel` | ||
([#1046](https://github.com/open-telemetry/opentelemetry-dotnet/pull/1046)) | ||
* Added `RuntimeContext` API | ||
([#948](https://github.com/open-telemetry/opentelemetry-dotnet/pull/948)) | ||
* Changed `Link` constructor to accept `ActivityTagsCollection` instead of | ||
`IDictionary<string, object>` attributes | ||
([#954](https://github.com/open-telemetry/opentelemetry-dotnet/pull/954)) | ||
* Added more `TelemetrySpan.SetAttribute` overloads with value of type bool, | ||
int, double (string already existed) | ||
([#954](https://github.com/open-telemetry/opentelemetry-dotnet/pull/954)) | ||
* Changed `TelemetrySpan.SetAttribute` to match the spec | ||
([#954](https://github.com/open-telemetry/opentelemetry-dotnet/pull/954)) | ||
* Setting an attribute with an existing key now results in overwriting it | ||
* Setting null value has no impact except if null is set to an existing key, | ||
it gets removed | ||
* Changed `HttpStatusCode` in all spans attribute (http.status_code) to use int | ||
value | ||
([#998](https://github.com/open-telemetry/opentelemetry-dotnet/pull/998)) | ||
* Added `CompositePropagator` which accepts a list of `ITextFormat` to match the | ||
spec ([#923](https://github.com/open-telemetry/opentelemetry-dotnet/pull/923)) | ||
* Replaced `ITextFormatActivity` with `ITextFormat` | ||
([#923](https://github.com/open-telemetry/opentelemetry-dotnet/pull/923)) | ||
* Added `StartRootSpan` and `StartActiveSpan` | ||
([#994](https://github.com/open-telemetry/opentelemetry-dotnet/pull/994)) | ||
* Changed `StartSpan` to not set the created span as Active to match the spec | ||
([#994](https://github.com/open-telemetry/opentelemetry-dotnet/pull/994)) | ||
* Updated System.Diagnostics.DiagnosticSource to version 5.0.0-preview.8.20407.11. | ||
* Removed `CorrelationContext` and added `Baggage`, an implementation of the | ||
[`Baggage | ||
API`](https://github.com/open-telemetry/opentelemetry-specification/blob/master/specification/baggage/api.md) | ||
spec | ||
([#1106](https://github.com/open-telemetry/opentelemetry-dotnet/pull/1106)) | ||
* Renamed `TraceContextFormat` to `TextMapPropagator`, `BaggageFormat` to | ||
`BaggagePropagator`, and `B3Format` to `B3Propagator` | ||
([#1175](https://github.com/open-telemetry/opentelemetry-dotnet/pull/1175)) | ||
* Renamed `ITextPropagator` to `IPropagator` | ||
([#1190](https://github.com/open-telemetry/opentelemetry-dotnet/pull/1190)) | ||
|
||
## 0.4.0-beta.2 | ||
|
||
Released 2020-07-24 | ||
|
||
* First beta release | ||
|
||
## 0.3.0-beta | ||
|
||
Released 2020-07-23 | ||
|
||
* Initial release |
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
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.
some encoding got accidentaly changed to this file? there must have been some CI which detects this.
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.
didn't see that coming, let me take a look
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.
check if u are using utf8. I saw that sometimes it changed from utf8 to utf8-BOM.
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.
I edited it in vs code and it claimed it saved as utf-8
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.
you solved :) what was the issue in the end?
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.
definitely line endings lol