The cf-report-usage-plugin is a helpful tool for displaying memory consumption, application instances (AIs), and service instances (SIs) across different organizations and spaces you have access to. This guide provides instructions on installation and usage, ensuring you can effectively monitor resource usage in your Cloud Foundry environment.
The cf-report-usage-plugin
enables users to monitor and report memory usage, application instances (AIs), and service instances (SIs) for each organization and space accessible to them. This plugin is particularly useful for administrators and developers who need detailed insights into resource utilization across multiple environments.
To install the cf-report-usage-plugin
, follow these steps:
Open your terminal or command prompt.
cf7 install-plugin -f https://github.com/aegershman/cf-report-usage-plugin/releases/download/3.3.2/cf-report-usage-plugin-windows-amd64.exe
Ensure you have the cf7
CLI installed before running the command.
The plugin supports generating reports in multiple formats: table, JSON, and string. You can specify the desired format using the --format
flag. Here are some examples:
Table Format: Displays the report in a tabular format.
cf7 report-usage -o ORG_NAME --format table
JSON Format: Outputs the report in JSON format, suitable for programmatic processing.
cf7 report-usage -o ORG_NAME --format json
String Format: Provides a plain text representation of the report.
cf7 report-usage -o ORG_NAME --format string
Reporting for Multiple Organizations
You can generate a report for multiple organizations by listing them with the -o
flag. For instance, to generate a table report for two organizations (ORG_NAME and ORG_NAME_2 ), use the following command:
cf7 report-usage -o ORG_NAME -o ORG_NAME_2 --format table
This flexibility allows users to aggregate and compare resource usage across different organizational units within their Cloud Foundry environment.
Please be aware that the Insights Hub support team does not provide support for this third-party CF plugin. For any issues or inquiries, refer to the plugin's GitHub repository.