[jboss-jira] [JBoss JIRA] (WFWIP-137) Integers are printed as floats with trailing .0
Jeff Mesnil (Jira)
issues at jboss.org
Tue Nov 6 11:22:00 EST 2018
[ https://issues.jboss.org/browse/WFWIP-137?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13657348#comment-13657348 ]
Jeff Mesnil commented on WFWIP-137:
-----------------------------------
I am using a Gauge to represent all metrics from WildFly subsystems.
At first, I was getting the value as a Double in all cases. I have refined that to distinguish between INT, LONG and other numeric ModelType in the dev branch (35ceb2ed6ac29a6e65e2a89e53b4e99988c37593)
> Integers are printed as floats with trailing .0
> -----------------------------------------------
>
> Key: WFWIP-137
> URL: https://issues.jboss.org/browse/WFWIP-137
> Project: WildFly WIP
> Issue Type: Bug
> Components: MP Metrics
> Reporter: Rostislav Svoboda
> Assignee: Jeff Mesnil
> Priority: Major
>
> Integers are printed as floats with trailing .0
> {code}
> base:classloader_current_loaded_class_count 11135.0
> base:classloader_total_loaded_class_count 11171.0
> base:classloader_total_unloaded_class_count 36.0
> base:cpu_available_processors 8.0
> base:gc_g1_old_generation_count 0.0
> base:gc_g1_old_generation_time_seconds 0.0
> base:gc_g1_young_generation_count 20.0
> base:thread_count 50.0
> base:thread_daemon_count 11.0
> base:thread_max_count 121.0
> {code}
> Payara, OpenLiberty and Helidon report integers as integers.
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
More information about the jboss-jira
mailing list