Introduction
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 then 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.
Note
Use the OpsRamp AWS public cloud integration to discover and collect metrics against the AWS service.Setup
To set up the OpsRamp AWS integration and discover the AWS service,
go to AWS Integration Discovery Profile and select API Gateway Stage
.
Metrics
OpsRamp Metric | Metric Display Name | Unit | Aggregation Type | Description |
---|---|---|---|---|
aws_apigateway_4XXError | 4XXError | Count | AVERAGE | Number of client-side errors captured. |
aws_apigateway_5XXError | 5XXError | Count | AVERAGE | Number of server-side errors captured. |
aws_apigateway_Count | Count | Count | AVERAGE | Number of calls to API methods. |
aws_apigateway_Latency | Latency | Millisecond | AVERAGE | Time between when API Gateway receives a request from a client and when it returns a response to the client. |
Event support
CloudTrail event support
- Not Supported
CloudWatch alarm support
- Supported
- Configurable in OpsRamp AWS Integration Discovery Profile.