- 필수 기능
- 시작하기
- Glossary
- 표준 속성
- Guides
- Agent
- 통합
- 개방형텔레메트리
- 개발자
- Administrator's Guide
- API
- Datadog Mobile App
- CoScreen
- Cloudcraft
- 앱 내
- 서비스 관리
- 인프라스트럭처
- 애플리케이션 성능
- APM
- Continuous Profiler
- 스팬 시각화
- 데이터 스트림 모니터링
- 데이터 작업 모니터링
- 디지털 경험
- 소프트웨어 제공
- 보안
- AI Observability
- 로그 관리
- 관리
",t};e.buildCustomizationMenuUi=t;function n(e){let t='
",t}function s(e){let n=e.filter.currentValue||e.filter.defaultValue,t='${e.filter.label}
`,e.filter.options.forEach(s=>{let o=s.id===n;t+=``}),t+="${e.filter.label}
`,t+=`Each database instance that Datadog monitors has a unique identifier. For Postgres, MySQL, SQL Server, and Oracle, use the database_identifier.template
path in the integration configuration to define instance identifiers.
The default value for database_identifier.template
is $resolved_hostname
, which uses the resolved hostname of the database host as the identifier.
Note: The resolved hostname is usually the same as the specified connection host
. In other cases, for example, if host
is set tolocalhost
, $resolved_hostname
resolves to the actual hostname.
Most users do not need to change the default value. Changing the value of template
is primarily useful when multiple database instances are hosted on one machine.
Each distinct instance identifier is billed as a host for Database Monitoring.
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 to maintain the association between the Database Monitoring database instance and any available metrics for the database host.
Multiple Postgres instances on one host, each on a different port:
database_identifier:
template: $resolved_hostname:$port
SQL Server host with multiple instances:
database_identifier:
template: $resolved_hostname/$instance_name
Azure pool with each database monitored separately (requires 7.68+):
database_identifier:
template: $azure_name/$database
A MySQL host called mydatabase.com.local
running in multiple environments, where each is tagged with env
, would use the following configuration to create database instances named prod-mydatabase.com.local
and staging-mydatabase.com.local
:
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