Class GetTracesRequest.Builder
- Enclosing class:
GetTracesRequest
-
Method Summary
Modifier and TypeMethodDescriptionadditionalProperties(Map<String, Object> additionalProperties) additionalProperty(String key, Object value) build()environment(String environment) environment(List<String> environment) environment(Optional<List<String>> environment) Optional filter for traces where the environment is one of the provided values.Comma-separated list of fields to include in the response.JSON string containing an array of filter conditions.from(GetTracesRequest other) fromTimestamp(OffsetDateTime fromTimestamp) fromTimestamp(Optional<OffsetDateTime> fromTimestamp) Optional filter to only include traces with a trace.timestamp on or after a certain datetime (ISO 8601)Limit of items per page.Format of the string [field].[asc/desc].Page number, starts at 1Optional filter to only include traces with a certain release.Only traces that include all of these tags will be returned.toTimestamp(OffsetDateTime toTimestamp) toTimestamp(Optional<OffsetDateTime> toTimestamp) Optional filter to only include traces with a trace.timestamp before a certain datetime (ISO 8601)Optional filter to only include traces with a certain version.
-
Method Details
-
from
-
tags
Only traces that include all of these tags will be returned.
-
tags
-
tags
-
environment
Optional filter for traces where the environment is one of the provided values.
-
environment
-
environment
-
page
Page number, starts at 1
-
page
-
limit
Limit of items per page. If you encounter api issues due to too large page sizes, try to reduce the limit.
-
limit
-
userId
-
userId
-
name
-
name
-
sessionId
-
sessionId
-
fromTimestamp
Optional filter to only include traces with a trace.timestamp on or after a certain datetime (ISO 8601)
-
fromTimestamp
-
toTimestamp
Optional filter to only include traces with a trace.timestamp before a certain datetime (ISO 8601)
-
toTimestamp
-
orderBy
Format of the string [field].[asc/desc]. Fields: id, timestamp, name, userId, release, version, public, bookmarked, sessionId. Example: timestamp.asc
-
orderBy
-
version
Optional filter to only include traces with a certain version.
-
version
-
release
Optional filter to only include traces with a certain release.
-
release
-
fields
Comma-separated list of fields to include in the response. Available field groups: 'core' (always included), 'io' (input, output, metadata), 'scores', 'observations', 'metrics'. If not specified, all fields are returned. Example: 'core,scores,metrics'. Note: Excluded 'observations' or 'scores' fields return empty arrays; excluded 'metrics' returns -1 for 'totalCost' and 'latency'.
-
fields
-
filter
JSON string containing an array of filter conditions. When provided, this takes precedence over query parameter filters (userId, name, sessionId, tags, version, release, environment, fromTimestamp, toTimestamp). -
filter
-
build
-
additionalProperty
-
additionalProperties
-