概要

Amazon RDS Proxy は、Amazon Relational Database Service (RDS) 用のフルマネージドで高可用性のデータベースプロキシで、アプリケーションの拡張性、データベース障害への対応力、安全性を向上させるものです。

このインテグレーションを有効にすると、Datadog にすべての RDS Proxy メトリクスを表示できます。

計画と使用

インフラストラクチャーリスト

まだの方は、Amazon Web Services とのインテグレーションを最初に設定してください。 また、Amazon RDS とのインテグレーションの有効化も必要です。

メトリクスの収集

  1. AWS インテグレーションページで、Metric Collection タブの下にある RDS Proxy が有効になっていることを確認します。
  2. Datadog - Amazon RDS Proxy インテグレーションをインストールします。

収集データ

ログの有効化

RDS Proxy を作成する際に、詳細設定でロギングを有効にすることができます。RDS Proxy を始めるの手順に従って、RDS Proxy のログを Cloudwatch に送信するようにします。

ログを Datadog に送信する方法

  1. Datadog ログコレクション AWS Lambda 関数をまだセットアップしていない場合は、セットアップします。
  2. Lambda 関数をインストールしたら、RDS Proxy ログを含む CloudWatch ロググループにトリガーを手動で追加します。対応する CloudWatch ロググループを選択し、フィルター名 (オプション) を追加して、トリガーを追加します。

完了したら、Datadog ログエクスプローラーでログを解析します。

リアルユーザーモニタリング

データセキュリティ

aws.rds.proxy.availability_percentage
(gauge)
The percentage of time for which the target group was available in its role.
Shown as percent
aws.rds.proxy.client_connections
(gauge)
The current number of client connections.
Shown as connection
aws.rds.proxy.client_connections_closed
(gauge)
The number of client connections closed.
Shown as connection
aws.rds.proxy.client_connections_no_tls
(gauge)
The current number of client connections without Transport Layer Security (TLS).
Shown as connection
aws.rds.proxy.client_connections_received
(gauge)
The number of client connection requests received.
Shown as connection
aws.rds.proxy.client_connections_setup_failed_auth
(gauge)
The number of client connection attempts that failed.
Shown as connection
aws.rds.proxy.client_connections_setup_succeeded
(gauge)
The number of client connections successfully established.
Shown as connection
aws.rds.proxy.client_connections_tls
(gauge)
The current cumber of client connections with TLS.
Shown as connection
aws.rds.proxy.database_connection_requests
(gauge)
The number of requests to create a DB connection.
Shown as request
aws.rds.proxy.database_connection_requests_with_tls
(gauge)
The number of requests to create a DB connection with TLS.
Shown as request
aws.rds.proxy.database_connections
(gauge)
The current number of database connections.
Shown as connection
aws.rds.proxy.database_connections_borrow_latency
(gauge)
The time in microseconds that it takes for the proxy to get a DB connection.
Shown as microsecond
aws.rds.proxy.database_connections_currently_borrowed
(gauge)
The current number of database connections in the borrow state.
Shown as connection
aws.rds.proxy.database_connections_currently_in_transaction
(gauge)
The current number of database connections in a transaction.
Shown as connection
aws.rds.proxy.database_connections_currently_session_pinned
(gauge)
The current number of database connections currently pinned.
Shown as connection
aws.rds.proxy.database_connections_setup_failed
(gauge)
The number of database connection requests that failed.
Shown as connection
aws.rds.proxy.database_connections_setup_succeeded
(gauge)
The number of database connections successfully established.
Shown as connection
aws.rds.proxy.database_connections_with_tls
(gauge)
The current number of database connections with TLS.
Shown as connection
aws.rds.proxy.max_database_connections_allowed
(gauge)
The maximum number of database connections allowed.
Shown as connection
aws.rds.proxy.query_database_response_latency
(gauge)
The time in microseconds that the database took to respond to the query.
Shown as microsecond
aws.rds.proxy.query_requests
(gauge)
The number of queries received (a query including multiple statements is counted as one query).
Shown as request
aws.rds.proxy.query_requests_no_tls
(gauge)
The number of queries received from non-TLS connections.
Shown as request
aws.rds.proxy.query_requests_tls
(gauge)
The number of queries received from TLS connections.
Shown as request
aws.rds.proxy.query_response_latency
(gauge)
The time in microseconds between getting a query request and the proxy responding to it.
Shown as microsecond

ヘルプ

Amazon RDS Proxy インテグレーションには、イベントは含まれません。

ヘルプ

Amazon RDS Proxy インテグレーションには、サービスのチェック機能は含まれません。

ヘルプ

ご不明な点は、Datadog のサポートチームまでお問い合わせください。