You can monitor an application by using Create User Provided Service (CUPS).
Prerequisites
Ensure that you create CUPS for
TIBCO BusinessWorks Container Edition monitoring.
Procedure
In the cloud foundry CLI, execute the command cf cups
<monitoring_app_name> -p"url".
For example: http://comtibcobwcemonitoring.local.pcfdev.io
Note: Ensure that the name of CUPS for monitoring application should be
bwce-monitoring.
After the command is executed, you can see the service running on Pivotal Platform management web UI.
Create the
manifest.yml file in the directory where the application EAR file is exported.
Note: The application name displayed on the monitoring dashboard is provided by the
manifest.yml file.
Add
bwce-monitoring as a service in
manifest.yml.
In the cloud foundry CLI, run the
cf push command to deploy the application on Cloud Foundry. After the application is deployed successfully, you can see the service running on Pivotal Platform management web UI.
Note: After the application is successfully started, the
TIBCO BusinessWorks Container Edition application gets registered with the monitoring application.