Posted On: Nov 16, 2023

AWS AppSync is a fully managed service that enables developers to build digital experiences based on real-time data. With AppSync, you can configure data sources to push and publish real-time data updates to subscribed clients. AppSync handles connection management, scalability, fan-out and broadcasting, allowing you to focus on your application business needs instead of managing complex infrastructure.

AppSync now supports additional Amazon CloudWatch metrics for basic monitoring that provide insight into the usage and performance of your GraphQL real-time API. The following metrics are now available:

  • InboundMessageSuccess: the number of inbound messages (subscription invocations) that were successfully processed for a GraphQL mutation. 
  • InboundMessageError: the number of inbound messages (subscription invocations) that failed to process due to API-specific failures for a GraphQL mutation. 
  • InboundMessageFailure: the number of inbound messages (subscription invocations) that failed to process due to errors originating from AWS AppSync for a GraphQL mutation.
  • OutboundMessages: the number of messages sent to connected clients over WebSocket (message payload counted in 5kb increments).
  • ConnectRequests: the number of WebSocket connection requests made to AWS AppSync.
  • InvalidationRequestSuccess: the number of invalidation requests that were successfully processed.
  • InvalidationRequestError: the number of invalidation requests that failed to process due to API-specific failures.
  • InvalidationRequestFailure: the number of invalidation requests that failed to process due to errors originating from AWS AppSync.
  • InvalidationRequestDropped: the number of dropped invalidation requests.

This feature is available in all AWS Regions where AppSync is available. For more details on how to get started, refer to the AppSync documentation.