- 필수 기능
- 시작하기
- Glossary
- 표준 속성
- Guides
- Agent
- 통합
- 개방형텔레메트리
- 개발자
- API
- Datadog Mobile App
- CoScreen
- Cloudcraft
- 앱 내
- 서비스 관리
- 인프라스트럭처
- 애플리케이션 성능
- APM
- Continuous Profiler
- 스팬 시각화
- 데이터 스트림 모니터링
- 데이터 작업 모니터링
- 디지털 경험
- 소프트웨어 제공
- 보안
- AI Observability
- 로그 관리
- 관리
This page covers best practices for working with the Service Catalog.
The service
tag is the primary key for Service Catalog entries. It’s also the smallest common unit of analysis for Datadog telemetries with Universal Service Tagging. Set the service
tag directly on Kubernetes pod labels. By setting the service
tag within the tags.datadoghq.com/service
label, all pod telemetry, like metrics and logs, receives the service tag in Datadog. This is the recommended Kubernetes service label.
In comparison, setting the label on a Kubernetes service only affects metric tagging, not other telemetry. Applying additional container labels is essential for correctly tagging logs and traces, so this approach isn’t recommended.
For microservices, a service typically coincides with a Kubernetes deployment because its a self-contained unit of functionality with well-defined ownership and other metadata. Therefore, other components in a microservice might be named automatically during the instrumentation process. Add an application field to all the automatically discovered components to group them with the core service.
For monolithic services, defining multiple services might be helpful. At the minimum, you should choose a service to represent the monolith as a whole. Then, associate relevant metadata, like documentation or source code, and relevant telemetry, like pod metrics. It’s sometimes useful to define additional services that represent other functional units within the monolith if they have separate ownership properties like operation runbooks and documentation. In cases where there’s a clearly defined hierarchy between the monolith and other units within it, it’s recommended to use the application field in metadata schema v2.1+. Set the application value as the service name for the monolith itself, and add this application field to all sub-services that belong to the monolith.
추가 유용한 문서, 링크 및 기사: