Skip to content

Update otel nuget packages#2907

Merged
benjaminpetit merged 1 commit intodotnet:mainfrom
benjaminpetit:update-otel
Jul 23, 2025
Merged

Update otel nuget packages#2907
benjaminpetit merged 1 commit intodotnet:mainfrom
benjaminpetit:update-otel

Conversation

@benjaminpetit
Copy link
Member

@benjaminpetit benjaminpetit merged commit 4786220 into dotnet:main Jul 23, 2025
7 checks passed
@MihaZupan MihaZupan added this to the YARP 3.0 milestone Jul 23, 2025
<OpenTelemetryInstrumentationAspNetCore>1.9.0</OpenTelemetryInstrumentationAspNetCore>
<OpenTelemetryInstrumentationHttp>1.9.0</OpenTelemetryInstrumentationHttp>
<OpenTelemetryInstrumentationRuntime>1.9.0</OpenTelemetryInstrumentationRuntime>
<OpenTelemetryExporterOpenTelemetryProtocol>1.12.0 </OpenTelemetryExporterOpenTelemetryProtocol>
Copy link
Member

Choose a reason for hiding this comment

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

Just an FYI -

since Yarp.Application still targets net8.0, referencing these newer versions of OpenTelemetry will lift a bunch of libraries to the 9.0 versions. See open-telemetry/opentelemetry-dotnet#5973 for more information.

Copy link
Member Author

Choose a reason for hiding this comment

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

Thanks, I forgot that we still build for .net8, I will remove the target in another PR. For the container we use .net9 anyway

<OpenTelemetryInstrumentationAspNetCore>1.9.0</OpenTelemetryInstrumentationAspNetCore>
<OpenTelemetryInstrumentationHttp>1.9.0</OpenTelemetryInstrumentationHttp>
<OpenTelemetryInstrumentationRuntime>1.9.0</OpenTelemetryInstrumentationRuntime>
<OpenTelemetryExporterOpenTelemetryProtocol>1.12.0 </OpenTelemetryExporterOpenTelemetryProtocol>
Copy link
Member

Choose a reason for hiding this comment

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

there's a space here, I guess somewhere there's a Version.Parse or something working anyway...

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Telemetry not working with Aspire.Hosting.Yarp integration

4 participants