Amazon QLDB monitoring
Dynatrace ingests metrics for multiple preselected namespaces, including Amazon QLDB. You can view graphs per service instance, with a set of dimensions, and create custom graphs that you can pin to your dashboards.
Prerequisites
To enable monitoring for this service, you need
- ActiveGate version 1.197+, as follows:
- For Dynatrace SaaS deployments, you need an Environment ActiveGate or a Multi-environment ActiveGate.
- For Dynatrace Managed deployments, you can use any kind of ActiveGate.
Note: For role-based access (whether in a SaaS or Managed deployment), you need an Environment ActiveGate installed on an Amazon EC2 host.
- Dynatrace version 1.199+
- An updated AWS monitoring policy to include the additional AWS services.
To update the AWS IAM policy, use the JSON below, containing the monitoring policy (permissions) for all supporting services.
If you don't want to add permissions to all services, and just select permissions for certain services, consult the table below. The table contains a set of permissions that are required for all services (All monitored Amazon services) and, for each supporting service, a list of optional permissions specific to that service.
Example of JSON policy for one single service.
In this example, from the complete list of permissions you need to select
"apigateway:GET"
for Amazon API Gateway"cloudwatch:GetMetricData"
,"cloudwatch:GetMetricStatistics"
,"cloudwatch:ListMetrics"
,"sts:GetCallerIdentity"
,"tag:GetResources"
,"tag:GetTagKeys"
, and"ec2:DescribeAvailabilityZones"
for All monitored Amazon services.
View service metrics
You can view the service metrics in your Dynatrace environment either on the custom device overview page or on your Dashboards page.
View metrics on the custom device overview page
To access the custom device overview page
- In the Dynatrace menu, go to Technologies and processes.
- Filter by service name and select the relevant custom device group.
- Once you select the custom device group, you're on the custom device group overview page.
- The custom device group overview page lists all instances (custom devices) belonging to the group. Select an instance to view the custom device overview page.
View service metrics
You can view the service metrics in your Dynatrace environment either on the custom device overview page or on your Dashboards page.
View metrics on the custom device overview page
To access the custom device overview page
- In the Dynatrace menu, go to Technologies and processes.
- Filter by service name and select the relevant custom device group.
- Once you select the custom device group, you're on the custom device group overview page.
- The custom device group overview page lists all instances (custom devices) belonging to the group. Select an instance to view the custom device overview page.
Amazon QLDB service shows on the custom device group page. The service is made up of instances (custom devices) called ledgers. You can view metrics for each custom device in the Further details section of the custom device overview page, split by Streams and Command types.
View metrics on your dashboard
After you add the service to monitoring, a preset dashboard containing all recommended metrics is automatically listed on your Dashboards page. To look for specific dashboards, filter by Preset and then by Name.
Note: For existing monitored services, you might need to resave your credentials for the preset dashboard to appear on the Dashboards page. To resave your credentials, go to Settings > Cloud and virtualization > AWS, select the desired AWS instance, and then select Save.
You can't make changes on a preset dashboard directly, but you can clone and edit it. To clone a dashboard, open the browse menu (…) and select Clone.
To remove a dashboard from the dashboards page, you can hide it. To hide a dashboard, open the browse menu (…) and select Hide.
Note: Hiding a dashboard doesn't affect other users.
To check the availability of preset dashboards for each AWS service, see the list below.
Available metrics
Name | Description | Unit | Statistics | Dimensions | Recommended |
---|---|---|---|---|---|
CommandLatency | The amount of time taken for data operations, reported in one-minute intervals | Milliseconds | Multi | LedgerName, CommandType | ✔️ |
IndexedStorage | The total amount of disk space used by the ledger's tables, indexes, and indexed history, reported in 15-minute intervals | Bytes | Multi | LedgerName | ✔️ |
IsImpaired | The flag that indicates if a journal stream to Kinesis Data Streams is impaired, reported in one-minute intervals | Count | Maximum | LedgerName, StreamId | ✔️ |
JournalStorage | The total amount of disk space used by the ledger's journal, reported in 15-minute intervals | Bytes | Multi | LedgerName | ✔️ |
OccConflictExceptions | The number of requests to QLDB that generate an OccConflictException | Count | Sum | LedgerName | ✔️ |
ReadIOs | The number of disk read I/O operations, reported in one-minute intervals | Count | Sum | LedgerName | ✔️ |
ReadIOs | Count | Multi | LedgerName | ✔️ | |
SessionRateExceededExceptions | The number of requests to QLDB that generate a SessionRateExceededException | Count | Sum | LedgerName | ✔️ |
Session4xxExceptions | The number of requests to QLDB that generate an HTTP 4xx error | Count | Sum | LedgerName | ✔️ |
Session5xxExceptions | The number of requests to QLDB that generate an HTTP 5xx error | Count | Sum | LedgerName | ✔️ |
WriteIOs | The number of disk write I/O operations, reported in one-minute intervals | Count | Sum | LedgerName | ✔️ |
WriteIOs | Count | Multi | LedgerName | ✔️ |