API integration
O&M Event Center lets you integrate API monitoring data sources. This topic describes how to integrate an API data source.
Introduction
The system generates standard RESTful APIs, supports calls from external data sources, and pushes monitoring metric data to the O&M Event Center.
How to integrate an API
Step 1. Open the integration configuration center
Log on to the O&M Event Center console.
In the navigation pane on the left, choose .
Select Monitoring Data Source, find API, and view the details.
Step 2. Request API authorization
Each API operation is tightly coupled with a service in O&M Event Center. Therefore, you must obtain a separate API key and endpoint URL for each service.
On the integration page, click the Request Authorization button and select the service to integrate. The system automatically generates an API key and creates a data record.
In the list, click the View API button for the service. The API endpoint URL for the service appears. External data sources can use this URL to make calls and push data.
Step 3. Confirm the integration
After the API key is generated, configure API calls on your data source. Then, on the Integration Configuration page of O&M Event Center, click Confirm Integration to save the configuration.
To configure monitoring rules, click Confirm Integration and Configure Monitoring Rules. You are redirected to the Business Monitoring page to add a new metric.
Step 4. Verify the integration
Ensure that the integration configuration is saved and that data reporting is configured on the data source side.
On the Business Monitoring page, add a new metric. Check whether the sample log data reported by the service matches the data that was sent from your data source. If the data matches, the integration is successful.