You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: packages/@aws-cdk/aws-apigateway/README.md
+10-4Lines changed: 10 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1305,13 +1305,19 @@ in your openApi file.
1305
1305
## Metrics
1306
1306
1307
1307
The API Gateway service sends metrics around the performance of Rest APIs to Amazon CloudWatch.
1308
-
These metrics can be referred to using the metric APIs available on the `RestApi` construct.
1309
-
The APIs with the `metric` prefix can be used to get reference to specific metrics for this API. For example,
1310
-
the method below refers to the client side errors metric for this API.
1308
+
These metrics can be referred to using the metric APIs available on the `RestApi`, `Stage` and `Method` constructs.
1309
+
Note that detailed metrics must be enabled for a stage to use the `Method` metrics.
1310
+
Read more about [API Gateway metrics](https://docs.aws.amazon.com/apigateway/latest/developerguide/api-gateway-metrics-and-dimensions.html), including enabling detailed metrics.
1311
+
The APIs with the `metric` prefix can be used to get reference to specific metrics for this API. For example:
0 commit comments