From 45308c4d38cd393a901e535052679298dc98ab65 Mon Sep 17 00:00:00 2001 From: Rajkumar Rangaraj Date: Wed, 27 Sep 2023 07:30:20 -0700 Subject: [PATCH] Release 1.0.2 (#2981) --- CHANGELOG.md | 10 +++++++--- OpenTelemetry.DotNet.Auto.psm1 | 2 +- docs/README.md | 10 +++++----- docs/troubleshooting.md | 2 +- docs/using-the-nuget-packages.md | 4 ++-- nuget/OpenTelemetry.AutoInstrumentation/docs/README.md | 4 ++-- otel-dotnet-auto-install.sh | 2 +- 7 files changed, 19 insertions(+), 15 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 760000f1e0..79f37cb6d3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,7 +5,7 @@ All notable changes to this component are documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). This component adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). -## [Unreleased](https://github.com/open-telemetry/opentelemetry-dotnet-instrumentation/compare/v1.0.0...HEAD) +## [Unreleased](https://github.com/open-telemetry/opentelemetry-dotnet-instrumentation/compare/v1.0.2...HEAD) ### Added @@ -19,10 +19,14 @@ This component adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.h ### Fixed -- Fixed log emission issue for ASP.NET Core 6.0 apps and enhanced diagnostics. - ### Security +## [1.0.2](https://github.com/open-telemetry/opentelemetry-dotnet-instrumentation/releases/tag/v1.0.2) + +### Fixed + +- Fixed log emission issue for ASP.NET Core 6.0 apps and enhanced diagnostics. + ## [1.0.1](https://github.com/open-telemetry/opentelemetry-dotnet-instrumentation/releases/tag/v1.0.1) ### Changed diff --git a/OpenTelemetry.DotNet.Auto.psm1 b/OpenTelemetry.DotNet.Auto.psm1 index b55de7b518..c5904de5ae 100644 --- a/OpenTelemetry.DotNet.Auto.psm1 +++ b/OpenTelemetry.DotNet.Auto.psm1 @@ -222,7 +222,7 @@ function Install-OpenTelemetryCore() { [string]$LocalPath ) - $version = "v1.0.1" + $version = "v1.0.2" $installDir = Get-CLIInstallDir-From-InstallDir $InstallDir $archivePath = $null $deleteArchive = $true diff --git a/docs/README.md b/docs/README.md index ed0ffa4ab6..ee5daa20fb 100644 --- a/docs/README.md +++ b/docs/README.md @@ -10,9 +10,9 @@ to .NET applications without having to modify their source code. > **Warning** > The following documentation refers to the in-development version of OpenTelemetry .NET Automatic Instrumentation. Docs for the latest version -([1.0.1](https://github.com/open-telemetry/opentelemetry-dotnet-instrumentation/releases/latest)) +([1.0.2](https://github.com/open-telemetry/opentelemetry-dotnet-instrumentation/releases/latest)) can be found in [opentelemetry.io](https://github.com/open-telemetry/opentelemetry.io/tree/main/content/en/docs/instrumentation/net/automatic) -or [here](https://github.com/open-telemetry/opentelemetry-dotnet-instrumentation/blob/v1.0.1/docs/README.md). +or [here](https://github.com/open-telemetry/opentelemetry-dotnet-instrumentation/blob/v1.0.2/docs/README.md). --- @@ -168,7 +168,7 @@ Example usage: ```sh # Download the bash script -curl -sSfL https://raw.githubusercontent.com/open-telemetry/opentelemetry-dotnet-instrumentation/v1.0.1/otel-dotnet-auto-install.sh -O +curl -sSfL https://raw.githubusercontent.com/open-telemetry/opentelemetry-dotnet-instrumentation/v1.0.2/otel-dotnet-auto-install.sh -O # Install core files sh ./otel-dotnet-auto-install.sh @@ -191,7 +191,7 @@ uses environment variables as parameters: | `OTEL_DOTNET_AUTO_HOME` | Location where binaries are to be installed | No | `$HOME/.otel-dotnet-auto` | | `OS_TYPE` | Possible values: `linux-glibc`, `linux-musl`, `macos`, `windows` | No | *Calculated* | | `TMPDIR` | Temporary directory used when downloading the files | No | `$(mktemp -d)` | -| `VERSION` | Version to download | No | `1.0.1` | +| `VERSION` | Version to download | No | `1.0.2` | [instrument.sh](../instrument.sh) script uses environment variables as parameters: @@ -210,7 +210,7 @@ Example usage (run as administrator): ```powershell # Download the module -$module_url = "https://raw.githubusercontent.com/open-telemetry/opentelemetry-dotnet-instrumentation/v1.0.1/OpenTelemetry.DotNet.Auto.psm1" +$module_url = "https://raw.githubusercontent.com/open-telemetry/opentelemetry-dotnet-instrumentation/v1.0.2/OpenTelemetry.DotNet.Auto.psm1" $download_path = Join-Path $env:temp "OpenTelemetry.DotNet.Auto.psm1" Invoke-WebRequest -Uri $module_url -OutFile $download_path -UseBasicParsing diff --git a/docs/troubleshooting.md b/docs/troubleshooting.md index c24a2f3d0d..5078977ba8 100644 --- a/docs/troubleshooting.md +++ b/docs/troubleshooting.md @@ -62,7 +62,7 @@ When adding the NuGet packages to your project you get an error message similar to: ```txt -Could not install package 'OpenTelemetry.AutoInstrumentation.Runtime.Native 1.0.0'. You are trying to install this package into a project that targets '.NETFramework,Version=v4.7.2', but the package does not contain any assembly references or content files that are compatible with that framework. For more information, contact the package author. +Could not install package 'OpenTelemetry.AutoInstrumentation.Runtime.Native 1.0.2'. You are trying to install this package into a project that targets '.NETFramework,Version=v4.7.2', but the package does not contain any assembly references or content files that are compatible with that framework. For more information, contact the package author. ``` #### Solution diff --git a/docs/using-the-nuget-packages.md b/docs/using-the-nuget-packages.md index 2d2649d527..4c06337afd 100644 --- a/docs/using-the-nuget-packages.md +++ b/docs/using-the-nuget-packages.md @@ -31,7 +31,7 @@ To automatically instrument your application with OpenTelemetry .NET add the `OpenTelemetry.AutoInstrumentation` package to your project: ```terminal -dotnet add [] package OpenTelemetry.AutoInstrumentation --prerelease +dotnet add [] package OpenTelemetry.AutoInstrumentation ``` If the application references packages that can be instrumented, but, require @@ -40,7 +40,7 @@ you to either add the missing instrumentation package or to skip the instrumentation of the corresponding package: ```terminal -~packages/opentelemetry.autoinstrumentation.buildtasks/1.0.0/build/OpenTelemetry.AutoInstrumentation.BuildTasks.targets(29,5): error : OpenTelemetry.AutoInstrumentation: add a reference to the instrumentation package 'MongoDB.Driver.Core.Extensions.DiagnosticSources' version 1.3.0 or add 'MongoDB.Driver.Core' to the property 'SkippedInstrumentations' to suppress this error. +~packages/opentelemetry.autoinstrumentation.buildtasks/1.0.2/build/OpenTelemetry.AutoInstrumentation.BuildTasks.targets(29,5): error : OpenTelemetry.AutoInstrumentation: add a reference to the instrumentation package 'MongoDB.Driver.Core.Extensions.DiagnosticSources' version 1.3.0 or add 'MongoDB.Driver.Core' to the property 'SkippedInstrumentations' to suppress this error. ``` To resolve the error either add the recommended instrumentation package or skip diff --git a/nuget/OpenTelemetry.AutoInstrumentation/docs/README.md b/nuget/OpenTelemetry.AutoInstrumentation/docs/README.md index fa977ac506..80e0e38916 100644 --- a/nuget/OpenTelemetry.AutoInstrumentation/docs/README.md +++ b/nuget/OpenTelemetry.AutoInstrumentation/docs/README.md @@ -33,7 +33,7 @@ the OpenTelemetry .NET Automatic Instrumentation add the `OpenTelemetry.AutoInstrumentation` package to your project: ```terminal -dotnet add [] package OpenTelemetry.AutoInstrumentation --prerelease +dotnet add [] package OpenTelemetry.AutoInstrumentation ``` If the application references packages that can be instrumented, but require @@ -42,7 +42,7 @@ you to either add the missing instrumentation package or to skip the instrumentation of the corresponding package: ```terminal -~packages/opentelemetry.autoinstrumentation.buildtasks/1.0.0/build/OpenTelemetry.AutoInstrumentation.BuildTasks.targets(29,5): error : OpenTelemetry.AutoInstrumentation: add a reference to the instrumentation package 'MongoDB.Driver.Core.Extensions.DiagnosticSources' version 1.3.0 or add 'MongoDB.Driver.Core' to the property 'SkippedInstrumentations' to suppress this error. +~packages/opentelemetry.autoinstrumentation.buildtasks/1.0.2/build/OpenTelemetry.AutoInstrumentation.BuildTasks.targets(29,5): error : OpenTelemetry.AutoInstrumentation: add a reference to the instrumentation package 'MongoDB.Driver.Core.Extensions.DiagnosticSources' version 1.3.0 or add 'MongoDB.Driver.Core' to the property 'SkippedInstrumentations' to suppress this error. ``` To resolve the error either add the recommended instrumentation package or skip diff --git a/otel-dotnet-auto-install.sh b/otel-dotnet-auto-install.sh index dad0f5fa22..5d0a779996 100755 --- a/otel-dotnet-auto-install.sh +++ b/otel-dotnet-auto-install.sh @@ -31,7 +31,7 @@ esac test -z "$OTEL_DOTNET_AUTO_HOME" && OTEL_DOTNET_AUTO_HOME="$HOME/.otel-dotnet-auto" test -z "$TMPDIR" && TMPDIR="$(mktemp -d)" -test -z "$VERSION" && VERSION="v1.0.1" +test -z "$VERSION" && VERSION="v1.0.2" RELEASES_URL="https://github.com/open-telemetry/opentelemetry-dotnet-instrumentation/releases" ARCHIVE="opentelemetry-dotnet-instrumentation-$OS_TYPE.zip"