Interface WorkspaceService
-
- All Implemented Interfaces:
public interface WorkspaceService
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public interfaceWorkspaceService.WithRawResponseA view of WorkspaceService that provides access to raw HTTP responses for each method.
-
Method Summary
-
-
Method Detail
-
withRawResponse
abstract WorkspaceService.WithRawResponse withRawResponse()
Returns a view of this service that provides access to raw HTTP responses for each method.
-
withOptions
abstract WorkspaceService withOptions(Consumer<ClientOptions.Builder> modifier)
Returns a view of this service with the given option modifications applied.
The original service is not modified.
-
list
WorkspaceListPage list(String destinationId)
List the workspaces on a destination's workspace list, newest entry first.
A destination whose
workspaces.typeisalldoesn't have a list, so its page is empty. The list includes archived workspaces.See the OpenTelemetry export guide to learn more about choosing the workspaces of a destination.
-
list
WorkspaceListPage list(String destinationId, WorkspaceListParams params, RequestOptions requestOptions)
-
list
WorkspaceListPage list(String destinationId, WorkspaceListParams params)
-
list
abstract WorkspaceListPage list(WorkspaceListParams params, RequestOptions requestOptions)
-
list
WorkspaceListPage list(WorkspaceListParams params)
-
list
WorkspaceListPage list(String destinationId, RequestOptions requestOptions)
-
add
BetaTelemetryDestinationWorkspace add(String workspaceId, WorkspaceAddParams params)
Add one workspace to a destination's workspace list.
Under
includethe workspace's spans start going to the destination. Underexcludethey stop. A list holds at most 1,000 workspaces.Adding a workspace that is already on the list changes nothing and returns the existing entry. An archived workspace that isn't on the list yet can't be added. A destination whose
workspaces.typeisalldoesn't have a list, so the API returns 400. To change which workspaces such a destination covers, update itsworkspaces.See the OpenTelemetry export guide to learn more about choosing the workspaces of a destination.
-
add
BetaTelemetryDestinationWorkspace add(String workspaceId, WorkspaceAddParams params, RequestOptions requestOptions)
-
add
BetaTelemetryDestinationWorkspace add(WorkspaceAddParams params)
-
add
abstract BetaTelemetryDestinationWorkspace add(WorkspaceAddParams params, RequestOptions requestOptions)
-
remove
BetaDeletedTelemetryDestinationWorkspace remove(String workspaceId, WorkspaceRemoveParams params)
Remove one workspace from a destination's workspace list.
Under
includethe workspace's spans stop going to the destination. Underexcludethey start. An archived workspace can be removed too.The API returns 404 when the workspace isn't on the list. A destination whose
workspaces.typeisalldoesn't have a list, so the API returns 400.See the OpenTelemetry export guide to learn more about choosing the workspaces of a destination.
-
remove
BetaDeletedTelemetryDestinationWorkspace remove(String workspaceId, WorkspaceRemoveParams params, RequestOptions requestOptions)
-
remove
BetaDeletedTelemetryDestinationWorkspace remove(WorkspaceRemoveParams params)
-
remove
abstract BetaDeletedTelemetryDestinationWorkspace remove(WorkspaceRemoveParams params, RequestOptions requestOptions)
-
-
-
-