Skip to content

Commit

Permalink
Release 0.5.1-beta.2 (#1733)
Browse files Browse the repository at this point in the history
  • Loading branch information
Kielek authored Dec 8, 2022
1 parent 0d36840 commit 1ac707e
Show file tree
Hide file tree
Showing 7 changed files with 17 additions and 13 deletions.
14 changes: 9 additions & 5 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,10 @@ 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/v0.5.1-beta.1...HEAD)
## [Unreleased](https://github.com/open-telemetry/opentelemetry-dotnet-instrumentation/compare/v0.5.1-beta.2...HEAD)

### Added

- Add support for `OTEL_TRACES_SAMPLER` and `OTEL_TRACES_SAMPLER_ARG`.
- Add `Initializing` plugin extension point
that is invoked before OpenTelemetry SDK configuration.

### Changed

### Deprecated
Expand All @@ -23,6 +19,14 @@ This component adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.h

### Security

## [0.5.1-beta.2](https://github.com/open-telemetry/opentelemetry-dotnet-instrumentation/releases/tag/v0.5.1-beta.2)

### Added

- Add support for `OTEL_TRACES_SAMPLER` and `OTEL_TRACES_SAMPLER_ARG`.
- Add `Initializing` plugin extension point
that is invoked before OpenTelemetry SDK configuration.

## [0.5.1-beta.1](https://github.com/open-telemetry/opentelemetry-dotnet-instrumentation/releases/tag/v0.5.1-beta.1)

This beta release is built on top of [OpenTelemetry .NET](https://github.com/open-telemetry/opentelemetry-dotnet):
Expand Down
2 changes: 1 addition & 1 deletion OpenTelemetry.DotNet.Auto.psm1
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ function Install-OpenTelemetryCore() {
[string]$InstallDir = "<auto>"
)

$version = "v0.5.1-beta.1"
$version = "v0.5.1-beta.2"
$installDir = Get-CLIInstallDir-From-InstallDir $InstallDir
$tempDir = Get-Temp-Directory
$dlPath = $null
Expand Down
6 changes: 3 additions & 3 deletions docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ and instrument your .NET application using the provided Shell scripts.
Example usage:

```sh
curl -sSfL https://raw.githubusercontent.com/open-telemetry/opentelemetry-dotnet-instrumentation/v0.5.1-beta.1/otel-dotnet-auto-install.sh -O
curl -sSfL https://raw.githubusercontent.com/open-telemetry/opentelemetry-dotnet-instrumentation/v0.5.1-beta.2/otel-dotnet-auto-install.sh -O
sh ./otel-dotnet-auto-install.sh
. $HOME/.otel-dotnet-auto/instrument.sh
OTEL_SERVICE_NAME=myapp OTEL_RESOURCE_ATTRIBUTES=deployment.environment=staging,service.version=1.0.0 dotnet run
Expand All @@ -128,7 +128,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 | `v0.5.1-beta.1` |
| `VERSION` | Version to download | No | `v0.5.1-beta.2` |

[instrument.sh](../instrument.sh) script
uses environment variables as parameters:
Expand All @@ -149,7 +149,7 @@ Example usage:

```powershell
# Download and import the module
$module_url = "https://raw.githubusercontent.com/open-telemetry/opentelemetry-dotnet-instrumentation/v0.5.1-beta.1/OpenTelemetry.DotNet.Auto.psm1"
$module_url = "https://raw.githubusercontent.com/open-telemetry/opentelemetry-dotnet-instrumentation/v0.5.1-beta.2/OpenTelemetry.DotNet.Auto.psm1"
$download_path = Join-Path $env:temp "OpenTelemetry.DotNet.Auto.psm1"
Invoke-WebRequest -Uri $module_url -OutFile $download_path
Import-Module $download_path
Expand Down
2 changes: 1 addition & 1 deletion nuget/OpenTelemetry.AutoInstrumentation.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<package>
<metadata>
<id>OpenTelemetry.AutoInstrumentation</id>
<version>0.5.1-beta.1</version>
<version>0.5.1-beta.2</version>
<description>OpenTelemetry Auto-Instrumentation</description>
<authors>OpenTelemetry Authors</authors>
<owners>OpenTelemetry Authors</owners>
Expand Down
2 changes: 1 addition & 1 deletion otel-dotnet-auto-install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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="v0.5.1-beta.1"
test -z "$VERSION" && VERSION="v0.5.1-beta.2"

RELEASES_URL="https://github.com/open-telemetry/opentelemetry-dotnet-instrumentation/releases"
ARCHIVE="opentelemetry-dotnet-instrumentation-$OS_TYPE.zip"
Expand Down
2 changes: 1 addition & 1 deletion src/OpenTelemetry.AutoInstrumentation.Native/version.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
#pragma once

constexpr auto PROFILER_VERSION = "0.5.1-beta.1";
constexpr auto PROFILER_VERSION = "0.5.1-beta.2";
2 changes: 1 addition & 1 deletion src/OpenTelemetry.AutoInstrumentation/Constants.cs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ internal static class Constants
{
public static class Tracer
{
public const string Version = "0.5.1-beta.1";
public const string Version = "0.5.1-beta.2";
public const string AutoInstrumentationVersionName = "telemetry.auto.version";
}

Expand Down

0 comments on commit 1ac707e

Please sign in to comment.