The API Gateway service enables you to publish APIs with private endpoints that are accessible from within your network, and which you can expose with public IP addresses if you want them to accept internet traffic. The endpoints support API validation, request and response transformation, CORS, authentication and authorization, and request limiting.
Using the API Gateway service, you create one or more API gateways in a regional subnet to process traffic from API clients and route it to back-end services. You can use a single API gateway to link multiple back-end services (such as load balancers, compute instances, and OCI Functions) into a single consolidated API endpoint.
Use the Oracle Cloud integration to discover and collect metrics against the OCI API Gateways
.
Setup
To set up the Oracle Cloud integration and discover the OCI API Gateways
service, do the following:
Create a Oracle Cloud (OCI) integration if not available in your installed integrations.
You can select
OCI API Gateways
during integration or you can edit the existing integration and selectOCI API Gateways
.Scan to discover the resources at any time independent of the predefined schedule.
Once the scan is completed, you can view the OCI API Gateways resource under Infrastructure > Resources > Oracle Cloud category.
Create a template. See Create a Template for more information on how to create a template.
Refer to Assign a Template on how to assign a template to a resource.
Click the Metrics tab to view the monitoring data of OCI API Gateways as shown below:
Supported metrics
OpsRamp Metric | Oracle Cloud Metric | Metric Display Name | Unit | Description | Aggregation Type |
---|---|---|---|---|---|
oci_apigateway_BackendHttpResponses | BackendHttpResponses | Backend Responses | count | Count of the HTTP responses returned by the back-end services. | sum |
oci_apigateway_BytesReceived | BytesReceived | Bytes Received | bytes | Number of bytes received by the API gateway from API clients. | sum |
oci_apigateway_BytesSent | BytesSent | Bytes Sent | bytes | Number of bytes sent by the API gateway to API clients. | sum |
oci_apigateway_HttpRequests | HttpRequests | API Requests | count | Number of incoming API client requests to the API gateway. | sum |
oci_apigateway_HttpResponses | HttpResponses | API Responses | count | Number of http responses that the API gateway has sent back. | sum |
oci_apigateway_IntegrationLatency | IntegrationLatency | Backend Latency | seconds | Time between the API gateway sending a request to the back-end service and receiving a response from the back-end service. | mean |
oci_apigateway_InternalLatency | InternalLatency | Internal Latency | seconds | Time spent internally in the API gateway to process the request. | mean |
oci_apigateway_Latency | Latency | Gateway Latency | seconds | Time taken by a request to be processed and the response to be sent. This is calculated from the time the API gateway receives the first byte of an HTTP request to the time when the response send operation is completed. | mean |
oci_apigateway_ResponseCacheAvailability | ResponseCacheAvailability | Response Cache Availability | count | Availability of the response cache as seen by the API gateway. | sum |