No, the Prometheus exposition format supports only floats, so there is no
way to force the client libraries to integers. If you are parsing it
independently, you will need to accept floating point values.

/MR

On Mon, Mar 8, 2021, 12:05 Rip Jal <[email protected]> wrote:

> Checking on JMX exporter localhost end point,I see that metrics ( like
> java_lang_Memory_HeapMemoryUsage_committed  )get converted into double
> values with E notation so 613941248 gets converted into 6.13941248E8.
> We are using JMX exporter to publish values on the endpoint and then doing
> some internal monitoring on top of that.
> Is it possible to export such values in real format ?
>
> --
> You received this message because you are subscribed to the Google Groups
> "Prometheus Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/prometheus-users/a735e483-e5b0-41fc-a273-0523b2de332an%40googlegroups.com
> <https://groups.google.com/d/msgid/prometheus-users/a735e483-e5b0-41fc-a273-0523b2de332an%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"Prometheus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/prometheus-users/CAMV%3D_gan6jYPLo17%3D_BtGjyUJ4RoF3qf2W39pChjB7raXdouQg%40mail.gmail.com.

Reply via email to