Identifying Databases for Database Monitoring

이 페이지는 아직 영어로 제공되지 않습니다. 번역 작업 중입니다.
현재 번역 프로젝트에 대한 질문이나 피드백이 있으신 경우 언제든지 연락주시기 바랍니다.

Database identifier

Each database instance monitored with Datadog has a unique identifier. For Postgres, MySQL, SQL Server and Oracle this identifier can be configured using the database_identifier.template path in the integration configuration. Most users can leave this option as the default; it is primarily useful when multiple database instances are hosted on one machine.

| Note that each instance will be billed as a host for Database Monitoring.

Reported hostname

The reported_hostname configuration allows users to override the automatic resolution of host for a single database instance. This is useful when connecting to a database through a proxy, or when host resolution produces a different name than the one associated with the Datadog infrastructure host.

Examples

Multiple Postgres instances each on different port:

database_identifier:
  template: $resolved_hostname:$port

SQL Server host with multiple instances:

database_identifier:
  template: $resolved_hostname:$instance_name

MySQL instance with the same hostname running in multiple environments:

database_identifier:
  template: $env-$resolved_hostname

Connecting to an Oracle database with multiple CDBs through a proxy:

reported_hostname: my-oracle.mydomain.com
database_identifier:
  template: $resolved_hostname\$cdb_name
PREVIEWING: seth.samuel/DBMON-5258-add-public-documentation-on-database-instance-identifier