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

Amit Jain commented on OAK-8113:
--------------------------------

{quote}Alternatively, what if oak-run had an option to write metrics to stdout 
or a file in a well defined format after the command 
{quote}
Yes I initially considered the option but seemed like we would be somewhat 
reinventing the wheel. 
I prefer the 2nd patch for this reason as other exporters can also be added 
somewhat easily with minimal plumbing.


> Add ability to push metrics to prometheus pushgateway from oak-run
> ------------------------------------------------------------------
>
>                 Key: OAK-8113
>                 URL: https://issues.apache.org/jira/browse/OAK-8113
>             Project: Jackrabbit Oak
>          Issue Type: Improvement
>          Components: oak-run
>            Reporter: Amit Jain
>            Assignee: Amit Jain
>            Priority: Major
>             Fix For: 1.12
>
>         Attachments: OAK-8113.patch, OAK-8113_v2.patch
>
>
> Currently, metrics capturing is supported in oak-run but these are not 
> exported. If some important tasks like DSGC are run outside of the server 
> using oak-run then it would be helpful help if these important metrics 
> captured, can be pushed to an external system if available and from where any 
> reporting can be developed.
> This task is specifically meant for prometheus pushgateway 
> https://github.com/prometheus/client_java though there are some other export 
> options also available.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to