List available metrics
Get a list of metric definitions with their units, dimensions, names, and other values.
The default format is JSON. The servlet will use the HTTP Accept header if no specific format is specified.
URL |
|
Method |
GET |
Formats |
JSON, XML |
Query parameters |
|
Example
All metrics in JSON format.
curl \
-X GET \
https://<metricsServerHost>:8080/api/v1/metrics.json
All count type metrics in the “PingDirectory Server Backend” group providing either count or average statistics:
curl \
-X GET \
https://<metricsServerHost>:8080/api/v1/metrics.json?type=count&group=ds
%20backend&statistic=count&statistic=average
Spaces in parameter values can be encoded as |
Response Code |
200 0K |
Response Body |
|