Package com.datadog.api.client.v2.model
Class LLMObsSpanFilter
java.lang.Object
com.datadog.api.client.v2.model.LLMObsSpanFilter
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class LLMObsSpanFilter
extends Object
Filter criteria for an Agent Observability span search.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturn true if this LLMObsSpanFilter object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.getFrom()Start of the time range.getMlApp()Filter by ML application name.getQuery()Search query using Agent Observability query syntax.Filter by exact span ID.Filter by span kind (e.g., llm, agent, tool, task, workflow).Filter by span name.getTags()Filter by tag key-value pairs.getTo()End of the time range.Filter by exact trace ID.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.putTagsItem(String key, String tagsItem) voidvoidvoidvoidvoidsetSpanKind(String spanKind) voidsetSpanName(String spanName) voidvoidvoidsetTraceId(String traceId) toString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_FROM
- See Also:
-
JSON_PROPERTY_ML_APP
- See Also:
-
JSON_PROPERTY_QUERY
- See Also:
-
JSON_PROPERTY_SPAN_ID
- See Also:
-
JSON_PROPERTY_SPAN_KIND
- See Also:
-
JSON_PROPERTY_SPAN_NAME
- See Also:
-
JSON_PROPERTY_TAGS
- See Also:
-
JSON_PROPERTY_TO
- See Also:
-
JSON_PROPERTY_TRACE_ID
- See Also:
-
-
Constructor Details
-
LLMObsSpanFilter
public LLMObsSpanFilter()
-
-
Method Details
-
from
-
getFrom
Start of the time range. Accepts ISO 8601 or relative format (e.g.,now-15m). Defaults tonow-15m.- Returns:
- from
-
setFrom
-
mlApp
-
getMlApp
Filter by ML application name.- Returns:
- mlApp
-
setMlApp
-
query
-
getQuery
Search query using Agent Observability query syntax. Supports attribute filters using the field:value syntax (e.g. session_id, trace_id, ml_app, meta.span.kind). When provided, structured field filters (span_id,trace_id, etc.) are ignored.- Returns:
- query
-
setQuery
-
spanId
-
getSpanId
Filter by exact span ID.- Returns:
- spanId
-
setSpanId
-
spanKind
-
getSpanKind
Filter by span kind (e.g., llm, agent, tool, task, workflow).- Returns:
- spanKind
-
setSpanKind
-
spanName
-
getSpanName
Filter by span name.- Returns:
- spanName
-
setSpanName
-
tags
-
putTagsItem
-
getTags
Filter by tag key-value pairs.- Returns:
- tags
-
setTags
-
to
-
getTo
End of the time range. Accepts ISO 8601 or relative format (e.g.,now). Defaults tonow.- Returns:
- to
-
setTo
-
traceId
-
getTraceId
Filter by exact trace ID.- Returns:
- traceId
-
setTraceId
-
putAdditionalProperty
Set the additional (undeclared) property with the specified name and value. If the property does not already exist, create it otherwise replace it.- Parameters:
key- The arbitrary key to setvalue- The associated value- Returns:
- LLMObsSpanFilter
-
getAdditionalProperties
Return the additional (undeclared) property.- Returns:
- The additional properties
-
getAdditionalProperty
Return the additional (undeclared) property with the specified name.- Parameters:
key- The arbitrary key to get- Returns:
- The specific additional property for the given key
-
equals
Return true if this LLMObsSpanFilter object is equal to o. -
hashCode
public int hashCode() -
toString
-