Stage variables are name-value pairs that are defined as configuration attributes. These variables are associated with a deployment stage of a REST API, act like environment variables, and can be used in your API setup and mapping templates.
For example, you can define a stage variable in a stage configuration, and set its value as the URL string of an HTTP integration for a method in your REST API. Later, you can reference the URL string using the associated stage variable name from the API setup.
Use the AWS public cloud integration to discover and collect metrics against the AWS service.
Setting up stage variables for a REST API deployment
To set up the AWS integration and discover the AWS service, go to AWS Integration Discovery Profile and select
API Gateway Stage.
CloudTrail event support
- Not supported
CloudWatch alarm support
- Configurable in OpsRamp AWS Integration Discovery Profile.
|OpsRamp Metric||Metric Display Name||Unit||Aggregation Type|
Number of client-side errors captured.
Number of server-side errors captured.
Number of calls to API methods.
Time between when API Gateway receives a request from a client and when it returns a response to the client.