Attaching a monitoring profile by using the administration REST API
You can use the IBM® App Connect Enterprise administration REST API to attach a monitoring profile to an application and the message flows that are packaged with it. You can also attach a monitoring profile to an individual message flow that is deployed in an application or static library.
Before you begin
- Monitoring basics
- Managing resources by using the administration REST API
- Monitoring by using the administration REST API
Follow the instructions in Creating a monitoring profile to learn how to create a monitoring profile.
After you have created the monitoring profile, save it in a policy project and deploy the policy project in either an independent BAR file or in the same BAR file as an associated application or message flow. Attach the monitoring profile to an application or message flow. You can then activate monitoring by using the administration REST API as described in Activating monitoring by using the administration REST API.
About this task
- An application:
MonitoringApp
- Message flows packaged with the application:
MonitoringAppFlow1
andMonitoringAppFlow2
- A library associated with the application:
Monitoring Lib
- A message flow in the library:
MonitoringLibFlow
- A policy project:
MonitoringPolicyProject
- A monitoring profile in the policy project:
MyMonitoringProfile
