Class: DatadogAPIClient::V2::LLMObsSpanFilter
- Inherits:
-
Object
- Object
- DatadogAPIClient::V2::LLMObsSpanFilter
- Includes:
- BaseGenericModel
- Defined in:
- lib/datadog_api_client/v2/models/llm_obs_span_filter.rb
Overview
Filter criteria for an LLM Observability span search.
Instance Attribute Summary collapse
-
#additional_properties ⇒ Object
Returns the value of attribute additional_properties.
-
#from ⇒ Object
Start of the time range.
-
#ml_app ⇒ Object
Filter by ML application name.
-
#query ⇒ Object
Search query using LLM Observability query syntax.
-
#span_id ⇒ Object
Filter by exact span ID.
-
#span_kind ⇒ Object
Filter by span kind (e.g., llm, agent, tool, task, workflow).
-
#span_name ⇒ Object
Filter by span name.
-
#tags ⇒ Object
Filter by tag key-value pairs.
-
#to ⇒ Object
End of the time range.
-
#trace_id ⇒ Object
Filter by exact trace ID.
Method Summary
Methods included from BaseGenericModel
Instance Attribute Details
#additional_properties ⇒ Object
Returns the value of attribute additional_properties.
51 52 53 |
# File 'lib/datadog_api_client/v2/models/llm_obs_span_filter.rb', line 51 def additional_properties @additional_properties end |
#from ⇒ Object
Start of the time range. Accepts ISO 8601 or relative format (e.g., now-15m). Defaults to now-15m.
25 26 27 |
# File 'lib/datadog_api_client/v2/models/llm_obs_span_filter.rb', line 25 def from @from end |
#ml_app ⇒ Object
Filter by ML application name.
28 29 30 |
# File 'lib/datadog_api_client/v2/models/llm_obs_span_filter.rb', line 28 def ml_app @ml_app end |
#query ⇒ Object
Search query using LLM 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.
31 32 33 |
# File 'lib/datadog_api_client/v2/models/llm_obs_span_filter.rb', line 31 def query @query end |
#span_id ⇒ Object
Filter by exact span ID.
34 35 36 |
# File 'lib/datadog_api_client/v2/models/llm_obs_span_filter.rb', line 34 def span_id @span_id end |
#span_kind ⇒ Object
Filter by span kind (e.g., llm, agent, tool, task, workflow).
37 38 39 |
# File 'lib/datadog_api_client/v2/models/llm_obs_span_filter.rb', line 37 def span_kind @span_kind end |
#span_name ⇒ Object
Filter by span name.
40 41 42 |
# File 'lib/datadog_api_client/v2/models/llm_obs_span_filter.rb', line 40 def span_name @span_name end |
#tags ⇒ Object
Filter by tag key-value pairs.
43 44 45 |
# File 'lib/datadog_api_client/v2/models/llm_obs_span_filter.rb', line 43 def @tags end |
#to ⇒ Object
End of the time range. Accepts ISO 8601 or relative format (e.g., now). Defaults to now.
46 47 48 |
# File 'lib/datadog_api_client/v2/models/llm_obs_span_filter.rb', line 46 def to @to end |
#trace_id ⇒ Object
Filter by exact trace ID.
49 50 51 |
# File 'lib/datadog_api_client/v2/models/llm_obs_span_filter.rb', line 49 def trace_id @trace_id end |