此内容没有您所选择的语言版本。
7.8. Exposed Data
The Administration Console exposes OpenShift Enterprise system data for use by external tools. In the current iteration of the Administration Console, you can retrieve the raw data from some of the application controllers in JSON format. This is not a long-term API however, and is likely to change in future releases. You can access the following URLs by appending them to the appropriate host name:
Exposed Data Points
/admin-console/capacity/profiles.jsonreturns all profile summaries from theAdmin Statslibrary (the same library used by theoo-statscommand). Add the?reload=1parameter to ensure the data is current rather than cached./admin-console/stats/gears_per_user.jsonreturns frequency data for gears owned by a user./admin-console/stats/apps_per_domain.jsonreturns frequency data for applications belonging to a domain./admin-console/stats/domains_per_user.jsonreturns frequency data for domains owned by a user.
The following example shows how to access
/admin-console/capacity/profiles.json on the broker host:
curl http://localhost:8080/admin-console/capacity/profiles.json
# curl http://localhost:8080/admin-console/capacity/profiles.json