All Methods Instance Methods Concrete Methods
| Modifier and Type |
Method and Description |
LLMObsSpanAttributes |
addTagsItem(String tagsItem) |
LLMObsSpanAttributes |
addToolDefinitionsItem(LLMObsSpanToolDefinition toolDefinitionsItem) |
LLMObsSpanAttributes |
duration(Double duration) |
boolean |
equals(Object o)
Return true if this LLMObsSpanAttributes object is equal to o.
|
LLMObsSpanAttributes |
evaluation(Map<String,LLMObsSpanEvaluationMetric> evaluation) |
Map<String,Object> |
getAdditionalProperties()
Return the additional (undeclared) property.
|
Object |
getAdditionalProperty(String key)
Return the additional (undeclared) property with the specified name.
|
Double |
getDuration()
Duration of the span in nanoseconds.
|
Map<String,LLMObsSpanEvaluationMetric> |
getEvaluation()
Evaluation metrics keyed by evaluator name.
|
LLMObsSpanIO |
getInput()
Input or output content of an LLM Observability span.
|
String |
getIntent()
Detected intent of the span.
|
Map<String,Object> |
getMetadata()
Arbitrary metadata associated with the span.
|
Map<String,Double> |
getMetrics()
Numeric metrics associated with the span (e.g., token counts).
|
String |
getMlApp()
Name of the ML application this span belongs to.
|
String |
getModelName()
Name of the model used in this span.
|
String |
getModelProvider()
Provider of the model used in this span.
|
String |
getName()
Name of the span.
|
LLMObsSpanIO |
getOutput()
Input or output content of an LLM Observability span.
|
String |
getParentId()
Identifier of the parent span, if any.
|
String |
getSpanId()
Unique identifier of the span.
|
String |
getSpanKind()
Kind of span (e.g., llm, agent, tool, task, workflow).
|
Long |
getStartNs()
Start time of the span in nanoseconds since Unix epoch.
|
String |
getStatus()
Status of the span (e.g., ok, error).
|
List<String> |
getTags()
Tags associated with the span.
|
List<LLMObsSpanToolDefinition> |
getToolDefinitions()
Tool definitions available to the span.
|
String |
getTraceId()
Trace identifier this span belongs to.
|
int |
hashCode() |
LLMObsSpanAttributes |
input(LLMObsSpanIO input) |
LLMObsSpanAttributes |
intent(String intent) |
LLMObsSpanAttributes |
metadata(Map<String,Object> metadata) |
LLMObsSpanAttributes |
metrics(Map<String,Double> metrics) |
LLMObsSpanAttributes |
mlApp(String mlApp) |
LLMObsSpanAttributes |
modelName(String modelName) |
LLMObsSpanAttributes |
modelProvider(String modelProvider) |
LLMObsSpanAttributes |
name(String name) |
LLMObsSpanAttributes |
output(LLMObsSpanIO output) |
LLMObsSpanAttributes |
parentId(String parentId) |
LLMObsSpanAttributes |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
LLMObsSpanAttributes |
putEvaluationItem(String key,
LLMObsSpanEvaluationMetric evaluationItem) |
LLMObsSpanAttributes |
putMetadataItem(String key,
Object metadataItem) |
LLMObsSpanAttributes |
putMetricsItem(String key,
Double metricsItem) |
void |
setDuration(Double duration) |
void |
setEvaluation(Map<String,LLMObsSpanEvaluationMetric> evaluation) |
void |
setInput(LLMObsSpanIO input) |
void |
setIntent(String intent) |
void |
setMetadata(Map<String,Object> metadata) |
void |
setMetrics(Map<String,Double> metrics) |
void |
setMlApp(String mlApp) |
void |
setModelName(String modelName) |
void |
setModelProvider(String modelProvider) |
void |
setName(String name) |
void |
setOutput(LLMObsSpanIO output) |
void |
setParentId(String parentId) |
void |
setSpanId(String spanId) |
void |
setSpanKind(String spanKind) |
void |
setStartNs(Long startNs) |
void |
setStatus(String status) |
void |
setTags(List<String> tags) |
void |
setToolDefinitions(List<LLMObsSpanToolDefinition> toolDefinitions) |
void |
setTraceId(String traceId) |
LLMObsSpanAttributes |
spanId(String spanId) |
LLMObsSpanAttributes |
spanKind(String spanKind) |
LLMObsSpanAttributes |
startNs(Long startNs) |
LLMObsSpanAttributes |
status(String status) |
LLMObsSpanAttributes |
tags(List<String> tags) |
LLMObsSpanAttributes |
toolDefinitions(List<LLMObsSpanToolDefinition> toolDefinitions) |
String |
toString() |
LLMObsSpanAttributes |
traceId(String traceId) |