Examples
To view and test the integration's mapping against examples of the third-party API responses, use the jq playground in your connectors page. Find the integration in the list of connectors and click on it to open the playground.
Monitor
Monitor blueprint (click to expand)
{
"identifier": "datadogMonitor",
"description": "This blueprint represents a datadog monitor",
"title": "Datadog Monitor",
"icon": "Datadog",
"schema": {
"properties": {
"monitorType": {
"type": "string",
"title": "Monitor Type"
},
"tags": {
"type": "array",
"title": "Tags"
},
"overallState": {
"type": "string",
"title": "Overall state",
"enum": [
"Alert",
"Ignored",
"No Data",
"OK",
"Skipped",
"Unknown",
"Warn"
],
"enumColors": {
"Alert": "red",
"Ignored": "darkGray",
"No Data": "lightGray",
"OK": "green",
"Skipped": "yellow",
"Unknown": "purple",
"Warn": "orange"
}
},
"priority": {
"type": "string",
"title": "Priority"
},
"thresholds": {
"type": "object",
"title": "Thresholds"
},
"createdBy": {
"type": "string",
"title": "Creator"
},
"createdAt": {
"title": "Created At",
"type": "string",
"format": "date-time"
},
"updatedAt": {
"title": "Updated At",
"type": "string",
"format": "date-time"
}
},
"required": []
},
"mirrorProperties": {},
"calculationProperties": {},
"relations": {}
}
Integration configuration (click to expand)
createMissingRelatedEntities: true
deleteDependentEntities: true
resources:
- kind: monitor
selector:
query: "true"
port:
entity:
mappings:
blueprint: '"datadogMonitor"'
identifier: .id | tostring
title: .name
properties:
tags: .tags
monitorType: .type
overallState: .overall_state
thresholds: .thresholds
priority: .priority
createdBy: .creator.email
createdAt: .created
updatedAt: .modified
Restriction policy enrichment
Set includeRestrictionPolicy: "true" in the selector to enrich each resource with its Datadog restriction policy. This adds three custom fields to the raw data:
| Field | Description |
|---|---|
.__restrictionPolicy | The full restriction policy object, including all bindings. |
.__restrictedUsers | Deduplicated list of user IDs that have access to the resource. |
.__restrictedTeams | Deduplicated list of team IDs that have access to the resource. |
Role IDs are already present in the native payload as .restricted_roles without enabling this option.
Enrichment requires one extra API call per resource and is disabled by default.
Service
Service blueprint (click to expand)
{
"identifier": "datadogService",
"description": "This blueprint represents a Datadog service",
"title": "Datadog Service",
"icon": "Datadog",
"schema": {
"properties": {
"application": {
"title": "Application",
"type": "string"
},
"description": {
"title": "Description",
"type": "string"
},
"tags": {
"type": "array",
"items": {
"type": "string"
},
"title": "Tags"
},
"languages": {
"items": {
"type": "string"
},
"title": "Languages",
"type": "array"
},
"type": {
"title": "Type",
"type": "string",
"enum": [
"web",
"db",
"custom",
"cache",
"function",
"browser",
"mobile"
],
"enumColors": {
"web": "lightGray",
"db": "lightGray",
"custom": "lightGray",
"cache": "lightGray",
"function": "lightGray",
"browser": "lightGray",
"mobile": "lightGray"
}
},
"owners": {
"type": "array",
"title": "Service Owners",
"items": {
"type": "string"
}
},
"links": {
"title": "Service Links",
"type": "array",
"description": "Links to external resources and repositories",
"items": {
"type": "string",
"format": "url"
}
}
},
"required": []
},
"mirrorProperties": {},
"calculationProperties": {},
"aggregationProperties": {},
"relations": {}
}
Integration configuration (click to expand)
createMissingRelatedEntities: true
deleteDependentEntities: true
resources:
- kind: service
selector:
query: "true"
port:
entity:
mappings:
blueprint: '"datadogService"'
identifier: .attributes.schema."dd-service"
title: .attributes.schema."dd-service"
properties:
application: .attributes.schema.application
languages: .attributes.schema.languages
description: .attributes.schema.description
tags: .attributes.schema.tags
type: .attributes.schema.type
links: .attributes.schema.links | map(.url)
owners: '[.attributes.schema.contacts[] | select(.type == "email") | .contact]'
Port's Datadog integration syncs Service entities from service definitions in the Datadog Service Catalog API (via the GET /api/v2/services/definitions endpoint).
That is separate from APM services, which Datadog discovers automatically from APM tracing. The Service kind does not fetch them. The catalog entity kind fetches them only when its includeDiscovered selector is enabled.
SLO
SLO blueprint (click to expand)
{
"identifier": "datadogSlo",
"description": "This blueprint represents a datadog SLO",
"title": "Datadog SLO",
"icon": "Datadog",
"schema": {
"properties": {
"tags": {
"type": "array",
"title": "Tags"
},
"sloType": {
"title": "Type",
"type": "string"
},
"description": {
"title": "Description",
"type": "string"
},
"warningThreshold": {
"icon": "DefaultProperty",
"title": "Warning Threshold",
"type": "number"
},
"targetThreshold": {
"icon": "DefaultProperty",
"title": "Target Threshold",
"type": "number"
},
"createdAt": {
"title": "Created At",
"type": "string",
"format": "date-time"
},
"updatedAt": {
"title": "Updated At",
"type": "string",
"format": "date-time"
},
"createdBy": {
"title": "Creator",
"type": "string"
}
},
"required": []
},
"mirrorProperties": {},
"calculationProperties": {},
"aggregationProperties": {
"sli_average": {
"title": "SLI Average",
"type": "number",
"target": "datadogSloHistory",
"calculationSpec": {
"func": "average",
"averageOf": "total",
"property": "sliValue",
"measureTimeBy": "$createdAt",
"calculationBy": "property"
}
}
},
"relations": {
"monitors": {
"title": "SLO Monitors",
"description": "The monitors tracking this SLO",
"target": "datadogMonitor",
"required": false,
"many": true
},
"services": {
"title": "Services",
"description": "The services tracked by this SLO",
"target": "datadogService",
"required": false,
"many": true
}
}
}
Integration configuration (click to expand)
createMissingRelatedEntities: true
deleteDependentEntities: true
resources:
- kind: slo
selector:
query: "true"
port:
entity:
mappings:
identifier: .id | tostring
title: .name
blueprint: '"datadogSlo"'
properties:
tags: .tags
sloType: .type
description: .description
warningThreshold: .warning_threshold
targetThreshold: .target_threshold
createdBy: .creator.email
createdAt: .created_at | todate
updatedAt: .modified_at | todate
relations:
monitors: .monitor_ids | map(tostring)
services: >-
.monitor_tags + .tags | map(select(startswith("service:"))) |
unique | map(split(":")[1])
Based on the best practices for tagging infrastructure, the default mapping connects SLOs to
services using tags that starts with the service keyword.
Restriction policy enrichment
Set includeRestrictionPolicy: "true" in the selector to enrich each resource with its Datadog restriction policy. This adds three custom fields to the raw data:
| Field | Description |
|---|---|
.__restrictionPolicy | The full restriction policy object, including all bindings. |
.__restrictedUsers | Deduplicated list of user IDs that have access to the resource. |
.__restrictedTeams | Deduplicated list of team IDs that have access to the resource. |
Role IDs are already present in the native payload as .restricted_roles without enabling this option.
Enrichment requires one extra API call per resource and is disabled by default.
SLO history
SLO history blueprint (click to expand)
{
"identifier": "datadogSloHistory",
"description": "This blueprint represents a datadog SLO history",
"title": "Datadog SLO History",
"icon": "Datadog",
"schema": {
"properties": {
"monitor_type": {
"icon": "DefaultProperty",
"title": "Type",
"type": "string"
},
"sliValue": {
"icon": "DefaultProperty",
"title": "SLI Value",
"type": "number"
},
"sampling_start_date": {
"icon": "DefaultProperty",
"type": "string",
"title": "Sampling Start Date",
"format": "date-time"
},
"sampling_end_date": {
"icon": "DefaultProperty",
"type": "string",
"title": "Sampling End Date",
"format": "date-time"
}
},
"required": []
},
"mirrorProperties": {
"slo_target": {
"title": "SLO Target",
"path": "slo.targetThreshold"
},
"slo_warning_threshold": {
"title": "SLO Warning Threshold",
"path": "slo.warningThreshold"
}
},
"calculationProperties": {},
"aggregationProperties": {},
"relations": {
"slo": {
"title": "SLO",
"description": "The SLO to which this history belongs to",
"target": "datadogSlo",
"required": false,
"many": false
}
}
}
Integration configuration (click to expand)
The SLO history selector supports two time-related configurations:
timeframe: How many days to look back for each SLO history data point. Must be greater than 0 (default: 7 days)periodOfTimeInMonths: How far back in time to fetch SLO history. Must be between 1-12 months (default: 6 months)
createMissingRelatedEntities: true
deleteDependentEntities: true
resources:
- kind: sloHistory
selector:
query: "true"
timeframe: 7
periodOfTimeInMonths: 6
port:
entity:
mappings:
identifier: .slo.id | tostring
title: .slo.name
blueprint: '"datadogSloHistory"'
properties:
monitory_type: .type
sampling_start_date: .from_ts | todate
sampling_end_date: .to_ts | todate
sliValue: .overall.sli_value
relations:
slo: .slo.id
Service Metric
Service Metric blueprint (click to expand)
{
"identifier": "datadogServiceMetric",
"description": "This blueprint represents a Datadog service metric",
"title": "Datadog Service Metric",
"icon": "Datadog",
"schema": {
"properties": {
"query": {
"type": "string",
"title": "Query",
"description": "The Datadog query used to retrieve this metric"
},
"series": {
"type": "array",
"title": "Series",
"description": "Array containing detailed information about the metric series"
},
"res_type": {
"type": "string",
"title": "Response Type",
"description": "The type of response from the Datadog API"
},
"from_date": {
"type": "string",
"format": "date-time",
"title": "From Date",
"description": "Unix timestamp of the start of the queried time period"
},
"to_date": {
"type": "string",
"format": "date-time",
"title": "To Date",
"description": "Unix timestamp of the end of the queried time period"
},
"env": {
"type": "string",
"title": "Environment",
"description": "The environment of the service"
}
},
"required": []
},
"mirrorProperties": {},
"calculationProperties": {},
"relations": {
"service": {
"title": "Service",
"description": "The service associated with this query",
"target": "datadogService",
"required": false,
"many": false
}
}
}
Integration configuration (click to expand)
The datadogSelector section within each serviceMetric resource demonstrates how to fetch multiple metrics (e.g., system.mem.used,
system.disk.used) from Datadog with a variety of filters. You can control the:
- Metric: Specify the exact metric name (e.g.,
avg:system.mem.used) - Environment: Filter by specific environments (e.g.,
prod, or use*for all) - Service: Filter by specific services in your datadog service catalog (use
*for all) - Timeframe: Define the time range for data retrieval (in minutes)
This configuration allows you to tailor your data fetching to specific needs and scenarios.
Note: The env and service filters let you specify custom tag names in your Datadog account. For example, your service tag could be
servicename, and your environment tag could be envt or environment.
createMissingRelatedEntities: true
deleteDependentEntities: true
resources:
- kind: serviceMetric
selector:
query: "true"
datadogSelector:
metric: "avg:system.mem.used"
env:
tag: env
value: "*"
service:
tag: servicename
value: "*"
timeframe: 10
port:
entity:
mappings:
blueprint: '"datadogServiceMetric"'
identifier: .__query_id
title: .query
properties:
query: .__query
series: .series
res_type: .res_type
from_date: ".from_date / 1000 | todate"
to_date: ".to_date / 1000 | todate"
env: .__env
relations:
service: .__service
- kind: serviceMetric
selector:
query: "true"
datadogSelector:
metric: "avg:system.disk.used"
env:
tag: env
value: "prod"
service:
tag: servicename
value: "*"
timeframe: 5
port:
entity:
mappings:
blueprint: '"datadogServiceMetric"'
identifier: .__query_id
title: .query
properties:
query: .__query
series: .series
res_type: .res_type
from_date: ".from_date / 1000 | todate"
to_date: ".to_date / 1000 | todate"
env: .__env
relations:
service: .__service
Based on the best practices for tagging infrastructure, the default JQ maps service metrics
to services using tags that starts with the service keyword
Users
User blueprint (click to expand)
{
"identifier": "datadogUser",
"description": "This blueprint represents a Datadog user account. Users can be assigned to teams, granted specific permissions, and can interact with various Datadog features based on their access levels.",
"title": "Datadog User",
"icon": "Datadog",
"schema": {
"properties": {
"email": {
"type": "string",
"format": "email",
"title": "Email",
"description": "The email address associated with the user account"
},
"handle": {
"type": "string",
"title": "Handle",
"description": "The unique handle identifier for the user within Datadog"
},
"status": {
"type": "string",
"title": "Status",
"description": "The current status of the user account (e.g., active, pending, disabled)"
},
"disabled": {
"type": "boolean",
"title": "Disabled",
"description": "Indicates whether the user account is currently disabled"
},
"verified": {
"type": "boolean",
"title": "Verified",
"description": "Indicates whether the user's email address has been verified"
},
"createdAt": {
"type": "string",
"format": "date-time",
"title": "Created At",
"description": "The timestamp when the user account was created"
}
},
"required": []
}
}
Integration configuration (click to expand)
deleteDependentEntities: true
createMissingRelatedEntities: true
resources:
- kind: user
selector:
query: "true"
port:
entity:
mappings:
identifier: .id | tostring
title: .attributes.name
blueprint: '"datadogUser"'
properties:
email: .attributes.email
handle: .attributes.handle
status: .attributes.status
disabled: .attributes.disabled
verified: .attributes.verified
createdAt: .attributes.created_at
Role
Role blueprint (click to expand)
{
"identifier": "datadogRole",
"description": "This blueprint represents a Datadog role",
"title": "Datadog Role",
"icon": "Datadog",
"schema": {
"properties": {
"createdAt": {
"type": "string",
"format": "date-time",
"title": "Created At",
"description": "The timestamp when the role was created"
},
"modifiedAt": {
"type": "string",
"format": "date-time",
"title": "Modified At",
"description": "The timestamp when the role was last modified"
},
"custom": {
"type": "boolean",
"title": "Custom role",
"description": "Indicates whether this is a user-defined role. When false, the role is a Datadog built-in role."
},
"userCount": {
"type": "number",
"title": "User Count",
"description": "The total number of users assigned to this role"
}
},
"required": []
}
}
Integration configuration (click to expand)
deleteDependentEntities: true
createMissingRelatedEntities: true
resources:
- kind: role
selector:
query: "true"
port:
entity:
mappings:
identifier: .id | tostring
title: .attributes.name
blueprint: '"datadogRole"'
properties:
createdAt: .attributes.created_at
modifiedAt: .attributes.modified_at
custom: if .attributes.managed == true then false else true end
userCount: .attributes.user_count
Enrich roles with their users
By default, roles are ingested without their associated users. To include them, set includeUsers: true in the selector:
resources:
- kind: role
selector:
query: "true"
includeUsers: true
When enabled, each role's raw data includes an additional field with the list of users assigned to that role:
| Field | Description |
|---|---|
.__users | The list of users that have access to the role. |
This enrichment makes an additional API call for each role, which can slow down the sync. It is disabled by default.
Team
Team blueprint (click to expand)
{
"identifier": "datadogTeam",
"description": "This blueprint represents a Datadog team",
"title": "Datadog Team",
"icon": "Datadog",
"schema": {
"properties": {
"description": {
"type": "string",
"title": "Description",
"description": "A description of the team's purpose and responsibilities"
},
"handle": {
"type": "string",
"title": "Handle",
"description": "The unique handle identifier for the team within Datadog"
},
"userCount": {
"type": "number",
"title": "User Count",
"description": "The total number of users that are members of this team"
},
"summary": {
"type": "string",
"title": "Summary",
"description": "A brief summary of the team's purpose or main responsibilities"
},
"createdAt": {
"type": "string",
"format": "date-time",
"title": "Created At",
"description": "The timestamp when the team was created"
}
},
"required": []
},
"mirrorProperties": {},
"calculationProperties": {},
"aggregationProperties": {},
"relations": {
"members": {
"target": "datadogUser",
"title": "Members",
"description": "Users who are members of this team",
"many": true,
"required": false
}
}
}
Integration configuration (click to expand)
deleteDependentEntities: true
createMissingRelatedEntities: true
resources:
- kind: team
selector:
query: 'true'
includeMembers: 'true'
port:
entity:
mappings:
identifier: .id | tostring
title: .attributes.name
blueprint: '"datadogTeam"'
properties:
description: .attributes.description
handle: .attributes.handle
userCount: .attributes.user_count
summary: .attributes.summary
createdAt: .attributes.created_at
relations:
members: if .__members then [.__members[] | .id] else [] end
Service Dependency
Service Dependency blueprint (click to expand)
{
"identifier": "datadogServiceDependency",
"description": "This blueprint represents a dependency relationship between Datadog services, where one service calls another.",
"title": "Datadog Service Dependency",
"icon": "Datadog",
"schema": {
"properties": {},
"required": []
},
"mirrorProperties": {},
"calculationProperties": {},
"aggregationProperties": {},
"relations": {
"dependencies": {
"title": "Depends on",
"description": "The services called by the source service",
"target": "datadogService",
"required": false,
"many": true
}
}
}
Integration configuration (click to expand)
deleteDependentEntities: true
createMissingRelatedEntities: true
resources:
- kind: serviceDependency
selector:
query: 'true'
environment: 'dev'
startTime: 1
port:
entity:
mappings:
identifier: .name | tostring
title: .name
blueprint: '"datadogServiceDependency"'
properties:
sourceService: .name
relations:
dependencies: '[.calls[] | tostring]'
- Include Environment
- Include Start Time
The environment selector is crucial for accurately mapping service dependencies from Datadog's Service Map.
Datadog's Service Map visualizes how services interact within a specific environment (e.g., prod, staging, dev).
By specifying an environment in the selector, you ensure that only the dependencies relevant to that
particular environment are fetched and mapped, preventing the inclusion of irrelevant or duplicate dependency information
from other environments. By default, this selector is set to prod.
- kind: serviceDependency
selector:
query: 'true'
environment: 'dev'
startTime: 1
The startTime selector is crucial for fetching service dependency data from a specific point in time.
This value represents the number of hours to look back from the current time to fetch dependency data.
By default, this selector is set to 1 hour.
- kind: serviceDependency
selector:
query: 'true'
environment: 'dev'
startTime: 1
Catalog entity
Datadog's Software Catalog stores entities of several kinds: service, datastore, queue, api, system, application, frontend and repository. The catalogEntity kind ingests all of them, together with the relations Datadog declares between them, into a single blueprint that keeps the Datadog kind as a property. Datadog's entity model documents the kinds, the schema versions and the fields each one can declare.
A Datadog service is both a service definition and a catalog entity, so it reaches Port as two separate entities: a datadogService from the service kind, and a datadogCatalogEntity from this one. datadogSlo, datadogServiceMetric and datadogServiceDependency relate to datadogService, while only datadogCatalogEntity carries the relations between catalog entities. To ingest services once, see the kind filter below.
We will first create the blueprint. It relates to datadogTeam, so create the team blueprint first if your account does not have it yet:
Catalog entity blueprint (click to expand)
{
"identifier": "datadogCatalogEntity",
"description": "This blueprint represents an entity of any kind in the Datadog Software Catalog",
"title": "Datadog Catalog Entity",
"icon": "Datadog",
"schema": {
"properties": {
"kind": {
"type": "string",
"title": "Kind",
"description": "The entity kind, e.g. service, datastore, queue, api, system"
},
"namespace": {
"type": "string",
"title": "Namespace",
"description": "The namespace the entity name is unique within"
},
"description": {
"type": "string",
"title": "Description"
},
"owner": {
"type": "string",
"title": "Owner",
"description": "Handle of the team that owns the entity"
},
"type": {
"type": "string",
"title": "Type"
},
"tier": {
"type": "string",
"title": "Tier",
"description": "How important the entity is to the business"
},
"lifecycle": {
"type": "string",
"title": "Lifecycle",
"description": "The entity's lifecycle state, e.g. production, experimental"
},
"languages": {
"type": "array",
"items": {
"type": "string"
},
"title": "Languages"
},
"tags": {
"type": "array",
"items": {
"type": "string"
},
"title": "Tags"
},
"emailContacts": {
"type": "array",
"items": {
"type": "string"
},
"title": "Email Contacts",
"description": "Contacts declared on the entity with type email"
},
"additionalOwners": {
"type": "array",
"items": {
"type": "string"
},
"title": "Additional Owners",
"description": "Names of the additional owner teams declared on the entity"
},
"links": {
"type": "array",
"items": {
"type": "string",
"format": "url"
},
"title": "Links",
"description": "Links to external resources and repositories"
},
"ingestionSource": {
"type": "string",
"title": "Ingestion Source",
"description": "How the entity reached the catalog, e.g. api for a declared entity"
},
"createdAt": {
"type": "string",
"format": "date-time",
"title": "Created At"
},
"updatedAt": {
"type": "string",
"format": "date-time",
"title": "Updated At"
}
},
"required": []
},
"mirrorProperties": {},
"calculationProperties": {},
"aggregationProperties": {},
"relations": {
"dependsOn": {
"target": "datadogCatalogEntity",
"title": "Depends On",
"description": "Entities this entity declares a dependency on",
"many": true,
"required": false
},
"componentOf": {
"target": "datadogCatalogEntity",
"title": "Component Of",
"description": "Entities this entity is a component of",
"many": true,
"required": false
},
"components": {
"target": "datadogCatalogEntity",
"title": "Components",
"description": "Entities a system declares in spec.components. Empty when membership is declared the other way round, as componentOf on each child",
"many": true,
"required": false
},
"implementedBy": {
"target": "datadogCatalogEntity",
"title": "Implemented By",
"description": "Entities that implement this entity",
"many": true,
"required": false
},
"team": {
"target": "datadogTeam",
"title": "Team",
"many": false,
"required": false
}
}
}
Then add the following block to your integration configuration:
Integration configuration (click to expand)
deleteDependentEntities: true
createMissingRelatedEntities: true
resources:
- kind: catalogEntity
selector:
query: 'true'
port:
entity:
mappings:
identifier: >-
.attributes.kind + ":" + (if .attributes.namespace == "default"
then "" else .attributes.namespace + "/" end) +
.attributes.name
title: .attributes.displayName // .attributes.name
blueprint: '"datadogCatalogEntity"'
properties:
kind: .attributes.kind
namespace: .attributes.namespace
description: .attributes.description
owner: .attributes.owner
tags: .attributes.tags
type: .__schema.spec.type
tier: .__schema.spec.tier
lifecycle: .__schema.spec.lifecycle
languages: .__schema.spec.languages
links: .__schema.metadata.links // [] | map(.url)
ingestionSource: .meta.ingestionSource
createdAt: .meta.createdAt
updatedAt: .meta.modifiedAt
emailContacts: >-
[.__schema.metadata.contacts // [] | .[] | select(.type ==
"email") | .contact]
additionalOwners: .__schema.metadata.additionalOwners // [] | map(.name)
relations:
dependsOn: .__schema.spec.dependsOn // [] | map(sub(":default/"; ":"))
componentOf: .__schema.spec.componentOf // [] | map(sub(":default/"; ":"))
components: .__schema.spec.components // [] | map(sub(":default/"; ":"))
implementedBy: .__schema.spec.implementedBy // [] | map(sub(":default/"; ":"))
team:
combinator: '"and"'
rules:
- property: '"handle"'
operator: '"="'
value: .attributes.owner
The identifier follows Datadog's own reference format:
<kind>:<name>for entities in thedefaultnamespace.<kind>:<namespace>/<name>for entities outsidedefault.
Relations use that same format, so dependsOn, componentOf, components, and implementedBy come straight from the entity.
Datadog treats service:checkout and service:default/checkout as the same entity. The mapping strips :default/ from each reference so relations match the identifier.
Datadog allows a / inside an entity name. An entity named a/b in the default namespace produces the same identifier as an entity named b in a namespace called a. Rename one of them if your account uses namespaces.
The team relation matches the entity's owner against the handle property of a datadogTeam entity. Ingest the team kind as well for it to resolve.
Keep createMissingRelatedEntities set to true. A relation pointing at an entity the catalog did not return then creates a skeleton entity holding only an identifier. With false, Port rejects the entity carrying that relation instead of dropping the relation, so the entity never reaches your catalog at all.
Filter by kind
Every kind is fetched by default. To fetch only some of them, list them in entityKinds:
- kind: catalogEntity
selector:
query: 'true'
entityKinds: ["service", "datastore"]
Kind names are matched exactly as Datadog's entity kinds API lists them, in lowercase. A kind Datadog does not recognize returns no entities, and the resync logs a warning naming it.
Filtering narrows the relations too, because they cross kinds. Fetch only service, and its dependsOn refs point at datastores and queues that were never ingested, with the skeleton behavior described above. To ingest services only once, list every kind except service here. Datadog declares each relation on the entity that owns it, so the relations services declare are lost with them.
Include discovered services
Datadog also tracks services it discovers through APM and USM. These are not ingested by default. To include them, set includeDiscovered to true:
- kind: catalogEntity
selector:
query: 'true'
includeDiscovered: true
Datadog documents these as services with no entity definition, so everything this mapping reads from the definition is empty for them: the spec properties and all four relations.