- 필수 기능
- 시작하기
- Glossary
- 표준 속성
- Guides
- Agent
- 통합
- 개방형텔레메트리
- 개발자
- Administrator's Guide
- API
- Datadog Mobile App
- CoScreen
- Cloudcraft
- 앱 내
- 서비스 관리
- 인프라스트럭처
- 애플리케이션 성능
- APM
- Continuous Profiler
- 스팬 시각화
- 데이터 스트림 모니터링
- 데이터 작업 모니터링
- 디지털 경험
- 소프트웨어 제공
- 보안
- AI Observability
- 로그 관리
- 관리
If you’re new to Datadog, you can automatically populate Software Catalog by setting up Datadog Application Performance Monitoring (APM), Universal Service Monitoring (USM), Real User Monitoring (RUM), infrastructure metrics, or logs.
Alternatively, you can add components to Software Catalog by:
By default, these services are not associated with Datadog telemetry, but you can link telemetry data from Datadog or external sources manually using entity definition YAML files.
Create service definitions for each component you want to add to your Software Catalog.
To create a service definition using the Datadog Service Definition API, Terraform, or GitHub integration:
Create or find service.datadog.yaml
or entity.datadog.yaml
(Datadog accepts both file names).
Name your component in the dd-service
(schema version v2.2 or prior) or name
(schema version v3.0+) field.
For example:
service.datadog.yaml
schema-version: v2.2
dd-service: my-unmonitored-cron-job
team: e-commerce
lifecycle: production
application: shopping-app
description: important cron job for shopist backend
tier: "2"
type: web
contacts:
- type: slack
contact: https://datadogincidents.slack.com/archives/XXXXX
links:
- name: Common Operations
type: runbook
url: https://datadoghq.atlassian.net/wiki/
- name: Disabling Deployments
type: runbook
url: https://datadoghq.atlassian.net/wiki/
tags: []
integrations:
pagerduty:
service-url: https://datadog.pagerduty.com/service-directory/XXXXXXX
External Resources (Optional)
(Optional) Register multiple services in one YAML file by separating each definition with three dashes (---
).
Import your service(s) through one of the following:
Alternatively, create service definitions in the Datadog UI:
A mistake in a service definition file could cause you to create a service with invalid data or introduce an error into the metadata of an existing service.
To prevent this, validate your service definition files in one of the following ways:
If you create service definitions in the Datadog UI, Datadog automatically flags invalid data.
Built-in validation mechanisms prevent you from sending incorrect metadata into Software Catalog.
To validate your service definitions ingested by Datadog’s GitHub integration, you can view events when services are updated or when there is an error. To view validation errors in Event Management, filter by source:software_catalog
and status:error
. Adjust the timeframe as needed.
If you already have data or services registered in Backstage, you can import these services into Datadog directly.
To import Backstage definitions:
catalog-info.yaml
located at the root folder of the repository.During import, Datadog maps Backstage data to Datadog data:
Backstage Field | Datadog Mapping |
---|---|
kind:component and kind:system | Datadog recognizes these; kind:component is recognized as a service |
metadata.name | dd-service |
metadata.namespace | Custom tag with format namespace:${metadata.namespace} |
spec.lifecycle | lifecycle |
spec.owner | team |
metadata.links | links |
Annotation github.com/project-slug | Link with type=repo and url=https://www.github.com/${github.com/project-slug} |
Annotations pagerduty.com/service-id and pagerduty.com/account | Combined and mapped to integration.pagerduty |
metadata.description | description |
spec.system | application |
spec.dependsOn | dependsOn |
Other spec values | Mapped to custom tags |
kind:component
or kind:system
, the entire catalog-info.yaml
file is rejected. Schema version v3.0 is required to use kind:system and the dependsOn
field.catalog-info.yaml
apiVersion: backstage.io/v1alpha1
kind: Component
metadata:
name: artist-web
description: The place to be, for great artists
spec:
type: service
lifecycle: production
owner: artist-relations-team
system: artist-engagement-portal
dependsOn:
- service:email-service
To populate your Datadog Software Catalog with services from your ServiceNow Configuration Management Database (CMDB), use the Service Ingestion feature in the Datadog-ServiceNow integration.
추가 유용한 문서, 링크 및 기사: