Skip to content

Update OpenTelemetry to v1.15#398

Merged
martincostello merged 3 commits intomainfrom
update-otel-packages
Jan 22, 2026
Merged

Update OpenTelemetry to v1.15#398
martincostello merged 3 commits intomainfrom
update-otel-packages

Conversation

@martincostello
Copy link
Copy Markdown
Member

@martincostello martincostello commented Jan 14, 2026

Changes

Update to OpenTelemetry v1.15.

Merge requirement checklist

  • Unit tests added/updated
  • CHANGELOG.md updated
  • Changes in public API reviewed (if applicable)

Copilot AI review requested due to automatic review settings January 14, 2026 10:27
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR updates multiple OpenTelemetry instrumentation dependencies to their latest versions and adds Hangfire metrics support. The primary goal is to keep dependencies current and resolve security vulnerabilities, particularly addressing GHSA-9cvc-h2w8-phrp in AWS-related packages.

Changes:

  • Updated OpenTelemetry instrumentation packages (AspNet, AWS, AWSLambda, Hangfire, SqlClient) to newer versions
  • Added metrics instrumentation support for Hangfire
  • Fixed Microsoft.Extensions.Configuration.EnvironmentVariables version constraint for .NET 10 compatibility
  • Updated .NET SDK to 10.0.102 and example dependencies to latest versions

Reviewed changes

Copilot reviewed 8 out of 8 changed files in this pull request and generated no comments.

Show a summary per file
File Description
src/Grafana.OpenTelemetry/Grafana.OpenTelemetry.csproj Updated package versions for AWS, AWSLambda, Hangfire, and AspNet instrumentation
src/Grafana.OpenTelemetry.Base/Instrumentations/HangfireInitializer.cs Added metrics initialization method to enable Hangfire metrics support
src/Grafana.OpenTelemetry.Base/Grafana.OpenTelemetry.Base.csproj Updated SqlClient and Microsoft.Extensions.Configuration.EnvironmentVariables versions
global.json Updated .NET SDK from 10.0.101 to 10.0.102
examples/net10.0/aspnetcore/aspnetcore.csproj Updated AWSSDK.S3 and EntityFrameworkCore.Sqlite to latest versions
examples/net10.0/aspnetcore/Dockerfile Updated Docker base images to 10.0.102 SDK and 10.0.2 runtime
Directory.Build.props Removed NuGetAuditSuppress for GHSA-9cvc-h2w8-phrp as it's now resolved
CHANGELOG.md Added version 1.4.1 entry documenting all changes, breaking changes, and bug fixes

Comment thread CHANGELOG.md Outdated
Copilot AI review requested due to automatic review settings January 14, 2026 10:44
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 9 out of 9 changed files in this pull request and generated 1 comment.

Comment thread CHANGELOG.md
@martincostello
Copy link
Copy Markdown
Member Author

martincostello commented Jan 14, 2026

Probably makes sense to wait for OpenTelemetry.Instrumentation.SqlClient@1.14.0 before merging/shipping this.

or I can back-out the SQL-specific parts and make it a 1.4.1, then we can 1.5.0 for SQL Server afterwards...

@martincostello
Copy link
Copy Markdown
Member Author

or I can back-out the SQL-specific parts and make it a 1.4.1, then we can 1.5.0 for SQL Server afterwards...

#399

@martincostello martincostello added enhancement New feature or request .NET Pull requests that update .NET code dependencies Pull requests that update a dependency file labels Jan 14, 2026
@martincostello martincostello changed the title Update OpenTelemetry dependencies Update OpenTelemetry.Instrumentation.SqlClient Jan 14, 2026
Copilot AI review requested due to automatic review settings January 15, 2026 10:39
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 5 out of 5 changed files in this pull request and generated 2 comments.

Comment thread CHANGELOG.md
Comment thread docker/docker-compose-aspnetcore/oats.yaml
Update OpenTelemetry.Instrumentation.SqlClient to 1.14.0-rc.1.
@martincostello martincostello changed the title Update OpenTelemetry.Instrumentation.SqlClient Update OpenTelemetry to v1.15 Jan 22, 2026
Update to latest OpenTelemetry library versions.
Copilot AI review requested due to automatic review settings January 22, 2026 15:30
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 5 out of 5 changed files in this pull request and generated 2 comments.

Comment thread CHANGELOG.md Outdated
Comment thread CHANGELOG.md Outdated
Address Copilot comments.
@martincostello martincostello marked this pull request as ready for review January 22, 2026 15:40
@martincostello martincostello requested a review from a team as a code owner January 22, 2026 15:40
Copilot AI review requested due to automatic review settings January 22, 2026 15:40
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 5 out of 5 changed files in this pull request and generated no new comments.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file enhancement New feature or request .NET Pull requests that update .NET code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants