Comments (3)
Practically, currently I see Spring Boot outputs the following metrics:
http.server.requests histogram
(who has "max");
http.server.requests.max
gauge.
It's not easily clear which one means what and why there are two. For example, in Grafana I just see one of them, because probably one overrides the other.
I'm not sure what is going on here, you are saying that you see two maxes but then you say you only see one? Which registry are you using?
If this is Prometheus, there should be only one max (a gauge), the histogram does not have a max and there are no overrides.
It would be great if docs provided practical example (something like saying "for example in Spring, http.server.requests.max is a time windowed max...").
Micrometer does not depend on Spring, it does not know about http.server.requests.max
, that one is Spring-relates so it should live in the Spring docs (afaik it mentions it). The Micrometer docs do mention that max is a time-window max.
As I understand, Micrometer doesn't specify an exact list of metrics with their meanings (unlike OpenTelemetry), so because it's Spring who actually outputs those, it could be more issue of Spring docs that don't explain it (currently, doesn't explain anything besides the name: https://docs.spring.io/spring-boot/docs/current/reference/htmlsingle/#actuator.metrics.supported.spring-mvc), so let me know if you think it's an issue for them instead, but since Micrometer mentioned already windowed max in the docs, since it provides reference implementation for some other components, and since the end goal is making it clear for users anyway, it could be worth explaining in Micrometer docs.
http.server.requests
is created by Spring Framework, you should look into those docs not Spring Boot.
It's not really clear to me what doc improvements you want but please feel free to add more details to this issue and/or open a PR, we are happy to review it.
from micrometer.
If you would like us to look at this issue, please provide the requested information. If the information is not provided within the next 7 days this issue will be closed.
from micrometer.
Closing due to lack of requested feedback. If you would like us to look at this issue, please provide the requested information and we will re-open.
from micrometer.
Related Issues (20)
- Timed annotation should consider Transactional handling HOT 1
- Add KeyValue support for Observation.Event HOT 2
- Test duplicate stops on observations HOT 1
- Backport fix AspectJ pointcut syntax HOT 3
- Adopt Stable OTEL Semantic Conventions for JVM metrics HOT 4
- io.micrometer:micrometer-observation:1.11.5 getting error with micrometer-test with version 1.12.0-SNAPSHOT with java version 17 & 21 HOT 4
- Make measured event duration accessible from outside of DefaultMeterObservationHandler HOT 2
- process_start_time_seconds HELP description inconsistency between Prometheus and micrometer HOT 1
- Make metric export filters applicable only to Dynatrace and not Spring Boot Admin (Spring Actuator) HOT 9
- Metrics in "/actuator/prometheus" are not consistent in a multi nodes environment (kubernetes) HOT 3
- Bump org.jetbrains.kotlin.jvm from 1.9.23 to 1.9.24
- Bump org.jetbrains.kotlin.jvm from 1.9.23 to 1.9.24
- zgcGenerationalTest is flaky on CI
- Support for removing custom instrumentation meters HOT 11
- Gauge API like counter / timer HOT 6
- Use Duration for @Timed SLOs instead of double HOT 2
- Add "cancelled" information to the GrpcServerObservationContext HOT 2
- Make PrometheusMeterRegistryTest less flaky
- Apply test-retry settings to all tests
- Upgrade opentelemetry-collector-contrib to 0.104.0
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 micrometer.