@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class SpansApi extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
SpansApi.ListSpansGetOptionalParameters
Manage optional parameters to listSpansGet.
|
| Constructor and Description |
|---|
SpansApi() |
SpansApi(ApiClient apiClient) |
public SpansApi()
public SpansApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
apiClient - an instance of API clientpublic SpansAggregateResponse aggregateSpans(SpansAggregateRequest body) throws ApiException
See aggregateSpansWithHttpInfo(com.datadog.api.client.v2.model.SpansAggregateRequest).
body - (required)ApiException - if fails to make API callpublic CompletableFuture<SpansAggregateResponse> aggregateSpansAsync(SpansAggregateRequest body)
See aggregateSpansWithHttpInfoAsync(com.datadog.api.client.v2.model.SpansAggregateRequest).
body - (required)public ApiResponse<SpansAggregateResponse> aggregateSpansWithHttpInfo(SpansAggregateRequest body) throws ApiException
300 requests per hour.body - (required)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | OK | - |
| 400 | Bad Request | - |
| 403 | Forbidden | - |
| 429 | Too many requests | - |
public CompletableFuture<ApiResponse<SpansAggregateResponse>> aggregateSpansWithHttpInfoAsync(SpansAggregateRequest body)
See aggregateSpansWithHttpInfo(com.datadog.api.client.v2.model.SpansAggregateRequest).
body - (required)public SpansListResponse listSpans(SpansListRequest body) throws ApiException
See listSpansWithHttpInfo(com.datadog.api.client.v2.model.SpansListRequest).
body - (required)ApiException - if fails to make API callpublic CompletableFuture<SpansListResponse> listSpansAsync(SpansListRequest body)
See listSpansWithHttpInfoAsync(com.datadog.api.client.v2.model.SpansListRequest).
body - (required)public PaginationIterable<Span> listSpansWithPagination(SpansListRequest body)
See listSpansWithHttpInfo(com.datadog.api.client.v2.model.SpansListRequest).
body - (required)public ApiResponse<SpansListResponse> listSpansWithHttpInfo(SpansListRequest body) throws ApiException
Use this endpoint to build complex spans filtering and search. This endpoint is rate limited
to 300 requests per hour.
body - (required)ApiException - if fails to make API call| 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. | - |
public CompletableFuture<ApiResponse<SpansListResponse>> listSpansWithHttpInfoAsync(SpansListRequest body)
See listSpansWithHttpInfo(com.datadog.api.client.v2.model.SpansListRequest).
body - (required)public SpansListResponse listSpansGet() throws ApiException
See listSpansGetWithHttpInfo(com.datadog.api.client.v2.api.SpansApi.ListSpansGetOptionalParameters).
ApiException - if fails to make API callpublic CompletableFuture<SpansListResponse> listSpansGetAsync()
See listSpansGetWithHttpInfoAsync(com.datadog.api.client.v2.api.SpansApi.ListSpansGetOptionalParameters).
public SpansListResponse listSpansGet(SpansApi.ListSpansGetOptionalParameters parameters) throws ApiException
See listSpansGetWithHttpInfo(com.datadog.api.client.v2.api.SpansApi.ListSpansGetOptionalParameters).
parameters - Optional parameters for the request.ApiException - if fails to make API callpublic CompletableFuture<SpansListResponse> listSpansGetAsync(SpansApi.ListSpansGetOptionalParameters parameters)
See listSpansGetWithHttpInfoAsync(com.datadog.api.client.v2.api.SpansApi.ListSpansGetOptionalParameters).
parameters - Optional parameters for the request.public PaginationIterable<Span> listSpansGetWithPagination()
See listSpansGetWithHttpInfo(com.datadog.api.client.v2.api.SpansApi.ListSpansGetOptionalParameters).
public PaginationIterable<Span> listSpansGetWithPagination(SpansApi.ListSpansGetOptionalParameters parameters)
See listSpansGetWithHttpInfo(com.datadog.api.client.v2.api.SpansApi.ListSpansGetOptionalParameters).
public ApiResponse<SpansListResponse> listSpansGetWithHttpInfo(SpansApi.ListSpansGetOptionalParameters parameters) throws ApiException
Use this endpoint to see your latest spans. This endpoint is rate limited to 300
requests per hour.
parameters - Optional parameters for the request.ApiException - if fails to make API call| 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. | - |
public CompletableFuture<ApiResponse<SpansListResponse>> listSpansGetWithHttpInfoAsync(SpansApi.ListSpansGetOptionalParameters parameters)
See listSpansGetWithHttpInfo(com.datadog.api.client.v2.api.SpansApi.ListSpansGetOptionalParameters).
parameters - Optional parameters for the request.Copyright © 2024. All rights reserved.