[ 
https://issues.apache.org/jira/browse/KARAF-7841?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17935705#comment-17935705
 ] 

ASF subversion and git services commented on KARAF-7841:
--------------------------------------------------------

Commit 978cd70aeaaf6f4bbcd11c37c1ab90ebb3e14c6f in karaf-decanter's branch 
refs/heads/main from Francois Papon
[ https://gitbox.apache.org/repos/asf?p=karaf-decanter.git;h=978cd70a ]

[KARAF-7841] Use Prometheus labels and create 1 event per metric in the 
Prometheus-Collector (#337)



> Use Prometheus labels and create 1 event per metric in the 
> Prometheus-Collector
> -------------------------------------------------------------------------------
>
>                 Key: KARAF-7841
>                 URL: https://issues.apache.org/jira/browse/KARAF-7841
>             Project: Karaf
>          Issue Type: Improvement
>          Components: decanter
>    Affects Versions: decanter-2.10.0
>            Reporter: Francois Papon
>            Assignee: Francois Papon
>            Priority: Major
>
> We should be able to parse labels in Prometheus metric like:
> {code:java}
> # HELP request_time_total
> # TYPE request_time_total counter
> request_time_total_seconds{api="my-api",endpoint="/send",method="POST"} 1.0
> # HELP memoryPool_usage_bytes Current usage of the memory pool
> # TYPE memoryPool_usage_bytes gauge
> memoryPool_usage_bytes{name="Compressed Class Space"} 2.2561752E7
> memoryPool_usage_bytes{name="G1 Eden Space"} 1.2582912E7{code}
> The purpose is to store each labels as an event data property.
> We also should create 1 event per metric.
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to