-
Notifications
You must be signed in to change notification settings - Fork 40.8k
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
Consistently use bytes as the unit for all memory-related metrics #6413
Comments
spring-projects-issues
added
the
status: waiting-for-triage
An issue we've not yet triaged
label
Jul 18, 2016
philwebb
added
type: enhancement
A general enhancement
and removed
status: waiting-for-triage
An issue we've not yet triaged
labels
Jul 18, 2016
IMO, bytes should be the default unit. It seems strange to use a default that causes a loss of precision |
philwebb
added
the
for: team-attention
An issue we'd like other members of the team to review
label
Jul 19, 2016
snicoll
removed
the
for: team-attention
An issue we'd like other members of the team to review
label
Jul 20, 2016
joshiste
added a commit
to codecentric/spring-boot-admin
that referenced
this issue
Jul 21, 2016
In case dropwizard is used the heap metrics are in bytes and not in kilobytes. This is deteceted by the presence of heap.max. For Spring Boot 2.0 there is an issue filed to deliver bytes see spring-projects/spring-boot#6413 fixes #234
wilkinsona
changed the title
Allow to configure the unit of memory for "Memory" metrics
Consistently use bytes as the unit for all memory-related metrics
Aug 30, 2016
This has been superseded by the planned move to Micrometer-based metrics (#9970) |
ejavexpert
added a commit
to ejavexpert/java-spring-boot-admin
that referenced
this issue
Mar 25, 2022
In case dropwizard is used the heap metrics are in bytes and not in kilobytes. This is deteceted by the presence of heap.max. For Spring Boot 2.0 there is an issue filed to deliver bytes see spring-projects/spring-boot#6413 fixes #234
KingSize0319
added a commit
to KingSize0319/spring-boot-admin
that referenced
this issue
Feb 6, 2023
In case dropwizard is used the heap metrics are in bytes and not in kilobytes. This is deteceted by the presence of heap.max. For Spring Boot 2.0 there is an issue filed to deliver bytes see spring-projects/spring-boot#6413 fixes #234
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Enhancement request:
Provide ability to specify the unit of measurement for memory metrics.
Currently all the metrics extracted via
MemoryUsage
mBean are automatically converted to Kb unit of measurement, instead of originalbytes
, which causes issues for migrated applications, that used to rely on Dropwizard JVMMemoryUsageGaugeSet
to export the same metrics, which usedbytes
as a unit of measurement. (Also, IMHO, it would be beneficial for others, who choose/want/need to get memory metrics in bytes instead of Kb).Maybe adding a property (something along the lines of
memoryMetricUnitMultiplier
) with default value of1024
, but externally configurable, to allow custom selection of units?The text was updated successfully, but these errors were encountered: