Comments (4)
Happens to me as well, I wanna count http_requests_total
but there's no such metrics that collect requests count for each route, only http_server_active_requests
which doesn't seem to be useful
I can do this in Axum and the http_requests_total
count on /metrics
increases every time I refresh the page
from actix-web-opentelemetry.
Think this is related to open-telemetry/opentelemetry-rust#1351
from actix-web-opentelemetry.
Temporary workaround would be to set workers to 1 as it's creating an instrument per worker currently.
from actix-web-opentelemetry.
Fixed in latest release https://github.com/open-telemetry/opentelemetry-rust/releases/tag/v0.21.1
from actix-web-opentelemetry.
Related Issues (17)
- Filter requests being traced HOT 2
- Is there a logging feature? HOT 2
- Update Opentelemetry to 1.19 HOT 1
- Enabling "process" feature for Prometheus metrics HOT 1
- Info : Status code returned from actix-web HOT 2
- Using RequestTracingMiddleware with a TraceContextPropagator. HOT 3
- Support for actix-web 3.0 ?
- no default features for actix-web HOT 1
- Zipkin pipeline fail HOT 3
- Record user agent attribute on server
- Please help with the example HOT 3
- Record srevice version attribute HOT 1
- Guidance: Accessing the current span from another middleware HOT 5
- Server middleware on the doc doesn't work HOT 4
- status code handling for awc client HOT 3
- Release v3 ? HOT 1
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 actix-web-opentelemetry.