텔레메트리 대상 테스트
POST/v1/organizations/telemetry_destinations/{destination_id}/test
anthropic.test라는 이름의 테스트 스팬 하나를 등록된 헤더와 함께 대상으로 재시도 없이 한 번 보내고 대상의 응답을 보고합니다. 대상이 2xx 상태로 응답했는지 여부와 관계없이 응답은 200입니다. result의 유형은 success이거나, 유형이 failure이고 error에 이유가 포함됩니다. 대상의 구성, state 및 delivery_health는 변경되지 않습니다. 비활성화된 대상도 테스트할 수 있습니다. 한 대상에 대한 테스트 사이에는 10초를 기다리세요. 그보다 빨리 들어온 요청은 상태 429로 응답될 수 있습니다.
Parameters
Returns
텔레메트리 대상 테스트
require "anthropic"
anthropic = Anthropic::Client.new(api_key: "my-anthropic-api-key")
beta_telemetry_destination_test_response = anthropic.beta.organization.telemetry_destinations.test_("destination_id")
puts(beta_telemetry_destination_test_response)Response 200
{
"result": {
"type": "success"
},
"type": "telemetry_destination_test"
}Returns Examples
Response 200
{
"result": {
"type": "success"
},
"type": "telemetry_destination_test"
}