Skip to content

Commit f50224c

Browse files
authored
Javav2: Monitor DDB performance (#6441)
* Add an example to monitor DDB performance
1 parent 649274f commit f50224c

16 files changed

+1087
-3
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "file://zonbook/docbookx.dtd"[
3+
<!ENTITY % phrases-shared SYSTEM "file://AWSShared/common/phrases-shared.ent">
4+
%phrases-shared;
5+
]>
6+
<block>
7+
<para>
8+
This example shows how to configure a Java application to monitor the performance of &DDB;. The
9+
application sends metric data to &CW; where you can monitor the performance.
10+
</para>
11+
<para>
12+
For complete source code and instructions on how to set up and run, see the full example on
13+
<ulink url="https://github.com/awsdocs/aws-doc-sdk-examples/tree/main/javav2/usecases/monitor_dynamodb">GitHub</ulink>.
14+
</para>
15+
</block>

.doc_gen/metadata/cross_metadata.yaml

+13
Original file line numberDiff line numberDiff line change
@@ -931,3 +931,16 @@ cross_CognitoCustomActivityLog:
931931
services:
932932
cognito-identity-provider: {UpdateUserPool, InitiateAuth, DeleteUser, AdminCreateUser, AdminSetUserPassword}
933933
lambda: {}
934+
cross_MonitorDynamoDB:
935+
title: Monitor performance of &DDBlong; using an &AWS; SDK
936+
title_abbrev: Monitor &DDB; performance
937+
synopsis: configure an application's use of &DDB; to monitor performance.
938+
languages:
939+
Java:
940+
versions:
941+
- sdk_version: 2
942+
block_content: cross_MonitorDynamoDB_Java_block.xml
943+
service_main: dynamodb
944+
services:
945+
dynamodb:
946+
cloudwatch:

javav2/README.md

+7-3
Original file line numberDiff line numberDiff line change
@@ -22,17 +22,17 @@ The **javav2** folder in this repository contains examples of complete use cases
2222

2323
### Use cases
2424

25-
In the **use_cases** folder, find step-by-step development tutorials that use multiple AWS services. By following these tutorials, you will gain a deeper understanding of how to create Java-based applications that use the AWS SDK for Java. Most of these AWS SDK for Java tutorials use the Synchronous Java client.
25+
In the **use_cases** folder, find step-by-step development tutorials that use multiple AWS services. By following these tutorials, you will gain a deeper understanding of how to create Java-based applications that use the AWS SDK for Java. Most of these AWS SDK for Java tutorials use synchronous Java clients.
2626

27-
If you are interested in using Asynchronous Java service clients, see one of these tutorials:
27+
If you are interested in using asynchronous Java service clients, see one of these tutorials:
2828

2929
- [Creating a Feedback Sentiment Analyzer application using the SDK for Java](https://github.com/awsdocs/aws-doc-sdk-examples/tree/main/javav2/usecases/creating_fsa_app) - Discusses how to develop a Feedback Sentiment Analyzer application using Machine Learning AWS services. The application solves a fictitious use case of a hotel that receives guest feedback on comment cards in a variety of languages. The application is developed by using the AWS SDK for Java (v2) and asynchronous Java clients.
3030

3131
- [Creating a dynamic web application that asynchronously analyzes photos using the AWS SDK for Java](https://github.com/awsdocs/aws-doc-sdk-examples/tree/main/javav2/usecases/creating_photo_analyzer_async) - Discusses using the AWS SDK for Java (asynchronous client) and various AWS services, such as the Amazon Rekognition service, to analyze images. This web MVC application can analyze many images and generate a report that breaks down each image into a series of labels.
3232

3333
- [Creating an asynchronous publish/subscription web application that translates messages using the AWS SDK for Java](https://github.com/awsdocs/aws-doc-sdk-examples/tree/main/javav2/usecases/creating_sns_async) - Discusses how to create a web MVC application that has subscription and publish functionality. In this tutorial, the Spring Framework is used with the AWS SDK for Java asynchronous client for Amazon Simple Notification Service (Amazon SNS).
3434

35-
The following tutorials use the synchronous Java client to build sample relational & and non-relational database applications:
35+
The following tutorials use the synchronous Java client to build sample relational and non-relational database applications:
3636

3737
- [Creating your first AWS Java web application](https://github.com/awsdocs/aws-doc-sdk-examples/tree/main/javav2/usecases/creating_first_project) - Discusses using Amazon DynamoDB, Amazon Simple Notification Service (Amazon SNS), and AWS Elastic Beanstalk to create a web application.
3838

@@ -80,6 +80,10 @@ The following tutorials are AWS Lambda use cases:
8080

8181
- [Creating Lambda functions that tags digital assets located in Amazon S3 buckets](https://github.com/awsdocs/aws-doc-sdk-examples/tree/main/javav2/usecases/creating_lambda_tag_assets) - Discusses how to create a Lambda function that automatically tags digital assets located in an Amazon Simple Storage Service (Amazon S3) bucket.
8282

83+
If you want to learn how to monitor the performance of an Amazon DynamoDB application in
84+
Amazon CloudWatch, see
85+
- [Monitor performance of a DynamoDB application](https://github.com/awsdocs/aws-doc-sdk-examples/tree/main/javav2/usecases/monitor_dynamodb)
86+
8387
### AWS service examples
8488

8589
The AWS service-specific Java examples are located in the **example_code** folder. The examples are divided into directories by AWS service (**s3**, **sqs**, and so on). Within each, you'll find a **pom.xml** file used for building the examples with Maven.

0 commit comments

Comments
 (0)