AWS AppSync

Dynatrace ingests metrics for multiple preselected namespaces, including AWS AppSync. You can view metrics for each service instance, split metrics into multiple dimensions, and create custom charts that you can pin to your dashboards.

Prerequisites

To enable monitoring for this service, you need

Add the service to monitoring

In order to view the service metrics, you must add the service to monitoring in your Dynatrace environment.

Configure service metrics

Once you add a service, Dynatrace starts automatically collecting a suite of metrics for this particular service. These are recommended metrics.

Recommended metrics:

  • Are enabled by default
  • Can't be disabled
  • Can have recommended dimensions (enabled by default, can't be disabled)
  • Can have optional dimensions (disabled by default, can be enabled)

Apart from the recommended metrics, most services have the possibility of enabling optional metrics.

Optional metrics:

  • Can be added and configured manually

Import preset dashboards

Dynatrace provides preset AWS dashboards that you can import from GitHub to your environment's dashboard page. Once you download a preset dashboard locally, there are two ways to import it.

appsync

Available metrics

Name Description Unit Statistics Dimensions Recommended
ActiveConnections The number of concurrent WebSocket connections from clients to AWS AppSync in 1 minute Count Sum GraphQLAPIId ✔️
ActiveSubscriptions The number of concurrent subscriptions from clients in 1 minute Count Sum GraphQLAPIId ✔️
ConnectClientError The number of WebSocket connections that were rejected by AWS AppSync because of client-side errors Count Sum GraphQLAPIId ✔️
ConnectServerError The number of errors that originated from AWS AppSync while processing connections Count Sum GraphQLAPIId ✔️
ConnectSuccess The number of successful WebSocket connections to AWS AppSync Count Sum GraphQLAPIId ✔️
ConnectionDuration The amount of time that the connection stays open Milliseconds Multi GraphQLAPIId ✔️
DisconnectClientError The number of errors that originated from AWS AppSync when disconnecting WebSocket connections due to client-side errors Count Sum GraphQLAPIId ✔️
DisconnectServerError The number of errors that originated from AWS AppSync when disconnecting WebSocket connections while processing connections Count Sum GraphQLAPIId ✔️
DisconnectSuccess The number of successful WebSocket disconnections from AWS AppSync Count Sum GraphQLAPIId ✔️
Latency The time between when AWS AppSync receives a request from a client and when it returns a response to the client Milliseconds Multi GraphQLAPIId ✔️
PublishDataMessageClientError The number of subscription event messages that failed to publish because of client-side errors Count Sum GraphQLAPIId ✔️
PublishDataMessageServerError The number of errors that originated from AWS AppSync while publishing subscription event messages Count Sum GraphQLAPIId ✔️
PublishDataMessageSize The size of subscription event messages published Bytes Multi GraphQLAPIId ✔️
PublishDataMessageSize Bytes Sum GraphQLAPIId ✔️
PublishDataMessageSuccess The number of subscription event messages that were successfully published Count Sum GraphQLAPIId ✔️
SubscribeServerError The number of errors that originated from AWS AppSync while processing subscriptions Count Sum GraphQLAPIId ✔️
SubscribeSuccess The number of subscriptions that were successfully registered to AWS AppSync through WebSocket Count Sum GraphQLAPIId ✔️
UnsubscribeClientError The number of unsubscriptions that were rejected by AWS AppSync because of client-side errors Count Sum GraphQLAPIId ✔️
UnsubscribeServerError The number of errors that originated from AWS AppSync while processing unsubscriptions Count Sum GraphQLAPIId ✔️
UnsubscribeSuccess The number of unsubscriptions that were successfully processed from AWS AppSync Count Sum GraphQLAPIId ✔️
4XXError The number of client-side errors captured in a given period Count Sum GraphQLAPIId ✔️
5XXError The number of server-side errors captured in a given period Count Sum GraphQLAPIId ✔️

Limitations

While Dynatrace doesn't support WebSocket traffic, the AppSync integration shows the WebSocket URL as part of the properties for the custom devices that are created.