[
https://issues.apache.org/jira/browse/KNOX-990?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Larry McCay resolved KNOX-990.
------------------------------
Resolution: Invalid
> REST service exposing metrics does not seem to work
> ---------------------------------------------------
>
> Key: KNOX-990
> URL: https://issues.apache.org/jira/browse/KNOX-990
> Project: Apache Knox
> Issue Type: Bug
> Components: Server
> Reporter: Sandeep More
> Assignee: Mohammad Kamrul Islam
> Fix For: 0.14.0
>
>
> The REST service for accessing metrics that was added as a part of
> [KNOX-940|https://issues.apache.org/jira/browse/KNOX-940] does not appear to
> be working.
> This is what I am getting
> {code}
> curl -i -k -u admin:admin-password -X GET
> 'https://localhost:8443/gateway/health/v1/metrics?pretty=true'
> HTTP/1.1 404 Not Found
> Date: Wed, 02 Aug 2017 14:52:05 GMT
> Cache-Control: must-revalidate,no-cache,no-store
> Content-Type: text/html; charset=ISO-8859-1
> Content-Length: 303
> Server: Jetty(9.2.15.v20160210)
> <html>
> <head>
> <meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1"/>
> <title>Error 404 </title>
> </head>
> <body>
> <h2>HTTP ERROR: 404</h2>
> <p>Problem accessing /gateway/health/v1/metrics. Reason:
> <pre> Not Found</pre></p>
> <hr /><i><small>Powered by Jetty://</small></i>
> </body>
> </html>
> {code}
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)