- 필수 기능
- 시작하기
- Glossary
- 표준 속성
- Guides
- Agent
- 통합
- 개방형텔레메트리
- 개발자
- API
- Datadog Mobile App
- CoScreen
- Cloudcraft
- 앱 내
- 서비스 관리
- 인프라스트럭처
- 애플리케이션 성능
- APM
- Continuous Profiler
- 스팬 시각화
- 데이터 스트림 모니터링
- 데이터 작업 모니터링
- 디지털 경험
- 소프트웨어 제공
- 보안
- AI Observability
- 로그 관리
- 관리
APM 서비스 맵 API. 자세한 내용은 서비스 맵 페이지를 참고하세요.
Note: This endpoint is in public beta. If you have any feedback, contact Datadog support.
GET https://api.ap1.datadoghq.com/api/v1/service_dependencieshttps://api.datadoghq.eu/api/v1/service_dependencieshttps://api.ddog-gov.com/api/v1/service_dependencieshttps://api.datadoghq.com/api/v1/service_dependencieshttps://api.us3.datadoghq.com/api/v1/service_dependencieshttps://api.us5.datadoghq.com/api/v1/service_dependencies
Get a list of services from APM and their dependencies. The services retrieved are filtered by environment and a primary tag, if one is defined.
이름
유형
설명
env [required]
string
Specify what APM environment to query service dependencies by.
primary_tag
string
Specify what primary tag to query service dependencies by.
start
integer
Specify the start of the timeframe in epoch seconds to query for. (defaults to 1 hour before end parameter)
end
integer
Specify the end of the timeframe in epoch seconds to query for. (defaults to current time)
OK
An object containing a list of APM services and their dependencies.
항목
유형
설명
<any-key>
object
An object containing an APM service's dependencies.
calls [required]
[string]
A list of dependencies.
{
"servica_a": {
"calls": [
"service_b",
"service_c"
]
},
"service_b": {
"calls": [
"service_o"
]
},
"service_c": {
"calls": [
"service_o"
]
},
"service_o": {
"calls": []
}
}
Bad Request
Error response object.
{
"errors": [
"Bad Request"
]
}
Authentication Error
Error response object.
{
"errors": [
"Bad Request"
]
}
Too many requests
Error response object.
{
"errors": [
"Bad Request"
]
}
# Required query arguments
export env="prod"
# Curl command
curl -X GET "https://api.ap1.datadoghq.com"https://api.datadoghq.eu"https://api.ddog-gov.com"https://api.datadoghq.com"https://api.us3.datadoghq.com"https://api.us5.datadoghq.com/api/v1/service_dependencies?env=${env}" \
-H "Accept: application/json" \
-H "DD-API-KEY: ${DD_API_KEY}" \
-H "DD-APPLICATION-KEY: ${DD_APP_KEY}"
Note: This endpoint is in public beta. If you have any feedback, contact Datadog support.
GET https://api.ap1.datadoghq.com/api/v1/service_dependencies/{service}https://api.datadoghq.eu/api/v1/service_dependencies/{service}https://api.ddog-gov.com/api/v1/service_dependencies/{service}https://api.datadoghq.com/api/v1/service_dependencies/{service}https://api.us3.datadoghq.com/api/v1/service_dependencies/{service}https://api.us5.datadoghq.com/api/v1/service_dependencies/{service}
Get a specific service’s immediate upstream and downstream services. The services retrieved are filtered by environment and a primary tag, if one is defined.
이름
유형
설명
service [required]
string
The name of the service go get dependencies for.
이름
유형
설명
env [required]
string
Specify what APM environment to query service dependencies by.
primary_tag
string
Specify what primary tag to query service dependencies by.
start
integer
Specify the start of the timeframe in epoch seconds to query for. (defaults to 1 hour before end parameter)
end
integer
Specify the end of the timeframe in epoch seconds to query for. (defaults to current time)
OK
An object with information on APM services that call, and are called by a given service.
{
"called_by": [
"service-a",
"service-b"
],
"calls": [
"service-d",
"service-e"
],
"name": "service-c"
}
Bad Request
Error response object.
{
"errors": [
"Bad Request"
]
}
Authentication Error
Error response object.
{
"errors": [
"Bad Request"
]
}
Too many requests
Error response object.
{
"errors": [
"Bad Request"
]
}
# Path parameters
export service="service-c"
# Required query arguments
export env="prod"
# Curl command
curl -X GET "https://api.ap1.datadoghq.com"https://api.datadoghq.eu"https://api.ddog-gov.com"https://api.datadoghq.com"https://api.us3.datadoghq.com"https://api.us5.datadoghq.com/api/v1/service_dependencies/${service}?env=${env}" \
-H "Accept: application/json" \
-H "DD-API-KEY: ${DD_API_KEY}" \
-H "DD-APPLICATION-KEY: ${DD_APP_KEY}"