-
Notifications
You must be signed in to change notification settings - Fork 785
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
.NET 8 build, CI, project targets, etc #4437
Comments
@alanwest We will not be able to leverage the metrics generated in these libraries in our instrumentation.
I will open a separate issue to document this. |
Note that the ASP.NET Core metrics in .NET 8 have been renamed to align with OTel semantic conventions. See dotnet/aspnetcore#49743. When using Open Telemetry on .NET 8, what is the recommended way of getting the
Should |
@eerhardt Thanks for the note. Something we need to evaluate if calling |
If you want to try them out before 8.0-rc1 is officially shipped, you can get a nightly build at https://github.com/dotnet/installer#installers-and-binaries. |
#2994 can be resolved if we depend on built-in metrics from .NET8 onwards |
#3948 (comment) can also be closed for .NET8+ as .NET built-in metrics also has a way to enrich the metrics it emits based on context. Need to check the details and see if they can be a viable alternative to whats asked in 3948 Edit: We cannot have diff. public API for each .NET version. So either the public API must be removed for all, or retained for all, and underlying implementation could somehow delegate to the built-in mechanism. |
https://github.com/dotnet/aspnetcore/blob/main/src/Hosting/Hosting/src/Internal/HostingApplicationDiagnostics.cs#L66-L75 |
@JamesNK @noahfalk @eerhardt Specifically - Would you adopt to the new changes in OTel conventions, even if they are breaking? |
Have opened a separate issue to further discuss this. open-telemetry/opentelemetry-dotnet-contrib#1753 |
Any update on .NET 8 support? The RC of .NET 8 is out since last week now. |
There is nothing preventing one to use .NET8 apps with current OTel. Are you facing issues with .NET 8 apps? This issue is mostly to track build/ci changes, and there is no work specifically needed to support .NET 8 apps. |
After #4876 got merged, Also should fix the below tests in ubuntu net8.0: |
Checklist of infrastructure things to do in prep for .NET 8.
net8.0
targets to relevant projectsAotCompatibility.TestApp
to targetnet8.0
and remove condition that omits OSX (see Disable PublishAot for OSX #4435)The text was updated successfully, but these errors were encountered: