MetricsREST Resource

GET /metrics/json

Response Body
media type data type description
application/json map of object (JSON)

Example

Request
GET /metrics/json
Content-Type: */*
Accept: application/json

                
...
                
              
Response
HTTP/1.1 200 OK
Content-Type: application/json

                
...
                
              

GET /metrics/prometheus

Response Body
media type data type description
text/plain string

Example

Request
GET /metrics/prometheus
Content-Type: */*
Accept: text/plain

                
...
                
              
Response
HTTP/1.1 200 OK
Content-Type: text/plain

                
...
                
              

GET /metrics/status

Response Body
media type data type description
application/json RangerMetrics (JSON)

Example

Request
GET /metrics/status
Content-Type: */*
Accept: application/json

                
...
                
              
Response
HTTP/1.1 200 OK
Content-Type: application/json

                
{
  "data" : {
    "property1" : { },
    "property2" : { }
  }
}