Uploaded image for project: 'Apache Knox'
  1. Apache Knox
  2. KNOX-990

REST service exposing metrics does not seem to work

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Invalid
    • None
    • 0.14.0
    • Server
    • None

    Description

      The REST service for accessing metrics that was added as a part of KNOX-940 does not appear to be working.

      This is what I am getting

      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>
      

      Attachments

        Activity

          People

            kamrul Mohammad Islam
            smore Sandeep More
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: