Skip to content

Update OpenTelemetry to 1.18.0 - #1802

Closed
JoeRobich wants to merge 1 commit into
mainfrom
update-opentelemetry-1.18.0
Closed

JoeRobich wants to merge 1 commit into
mainfrom
update-opentelemetry-1.18.0

Conversation

@JoeRobich

Copy link
Copy Markdown
Member

Summary

  • update the OpenTelemetry external component from 1.16.0 to 1.18.0
  • add the Microsoft.Extensions.Configuration.EnvironmentVariables 10.0.0 reference package required by OpenTelemetry 1.18.0
  • refresh external-component metadata and patches, dropping the patch included upstream
  • avoid restoring Microsoft.NET.ILLink.Tasks at this bootstrap layer

This addresses the missing prebuilts reported in this dotnet/dotnet#9622 comment.

Validation

  • ./build.sh --clean && ./build.sh -sb
  • external package metadata tests: 5 passed
  • verified all six requested NuGet packages are produced

Add the Microsoft.Extensions.Configuration.EnvironmentVariables 10.0.0 reference package required by OpenTelemetry 1.18.0 and refresh the external component metadata and patches.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot-Session: 2058f6bb-3bc5-4873-af70-0538db686ef1
Comment thread eng/Versions.props
<OpenTelemetryDotNetContribHttpReleaseVersion>1.16.0</OpenTelemetryDotNetContribHttpReleaseVersion>
<OpenTelemetryDotNetContribRuntimeReleaseVersion>1.15.1</OpenTelemetryDotNetContribRuntimeReleaseVersion>
<OpenTelemetryDotNetContribPersistentStorageAbstractionsReleaseVersion>1.1.0</OpenTelemetryDotNetContribPersistentStorageAbstractionsReleaseVersion>
<OpenTelemetryDotNetContribPersistentStorageFileSystemReleaseVersion>1.1.0</OpenTelemetryDotNetContribPersistentStorageFileSystemReleaseVersion>

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
<OpenTelemetryDotNetContribPersistentStorageFileSystemReleaseVersion>1.1.1</OpenTelemetryDotNetContribPersistentStorageFileSystemReleaseVersion>

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we also update the persistent file store version ? It's updated in the PR. https://github.com/dotnet/sdk/pull/56274/changes#diff-1ea18ff65faa2ae6fed570b83747086d0317f5e4bc325064f6c14319a9c4ff67 and https://github.com/dotnet/source-build-assets/pull/1742/changes

I'm also surprised <AzureMonitorOpenTelemetryExporterPackageVersion>1.9.0</AzureMonitorOpenTelemetryExporterPackageVersion> is not needed but I don't see the prior exporter package version defined here either.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Checking on this as I'm not familiar with how this works.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like bumping this is maybe not required but good for hygiene. The pdb issue appears to need resolution though. I'm not sure why but it looks like the azure-monitor-exporter is not a requirement for source-build to build.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So it looks like the build failed in the previous bump PR as well but the build is deleted so I can't tell why.
image

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think the base needs to be made off release/11.0.1xx so putting up another PR.

@mthalman

Copy link
Copy Markdown
Member

source-build-assets-unified-build is failing because there's a mismatch between the SDK's referenced OTel version (1.16.0) and the updated version here (1.18.0).

Also, this is targeting main which is going to have no impact on dotnet/dotnet#9622 since that targets 11.0-rc.2.

@nagilson

Copy link
Copy Markdown
Member

Thanks @JoeRobich for moving this along while I was conducting interviews and @mthalman for helping to push this along in the 11.0 version - #1803.

@nagilson nagilson closed this Sep 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants