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 |
|
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
Note:
Spaces in parameter values can be encoded as %20
or
t
.
Response Code |
200 0K |
Response Body |
|