Search

7.8. Exposed Data

download PDF
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.json returns all profile summaries from the Admin Stats library (the same library used by the oo-stats command). Add the ?reload=1 parameter to ensure the data is current rather than cached.
  • /admin-console/stats/gears_per_user.json returns frequency data for gears owned by a user.
  • /admin-console/stats/apps_per_domain.json returns frequency data for applications belonging to a domain.
  • /admin-console/stats/domains_per_user.json returns 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
Red Hat logoGithubRedditYoutubeTwitter

Learn

Try, buy, & sell

Communities

About Red Hat Documentation

We help Red Hat users innovate and achieve their goals with our products and services with content they can trust.

Making open source more inclusive

Red Hat is committed to replacing problematic language in our code, documentation, and web properties. For more details, see the Red Hat Blog.

About Red Hat

We deliver hardened solutions that make it easier for enterprises to work across platforms and environments, from the core datacenter to the network edge.

© 2024 Red Hat, Inc.