From 7c472008b67903a6aa70e65b2954c6f1f4406b13 Mon Sep 17 00:00:00 2001 From: tebaikin Date: Mon, 22 Apr 2024 14:39:41 +0500 Subject: [PATCH 1/2] Update OpenTelemetry dependency version --- .../OpenTelemetry/IServiceCollectionExtensions.cs | 4 ++-- .../Vostok.Applications.AspNetCore.csproj | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Vostok.Applications.AspNetCore/OpenTelemetry/IServiceCollectionExtensions.cs b/Vostok.Applications.AspNetCore/OpenTelemetry/IServiceCollectionExtensions.cs index c8e2ec7..11a5245 100644 --- a/Vostok.Applications.AspNetCore/OpenTelemetry/IServiceCollectionExtensions.cs +++ b/Vostok.Applications.AspNetCore/OpenTelemetry/IServiceCollectionExtensions.cs @@ -34,10 +34,10 @@ public static class IServiceCollectionExtensions public static IServiceCollection ConfigureVostokAspNetCoreInstrumentation(this IServiceCollection serviceCollection, string name = null) { name ??= Options.DefaultName; - serviceCollection.Configure(name, Enrich); + serviceCollection.Configure(name, Enrich); return serviceCollection; - static void Enrich(AspNetCoreInstrumentationOptions options) + static void Enrich(AspNetCoreTraceInstrumentationOptions options) { var enrichWithHttpRequest = options.EnrichWithHttpRequest; options.EnrichWithHttpRequest = (activity, request) => diff --git a/Vostok.Applications.AspNetCore/Vostok.Applications.AspNetCore.csproj b/Vostok.Applications.AspNetCore/Vostok.Applications.AspNetCore.csproj index 7ed2986..8b7f060 100644 --- a/Vostok.Applications.AspNetCore/Vostok.Applications.AspNetCore.csproj +++ b/Vostok.Applications.AspNetCore/Vostok.Applications.AspNetCore.csproj @@ -33,7 +33,7 @@ - + False From 4745ea5c848cfcf2ac0ef3ba05e9ae2869960bd7 Mon Sep 17 00:00:00 2001 From: tebaikin Date: Mon, 22 Apr 2024 14:40:18 +0500 Subject: [PATCH 2/2] CHANGELOG.md --- CHANGELOG.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index f920ae9..31e9626 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +## 0.3.22 (22-04-2024): + +Updated OpenTelemetry.Instrumentation.AspNetCore version. + ## 0.3.21 (28-03-2024): Updated dependencies.