Cette page n'est pas encore disponible en français, sa traduction est en cours.
Si vous avez des questions ou des retours sur notre projet de traduction actuel, n'hésitez pas à nous contacter.

Datadog’s Service Catalog offers powerful dependency mapping capabilities to help teams document, track, and assess upstream and downstream relationships. These features support both automatic discovery and manual definition so you can flexibly and accurately define your system architecture.

Automatic dependency mapping and entity discovery

  • Automatic discovery: By default, Service Catalog includes all discovered services from APM, USM, and RUM. When you instrument additional applications across your environments, their dependencies are automatically added to the Catalog.

  • Telemetry integration: Service Catalog auto-detects dependency relationships using application telemetry collected by APM, USM, and RUM, providing teams with real-time insights into service relationships and performance impacts.

The Dependencies tab in the side panel for a service, showing a flow chart of service dependencies.

Manual dependency definition in service catalog schema v3.0

In Service Catalog schema v3.0, teams can manually define relationships to supplement auto-detected topologies. This features is particularly helpful for defining dependencies that reflect institutional knowledge and team collaboration, ensuring a more complete view of system relationships.

A hierarchical relationships diagram showing a service's dependencies.

Configure a manual dependency

To define a manual dependency, update the spec section of the relevant entity definition using the following keys:

  • dependsOn: Specifies dependencies (for example, Service A depends on Service B).
  • ownedBy: Assigns ownership to a team or group (for example, Service A is owned by Team A).
  • partOf: Groups components under a system (for example, Service A is part of System A).

Example YAML configuration:

apiVersion: v3
kind: service
metadata:
  name: web-store
spec:
  dependsOn: 
    - service: cws-webapp

View manual dependencies

To view manual dependencies in the Datadog app:

  1. Navigate to Service Catalog.
  2. Select your service to open the side panel.
  3. Find the Performance tab, then select the Dependencies sub-tab.

You can also open the full Service Page for a particular service and select the Dependencies section in the left-hand navigation.

All dependencies, including manual dependencies, are shown. You can use the “Include Detected” feature to modify your view:

  • When Include Detected is disabled: Only manually defined dependencies are shown.
  • When Include Detected is enabled: Manually added dependencies are shown above auto-detected ones to create a clear distinction.
A diagram showing the dependencies of a service, where 'Include Detected' is disabled.

Benefits of manual dependency definitions

  • Improved accuracy: By defining dependencies manually, teams can incorporate their specific understanding and insights into the Service Catalog, ensuring it accurately represents architectures of real-world systems that automated tools might miss.
  • Enhanced collaboration: Manually defined dependencies support better communication and coordination by making relationships explicit, aiding in incident response efforts and strategic architecture planning.
  • Contextual knowledge: Providing manual definitions helps developers and new team members quickly understand the complexities of system dependencies and architectures, facilitating smoother onboarding and knowledge transfer.

Further reading