You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@skywalking.apache.org by GitBox <gi...@apache.org> on 2021/05/18 22:46:37 UTC

[GitHub] [skywalking] hanahmily commented on issue #6971: Bug: The prometheus metrics type is wrong in TextParse.java

hanahmily commented on issue #6971:
URL: https://github.com/apache/skywalking/issues/6971#issuecomment-843616393


   It's a bit tricky here, but defaulting to  "Gauge" in the "HELP" line is intentional. 
   
   Referring to Prometheus metric specification, if there's no  "TYPE" line, the metric will be parsed as "untyped". But MAL CAN'T handle such metrics, will complain about missing type. 
   
   Based on that, I default it to "Gauge". 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org