Class SpansApi
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classManage optional parameters to listSpansGet. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionAggregate spans.Aggregate spans.The API endpoint to aggregate spans into buckets and compute metrics and timeseries.Aggregate spans.Get the API client.listSpans(SpansListRequest body) Search spans.Search spans.Get a list of spans.listSpansGet(SpansApi.ListSpansGetOptionalParameters parameters) Get a list of spans.Get a list of spans.Get a list of spans.List endpoint returns spans that match a span search query.Get a list of spans.Get a list of spans.Get a list of spans.List endpoint returns spans that match a span search query.Search spans.Search spans.voidsetApiClient(ApiClient apiClient) Set the API client.
-
Constructor Details
-
SpansApi
public SpansApi() -
SpansApi
-
-
Method Details
-
getApiClient
Get the API client.- Returns:
- API client
-
setApiClient
Set the API client.- Parameters:
apiClient- an instance of API client
-
aggregateSpans
Aggregate spans.See
aggregateSpansWithHttpInfo(com.datadog.api.client.v2.model.SpansAggregateRequest).- Parameters:
body- (required)- Returns:
- SpansAggregateResponse
- Throws:
ApiException- if fails to make API call
-
aggregateSpansAsync
Aggregate spans.See
aggregateSpansWithHttpInfoAsync(com.datadog.api.client.v2.model.SpansAggregateRequest).- Parameters:
body- (required)- Returns:
- CompletableFuture<SpansAggregateResponse>
-
aggregateSpansWithHttpInfo
public ApiResponse<SpansAggregateResponse> aggregateSpansWithHttpInfo(SpansAggregateRequest body) throws ApiException The API endpoint to aggregate spans into buckets and compute metrics and timeseries. This endpoint is rate limited to300requests per hour.- Parameters:
body- (required)- Returns:
- ApiResponse<SpansAggregateResponse>
- Throws:
ApiException- if fails to make API call- Http Response Details:
Response details Status Code Description Response Headers 200 OK - 400 Bad Request - 403 Forbidden - 429 Too many requests -
-
aggregateSpansWithHttpInfoAsync
public CompletableFuture<ApiResponse<SpansAggregateResponse>> aggregateSpansWithHttpInfoAsync(SpansAggregateRequest body) Aggregate spans.See
aggregateSpansWithHttpInfo(com.datadog.api.client.v2.model.SpansAggregateRequest).- Parameters:
body- (required)- Returns:
- CompletableFuture<ApiResponse<SpansAggregateResponse>>
-
listSpans
Search spans.See
listSpansWithHttpInfo(com.datadog.api.client.v2.model.SpansListRequest).- Parameters:
body- (required)- Returns:
- SpansListResponse
- Throws:
ApiException- if fails to make API call
-
listSpansAsync
Search spans.See
listSpansWithHttpInfoAsync(com.datadog.api.client.v2.model.SpansListRequest).- Parameters:
body- (required)- Returns:
- CompletableFuture<SpansListResponse>
-
listSpansWithPagination
Search spans.See
listSpansWithHttpInfo(com.datadog.api.client.v2.model.SpansListRequest).- Parameters:
body- (required)- Returns:
- PaginationIterable<Span>
-
listSpansWithHttpInfo
public ApiResponse<SpansListResponse> listSpansWithHttpInfo(SpansListRequest body) throws ApiException List endpoint returns spans that match a span search query. Results are paginated.Use this endpoint to build complex spans filtering and search. This endpoint is rate limited to
300requests per hour.- Parameters:
body- (required)- Returns:
- ApiResponse<SpansListResponse>
- Throws:
ApiException- if fails to make API call- Http Response Details:
Response details Status Code Description Response Headers 200 OK - 400 Bad Request. - 403 Forbidden: Access denied. - 422 Unprocessable Entity. - 429 Too many requests: The rate limit set by the API has been exceeded. -
-
listSpansWithHttpInfoAsync
public CompletableFuture<ApiResponse<SpansListResponse>> listSpansWithHttpInfoAsync(SpansListRequest body) Search spans.See
listSpansWithHttpInfo(com.datadog.api.client.v2.model.SpansListRequest).- Parameters:
body- (required)- Returns:
- CompletableFuture<ApiResponse<SpansListResponse>>
-
listSpansGet
Get a list of spans.See
listSpansGetWithHttpInfo(com.datadog.api.client.v2.api.SpansApi.ListSpansGetOptionalParameters).- Returns:
- SpansListResponse
- Throws:
ApiException- if fails to make API call
-
listSpansGetAsync
Get a list of spans.See
listSpansGetWithHttpInfoAsync(com.datadog.api.client.v2.api.SpansApi.ListSpansGetOptionalParameters).- Returns:
- CompletableFuture<SpansListResponse>
-
listSpansGet
public SpansListResponse listSpansGet(SpansApi.ListSpansGetOptionalParameters parameters) throws ApiException Get a list of spans.See
listSpansGetWithHttpInfo(com.datadog.api.client.v2.api.SpansApi.ListSpansGetOptionalParameters).- Parameters:
parameters- Optional parameters for the request.- Returns:
- SpansListResponse
- Throws:
ApiException- if fails to make API call
-
listSpansGetAsync
public CompletableFuture<SpansListResponse> listSpansGetAsync(SpansApi.ListSpansGetOptionalParameters parameters) Get a list of spans.See
listSpansGetWithHttpInfoAsync(com.datadog.api.client.v2.api.SpansApi.ListSpansGetOptionalParameters).- Parameters:
parameters- Optional parameters for the request.- Returns:
- CompletableFuture<SpansListResponse>
-
listSpansGetWithPagination
Get a list of spans.See
listSpansGetWithHttpInfo(com.datadog.api.client.v2.api.SpansApi.ListSpansGetOptionalParameters).- Returns:
- PaginationIterable<Span>
-
listSpansGetWithPagination
public PaginationIterable<Span> listSpansGetWithPagination(SpansApi.ListSpansGetOptionalParameters parameters) Get a list of spans.See
listSpansGetWithHttpInfo(com.datadog.api.client.v2.api.SpansApi.ListSpansGetOptionalParameters).- Returns:
- SpansListResponse
-
listSpansGetWithHttpInfo
public ApiResponse<SpansListResponse> listSpansGetWithHttpInfo(SpansApi.ListSpansGetOptionalParameters parameters) throws ApiException List endpoint returns spans that match a span search query. Results are paginated.Use this endpoint to see your latest spans. This endpoint is rate limited to
300requests per hour.- Parameters:
parameters- Optional parameters for the request.- Returns:
- ApiResponse<SpansListResponse>
- Throws:
ApiException- if fails to make API call- Http Response Details:
Response details Status Code Description Response Headers 200 OK - 400 Bad Request. - 403 Forbidden: Access denied. - 422 Unprocessable Entity. - 429 Too many requests: The rate limit set by the API has been exceeded. -
-
listSpansGetWithHttpInfoAsync
public CompletableFuture<ApiResponse<SpansListResponse>> listSpansGetWithHttpInfoAsync(SpansApi.ListSpansGetOptionalParameters parameters) Get a list of spans.See
listSpansGetWithHttpInfo(com.datadog.api.client.v2.api.SpansApi.ListSpansGetOptionalParameters).- Parameters:
parameters- Optional parameters for the request.- Returns:
- CompletableFuture<ApiResponse<SpansListResponse>>
-