Skip to content

Commit 0356d2d

Browse files
Added Pyroscope.OpenTelemetry
1 parent 08c3f99 commit 0356d2d

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

Directory.Build.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<ImplicitUsings>enable</ImplicitUsings>
55
<Nullable>enable</Nullable>
66
<IsPackable>true</IsPackable>
7-
<Version>2.1.28</Version>
7+
<Version>2.1.29</Version>
88
<Authors>Andrey Serdyuk</Authors>
99
<Company>TaskHub</Company>
1010
<PackageTags>#TaskHub</PackageTags>

TaskHub.Shared.OpenTelemetry/OpenTelemetryBootstrap.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ public static void AddAppOpenTelemetry(this IServiceCollection services, Action<
2323
.SetSampler(new AlwaysOnSampler())
2424
.AddSource(options.SourceName)
2525
.AddConsoleExporter()
26+
.AddProcessor(new Pyroscope.OpenTelemetry.PyroscopeSpanProcessor())
2627
.AddAspNetCoreInstrumentation(cntx =>
2728
{
2829
cntx.RecordException = options.RecordException;

0 commit comments

Comments
 (0)