-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bump OTel .NET Auto to 1.10.0-beta.1
- Loading branch information
Showing
35 changed files
with
145 additions
and
174 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -27,9 +27,8 @@ jobs: | |
- uses: actions/[email protected] | ||
with: | ||
dotnet-version: | | ||
6.0.427 | ||
7.0.410 | ||
8.0.403 | ||
8.0.404 | ||
9.0.101 | ||
- run: ./build.cmd Workflow | ||
- run: brew install coreutils | ||
if: ${{ runner.os == 'macOS' }} | ||
|
@@ -132,9 +131,8 @@ jobs: | |
- uses: actions/[email protected] | ||
with: | ||
dotnet-version: | | ||
6.0.427 | ||
7.0.410 | ||
8.0.403 | ||
8.0.404 | ||
9.0.101 | ||
- run: ./build.cmd NuGetWorkflow | ||
- uses: actions/[email protected] | ||
with: | ||
|
@@ -157,9 +155,8 @@ jobs: | |
- uses: actions/[email protected] | ||
with: | ||
dotnet-version: | | ||
6.0.427 | ||
7.0.410 | ||
8.0.403 | ||
8.0.404 | ||
9.0.101 | ||
- name: Download NuGet Artifacts from build-nuget-package job | ||
uses: actions/[email protected] | ||
with: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,7 +20,7 @@ jobs: | |
- uses: actions/[email protected] | ||
- uses: actions/[email protected] | ||
with: | ||
dotnet-version: 8.0.403 | ||
dotnet-version: 9.0.101 | ||
|
||
- name: dotnet format | ||
run: dotnet format ./Splunk.OpenTelemetry.AutoInstrumentation.sln --no-restore --verify-no-changes |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,14 +10,14 @@ jobs: | |
steps: | ||
- uses: actions/[email protected] | ||
with: | ||
dotnet-version: 8.0.403 | ||
dotnet-version: 9.0.101 | ||
- name: Test the PowerShell module instructions from README.md | ||
shell: powershell | ||
run: | | ||
mkdir testapp | ||
cd testapp | ||
dotnet new console | ||
dotnet publish -f net8.0 -c Release | ||
dotnet publish -f net9.0 -c Release | ||
$module_url = "https://github.com/signalfx/splunk-otel-dotnet/releases/download/${{ github.event.release.tag_name }}/Splunk.OTel.DotNet.psm1" | ||
$dl_path = Join-Path $env:temp "Splunk.OTel.DotNet.psm1" | ||
$log_path = "C:\ProgramData\OpenTelemetry .NET AutoInstrumentation\logs\*" | ||
|
@@ -26,12 +26,12 @@ jobs: | |
Install-OpenTelemetryCore | ||
$install_dir = Get-OpenTelemetryInstallDirectory | ||
Register-OpenTelemetryForCurrentSession -OTelServiceName "MyServiceDisplayName" | ||
./bin/Release/net8.0/publish/testapp | ||
./bin/Release/net9.0/publish/testapp | ||
if (-not $?) { throw "dotnet help returned exit code: $LASTEXITCODE" } | ||
if (-not (Test-Path $log_path)) { throw "Log file does not exist. Instrumentation test failed." } | ||
Remove-Item $log_path | ||
Unregister-OpenTelemetryForCurrentSession | ||
./bin/Release/net8.0/publish/testapp | ||
./bin/Release/net9.0/publish/testapp | ||
if (-not $?) { throw "dotnet help returned exit code: $LASTEXITCODE" } | ||
if (Test-Path $log_path) { throw "Log file exists. Instrumentation unregister failed." } | ||
Uninstall-OpenTelemetryCore | ||
|
@@ -64,14 +64,14 @@ jobs: | |
mkdir testapp | ||
cd testapp | ||
dotnet new console | ||
dotnet publish -f net8.0 -c Release | ||
dotnet publish -f net9.0 -c Release | ||
set -e | ||
curl -sSfL https://github.com/signalfx/splunk-otel-dotnet/releases/download/${{ github.event.release.tag_name }}/splunk-otel-dotnet-install.sh -O | ||
sh ./splunk-otel-dotnet-install.sh | ||
test "$(ls -A "$HOME/.splunk-otel-dotnet")" | ||
curl -sSfL https://raw.githubusercontent.com/${{ github.repository }}/${{ github.sha }}/instrument.sh -O | ||
. ./instrument.sh | ||
./bin/Release/net8.0/publish/testapp | ||
./bin/Release/net9.0/publish/testapp | ||
test "$(ls -A '${{ matrix.log-dir }}' )" | ||
shell-scripts-container: | ||
|
@@ -91,12 +91,12 @@ jobs: | |
mkdir testapp | ||
cd testapp | ||
dotnet new console | ||
dotnet publish /p:TreatWarningsAsErrors=false -f net8.0 -c Release | ||
dotnet publish /p:TreatWarningsAsErrors=false -f net9.0 -c Release | ||
curl -sSfL https://github.com/signalfx/splunk-otel-dotnet/releases/download/${{ github.event.release.tag_name }}/splunk-otel-dotnet-install.sh -O | ||
sh ./splunk-otel-dotnet-install.sh | ||
test "$(ls -A "$HOME/.splunk-otel-dotnet")" | ||
curl -sSfL https://raw.githubusercontent.com/${{ github.repository }}/${{ github.sha }}/instrument.sh -O | ||
. ./instrument.sh | ||
./bin/Release/net8.0/publish/testapp | ||
./bin/Release/net9.0/publish/testapp | ||
test "$(ls -A /var/log/opentelemetry/dotnet )" | ||
' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.