Skip to content

Commit b894851

Browse files
authored
Merge pull request #164 from serilog/dev
4.1.1 Release
2 parents d243aa0 + 2d28390 commit b894851

File tree

18 files changed

+135
-125
lines changed

18 files changed

+135
-125
lines changed

.gitignore

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,12 @@ bld/
3737
# Uncomment if you have tasks that create the project's static files in wwwroot
3838
#wwwroot/
3939

40+
# JetBrains Rider cache
41+
.idea/
42+
43+
# VSCode cache
44+
.vscode/
45+
4046
# Visual Studio 2017 auto generated files
4147
Generated\ Files/
4248

.idea/.idea.serilog-sinks-opentelemetry/.idea/.gitignore

Lines changed: 0 additions & 13 deletions
This file was deleted.

.idea/.idea.serilog-sinks-opentelemetry/.idea/encodings.xml

Lines changed: 0 additions & 4 deletions
This file was deleted.

.idea/.idea.serilog-sinks-opentelemetry/.idea/indexLayout.xml

Lines changed: 0 additions & 8 deletions
This file was deleted.

.idea/.idea.serilog-sinks-opentelemetry/.idea/vcs.xml

Lines changed: 0 additions & 6 deletions
This file was deleted.

.vscode/launch.json

Lines changed: 0 additions & 26 deletions
This file was deleted.

.vscode/tasks.json

Lines changed: 0 additions & 41 deletions
This file was deleted.

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -203,4 +203,10 @@ The `example/Example` subdirectory contains an example application that logs
203203
to a local [OpenTelemetry collector](https://opentelemetry.io/docs/collector/).
204204
See the README in that directory for instructions on how to run the example.
205205

206+
## .NET Framework Activity Traces
207+
208+
In .NET 5 and later versions, the `Activity.DefaultIdFormat` is `ActivityIdFormat.W3C`. In previous versions, the default format is `ActivityIdFormat.Hierarchical`.
209+
To make use of the **Activity**'s traces and spans, you should set the global `Activity.DefaultIdFormat` to `ActivityIdFormat.W3C` in .NET Framework environments.
210+
Read more: [Default ActivityIdFormat is W3C](https://learn.microsoft.com/en-us/dotnet/core/compatibility/core-libraries/5.0/default-activityidformat-changed)
211+
206212
_Copyright © Serilog Contributors - Provided under the [Apache License, Version 2.0](http://apache.org/licenses/LICENSE-2.0.html)._

global.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"sdk": {
3-
"version": "8.0.204",
3+
"version": "8.0.401",
44
"allowPrerelease": false,
55
"rollForward": "latestFeature"
66
}

src/Serilog.Sinks.OpenTelemetry/Serilog.Sinks.OpenTelemetry.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<PropertyGroup>
33
<Description>This Serilog sink transforms Serilog events into OpenTelemetry
44
logs and sends them to an OTLP (gRPC or HTTP) endpoint.</Description>
5-
<VersionPrefix>4.1.0</VersionPrefix>
5+
<VersionPrefix>4.1.1</VersionPrefix>
66
<Authors>Serilog Contributors</Authors>
77
<!-- .NET Framework version targeting is frozen at these two TFMs. -->
88
<TargetFrameworks Condition=" '$(OS)' == 'Windows_NT'">net471;net462</TargetFrameworks>

0 commit comments

Comments
 (0)