[ 
https://issues.apache.org/jira/browse/OOZIE-3305?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Qs Bao reassigned OOZIE-3305:
-----------------------------

           Attachment: OOZIE-3305-001.patch
    Affects Version/s:     (was: 4.2.0)
                       trunk
             Assignee: Qs Bao

[~andras.piros] [~asalamon74] I'd like to work on this.

Patch is submitting, in this patch:
* Introduced two prometheus client packages {{simpleclient_dropwizard}} and 
{{simpleclient_common}}, for convert dropwizard metrics to prometheus format 
metrics.
* Added a new HTTP endpoint {{/v2/admin/prometheus}} to expose prometheus 
metrics.

Worth noting that:
* The new endpoint is always enabled, considering that prometheus metrics 
exposed passively via periodic pull from prometheus server.
* The new endpoint have not supported in Oozie CLI, and have not documented in 
API doc.
* The new endpoint's response type is text instend of json, but as I know all 
existing oozie servlets extend from `JsonRestServlet`.

Looking forward to hearing you suggesions.



> Prometheus /metrics http endpoint for monitoring integration
> ------------------------------------------------------------
>
>                 Key: OOZIE-3305
>                 URL: https://issues.apache.org/jira/browse/OOZIE-3305
>             Project: Oozie
>          Issue Type: New Feature
>          Components: monitoring
>    Affects Versions: trunk
>            Reporter: Hari Sekhon
>            Assignee: Qs Bao
>            Priority: Major
>         Attachments: OOZIE-3305-001.patch
>
>
> Feature Request to add Prometheus /metrics http endpoint for monitoring 
> integration:
> [https://prometheus.io/docs/prometheus/latest/configuration/configuration/#%3Cscrape_config%3E]
> Prometheus metrics format for that endpoint:
> [https://github.com/prometheus/docs/blob/master/content/docs/instrumenting/exposition_formats.md]
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to