Amazon Athena

Dynatrace ingests metrics for multiple preselected namespaces, including Amazon Athena. 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.

athena

Available metrics

Name Description Unit Statistics Dimensions Recommended
EngineExecutionTime The number of milliseconds that the query took to run Milliseconds Multi Region, QueryState, QueryType
EngineExecutionTime Milliseconds Multi WorkGroup, QueryState, QueryType ✔️
ProcessedBytes The amount of data in megabytes that Athena scanned per DML query. For queries that were canceled (either by the users, or automatically, if they reached the limit), this includes the amount of data scanned before the cancellation time. Bytes Multi WorkGroup, QueryState, QueryType ✔️
ProcessedBytes Bytes Sum WorkGroup, QueryState, QueryType ✔️
ProcessedBytes Count Count WorkGroup, QueryState, QueryType ✔️
ProcessedBytes Bytes Multi Region, QueryState, QueryType
ProcessedBytes Bytes Sum Region, QueryState, QueryType
ProcessedBytes Count Count Region, QueryState, QueryType
QueryPlanningTime The number of milliseconds that Athena took to plan the query processing flow. This includes the time spent retrieving table partitions from the data source. Milliseconds Multi WorkGroup, QueryState, QueryType ✔️
QueryPlanningTime Milliseconds Multi Region, QueryState, QueryType
QueryQueueTime The number of milliseconds that the query was in the query queue waiting for resources Milliseconds Multi WorkGroup, QueryState, QueryType ✔️
QueryQueueTime Milliseconds Multi Region, QueryState, QueryType
ServiceProcessingTime Number of milliseconds that Athena took to process the query results after the query engine finished running the query Milliseconds Multi Region, QueryState, QueryType
ServiceProcessingTime Milliseconds Multi WorkGroup, QueryState, QueryType ✔️
TotalExecutionTime The number of milliseconds that Athena took to run a DDL or DML query. TotalExecutionTime includes QueryQueueTime, QueryPlanningTime, EngineExecutionTime, and ServiceProcessingTime. Milliseconds Multi Region, QueryState, QueryType
TotalExecutionTime Milliseconds Multi WorkGroup, QueryState, QueryType ✔️

Limitations

The default or primary workgroup for Amazon Athena doesn't support gathering metrics. You need to select or create a workgroup.