Update OpenTelemetry to v1.15#398
Merged
martincostello merged 3 commits intomainfrom Jan 22, 2026
Merged
Conversation
There was a problem hiding this comment.
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 |
martincostello
commented
Jan 14, 2026
Member
Author
|
Probably makes sense to wait for 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... |
Member
Author
|
c3a08af to
1bc5449
Compare
1bc5449 to
3c52d00
Compare
50e9c60 to
3c52d00
Compare
Update OpenTelemetry.Instrumentation.SqlClient to 1.14.0-rc.1.
Update to latest OpenTelemetry library versions.
3c52d00 to
3895f9c
Compare
Address Copilot comments.
maryliag
approved these changes
Jan 22, 2026
This was referenced Jan 23, 2026
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Changes
Update to OpenTelemetry v1.15.
Merge requirement checklist
Unit tests added/updatedCHANGELOG.mdupdatedChanges in public API reviewed (if applicable)