Git Product home page Git Product logo

Comments (3)

alanwest avatar alanwest commented on June 24, 2024 1

Ah and you also mentioned that you're using net8. The instrumentation in this repository only emits metrics for net6 and net7. With net8 the http.server.request.duration metric is emitted natively by the ASP.NET Core itself.

See comment in the release notes.

Fixed an issue where the http.route attribute was not set on either the Activity or http.server.request.duration metric generated from a request when an exception handling middleware is invoked. One caveat is that this fix does not address the problem for the http.server.request.duration metric when running ASP.NET Core 8. ASP.NET Core 8 contains an equivalent fix which should ship in version 8.0.2 (see: dotnet/aspnetcore#52652). (#5135).

You'll need to update to ASP.NET Core 8.0.2+

from opentelemetry-dotnet.

CodeBlanch avatar CodeBlanch commented on June 24, 2024

@tyler-boyd I think this was fixed by: #5135

Would you mind trying 1.7.1 or newer and report back?

from opentelemetry-dotnet.

tyler-boyd avatar tyler-boyd commented on June 24, 2024

Thanks for the quick replies, I didn't see that linked issue because I was searching for http.route (which isn't explicitly mentioned).

Updating to the latest version of these libraries did the trick, I should have tried that before opening an issue 🙂 Thanks again!

from opentelemetry-dotnet.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.