Promql response values represent as strings - why?

10 views
Skip to first unread message

Avner Adania

unread,
Mar 24, 2020, 3:14:09 PM3/24/20
to Prometheus Users
I'm trying to get values with PromQL. Each timestamp returned, its value is a string, which i need to convert it to integer. Is there any solution for that soon?

Julien Pivotto

unread,
Mar 24, 2020, 3:35:27 PM3/24/20
to Avner Adania, Prometheus Users
This is by design as we need to represent "NaN"s.

>
> --
> 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 prometheus-use...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/6d2ae45b-a8d6-41a8-a9bf-7c11162ffdbf%40googlegroups.com.


--
(o- Julien Pivotto
//\ Open-Source Consultant
V_/_ Inuits - https://www.inuits.eu
signature.asc
Reply all
Reply to author
Forward
0 new messages