Comments (3)
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.
@tyler-boyd I think this was fixed by: #5135
Would you mind trying 1.7.1 or newer and report back?
from opentelemetry-dotnet.
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)
- Promote overflow attribute from experimental to stable HOT 1
- When creating a meter with spaces in the name the meter is not added to the subscription listner and is disabled. HOT 1
- UseOtlpExporter doesn't seem to work with just a logging configuration HOT 2
- Opt-in to using experimental resource attributes HOT 2
- Why AddOpentelemetry enables Microsoft logging? HOT 1
- Make PrometheusExporter public and open to composition to support Pushgateway scenarios
- Remove polyfill packages HOT 2
- How to properly propagate logging baggage to subsequent service invocations and Task.Run async invocations? HOT 12
- Prometheus exporter produces zero-byte HTTP response HOT 5
- Unify resource builder usage between Logging and Metrics/Tracing HOT 1
- Mark ActivityExtensions.RecordException obsolete HOT 5
- How does OTel semver conention work? HOT 2
- Baggage propagation is not possible for instrumentations without depending on OpenTelemetry.Api package HOT 13
- Specifying an endpoint in appsettings.json breaks appending suffix to endpoint path HOT 1
- Add a top-level `UseDebugExporter()` convenience method. HOT 2
- Adding filter processor after also filter previous processor HOT 5
- [BaggagePropagator] handle baggage properties
- OpenTelemetryLoggerOptions.IncludeScopes does not add scopes to logs HOT 6
- Tutorial of `getting-started-aspnetcore` is not working as it refers un-released API HOT 2
- Baggage propagation - known issues
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from opentelemetry-dotnet.