Test Metrics monitoring using ReST
The Access Gateway /metrics REST API endpoint is used to return node specific metrics.
The following curl example returns information using the /metrics endpoint.
To perform a metrics request HTTP request you will need to specify the following:
Protocol | HTTPS |
Request | GET |
IP | IP Address of admin or worker node |
The following curl example requests current status using the /metrics endpoint.
For example:
- -X GET - Make a get request. default, optional.
- -v - Verbose. Optional
- -k - Insecure
Copy
or
curl -X GET -v http://10.0.0.10:8889/metrics
Copy
curl -X GET -v http://gw.atko.com:8889/metrics
On success
Returns 200 on success followed by the current set of metrics.
See Supported metrics for more information.
For example:
On error
Times out or returns 404 on error.
For example: