feat: add DynamoDB metrics monitoring script for load tests #70
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
概要
MESH v2負荷テストのDynamoDBパフォーマンス監視機能を追加しました。負荷テスト実行時のスロットリング検出とキャパシティ消費量の確認が簡単にできるようになります。
追加機能
1.
check-dynamodb-metrics.shスクリプトDynamoDBのメトリクスを自動的にチェックするシェルスクリプトです。
主な機能:
2. README.md更新
新しいセクション「DynamoDB Performance Monitoring」を追加:
使用例
出力例
技術詳細
CloudWatch メトリクス
以下のDynamoDB CloudWatchメトリクスを取得します:
ThrottledRequests: スロットリング発生回数(0であることが理想)ConsumedReadCapacityUnits: 読み込みに使用されたキャパシティユニットConsumedWriteCapacityUnits: 書き込みに使用されたキャパシティユニットSystemErrors: DynamoDB側のシステムエラーUserErrors: アプリケーション側のエラー日付処理の互換性
macOSとLinuxの両方で動作するよう、
dateコマンドの違いに対応:テスト
動作確認
関連Issue
チェックリスト
🤖 Generated with Claude Code
Co-Authored-By: Claude Sonnet 4.5 noreply@anthropic.com