For AI agents: A markdown version of this page is available at https://dnd37xeb23o8n.cloudfront.net/jen.gilbert/astro-base/fr/api/latest/fleet-automation/list-all-fleet-tracers.md. A documentation index is available at /llms.txt.
Language
Datadog site

List all fleet tracers

WARNINGThis endpoint is in Preview and may introduce breaking changes. If you have any feedback, contact Datadog support.
GEThttps://api.datadoghq.com/api/unstable/fleet/tracershttps://api.us3.datadoghq.com/api/unstable/fleet/tracershttps://api.us5.datadoghq.com/api/unstable/fleet/tracershttps://api.datadoghq.eu/api/unstable/fleet/tracershttps://api.ap1.datadoghq.com/api/unstable/fleet/tracershttps://api.ap2.datadoghq.com/api/unstable/fleet/tracershttps://api.uk1.datadoghq.com/api/unstable/fleet/tracershttps://api.ddog-gov.com/api/unstable/fleet/tracershttps://api.us2.ddog-gov.com/api/unstable/fleet/tracers

Présentation

Retrieve a paginated list of all fleet tracers.

This endpoint returns telemetry-derived service names from the SDK telemetry pipeline. These names may differ from span-derived names in APM and are useful for querying service library configurations. Use the page_number and page_size query parameters to paginate through results.

This endpoint requires the hosts_read permission.

Arguments

Chaînes de requête

Name
Type
Description
page_number
integer

Page number for pagination (starts at 0).

Default: 0
page_size
integer

Number of results per page (must be greater than 0 and less than or equal to 100).

Default: 10
sort_attribute
string

Attribute to sort by.

sort_descending
boolean

Sort order (true for descending, false for ascending).

Default: true
filter
string

Filter string for narrowing down tracer results.

Réponse

OK

Response containing a paginated list of fleet tracers.

Champ
Type
Description
data [required]
object

The response data containing status and tracers array.

meta
object

Metadata for the list of tracers response.

Exemple de code

List all fleet tracers
# Set your Datadog site and credentials
export DD_SITE="datadoghq.com"
# Use a Personal Access Token or Service Access Token
export DD_BEARER_TOKEN="<PERSONAL_ACCESS_TOKEN OR SERVICE_ACCESS_TOKEN>"

curl -X GET "https://api.${DD_SITE}/api/unstable/fleet/tracers" \
-H "Accept: application/json" \
-H "Authorization: Bearer ${DD_BEARER_TOKEN}"
# Set your Datadog site and credentials
export DD_SITE="us3.datadoghq.com"
# Use a Personal Access Token or Service Access Token
export DD_BEARER_TOKEN="<PERSONAL_ACCESS_TOKEN OR SERVICE_ACCESS_TOKEN>"

curl -X GET "https://api.${DD_SITE}/api/unstable/fleet/tracers" \
-H "Accept: application/json" \
-H "Authorization: Bearer ${DD_BEARER_TOKEN}"
# Set your Datadog site and credentials
export DD_SITE="us5.datadoghq.com"
# Use a Personal Access Token or Service Access Token
export DD_BEARER_TOKEN="<PERSONAL_ACCESS_TOKEN OR SERVICE_ACCESS_TOKEN>"

curl -X GET "https://api.${DD_SITE}/api/unstable/fleet/tracers" \
-H "Accept: application/json" \
-H "Authorization: Bearer ${DD_BEARER_TOKEN}"
# Set your Datadog site and credentials
export DD_SITE="datadoghq.eu"
# Use a Personal Access Token or Service Access Token
export DD_BEARER_TOKEN="<PERSONAL_ACCESS_TOKEN OR SERVICE_ACCESS_TOKEN>"

curl -X GET "https://api.${DD_SITE}/api/unstable/fleet/tracers" \
-H "Accept: application/json" \
-H "Authorization: Bearer ${DD_BEARER_TOKEN}"
# Set your Datadog site and credentials
export DD_SITE="ap1.datadoghq.com"
# Use a Personal Access Token or Service Access Token
export DD_BEARER_TOKEN="<PERSONAL_ACCESS_TOKEN OR SERVICE_ACCESS_TOKEN>"

curl -X GET "https://api.${DD_SITE}/api/unstable/fleet/tracers" \
-H "Accept: application/json" \
-H "Authorization: Bearer ${DD_BEARER_TOKEN}"
# Set your Datadog site and credentials
export DD_SITE="ap2.datadoghq.com"
# Use a Personal Access Token or Service Access Token
export DD_BEARER_TOKEN="<PERSONAL_ACCESS_TOKEN OR SERVICE_ACCESS_TOKEN>"

curl -X GET "https://api.${DD_SITE}/api/unstable/fleet/tracers" \
-H "Accept: application/json" \
-H "Authorization: Bearer ${DD_BEARER_TOKEN}"
# Set your Datadog site and credentials
export DD_SITE="uk1.datadoghq.com"
# Use a Personal Access Token or Service Access Token
export DD_BEARER_TOKEN="<PERSONAL_ACCESS_TOKEN OR SERVICE_ACCESS_TOKEN>"

curl -X GET "https://api.${DD_SITE}/api/unstable/fleet/tracers" \
-H "Accept: application/json" \
-H "Authorization: Bearer ${DD_BEARER_TOKEN}"
# Set your Datadog site and credentials
export DD_SITE="ddog-gov.com"
# Use a Personal Access Token or Service Access Token
export DD_BEARER_TOKEN="<PERSONAL_ACCESS_TOKEN OR SERVICE_ACCESS_TOKEN>"

curl -X GET "https://api.${DD_SITE}/api/unstable/fleet/tracers" \
-H "Accept: application/json" \
-H "Authorization: Bearer ${DD_BEARER_TOKEN}"
# Set your Datadog site and credentials
export DD_SITE="us2.ddog-gov.com"
# Use a Personal Access Token or Service Access Token
export DD_BEARER_TOKEN="<PERSONAL_ACCESS_TOKEN OR SERVICE_ACCESS_TOKEN>"

curl -X GET "https://api.${DD_SITE}/api/unstable/fleet/tracers" \
-H "Accept: application/json" \
-H "Authorization: Bearer ${DD_BEARER_TOKEN}"