Amazon RDS Proxy

개요

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 Log Explorer로 이동해 로그를 분석합니다.

수집한 데이터

메트릭

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 지원팀에 문의하세요.