OptionalchildLLM Observability span kind. One of agent, workflow, task, tool, retrieval, embedding, or llm.
OptionalmlThe name of the ML application that the agent is orchestrating.
If not provided, the default value will be set to mlApp provided during initialization, or DD_LLMOBS_ML_APP.
OptionalmodelThe name of the invoked LLM or embedding model. Only used on llm and embedding spans.
OptionalmodelThe name of the invoked LLM or embedding model provider. Only used on llm and embedding spans.
If not provided for LLM or embedding spans, a default value of 'custom' will be set.
Optionalreferencesan array of Reference instances, each pointing to a causal parent
SpanContext. If specified, fields.childOf must be unspecified.
OptionalsessionThe ID of the underlying user session. Required for tracking sessions.
Optionalstarta manually specified start time for the created Span object. The time should be specified in milliseconds as Unix timestamp. Decimal value are supported to represent time values with sub-millisecond accuracy.
Optionaltagsset of key-value pairs which will be set as tags on the newly created Span. Ownership of the object is passed to the created span for efficiency reasons (the caller should not modify this object after calling startSpan).
a parent SpanContext (or Span, for convenience) that the newly-started span will be the child of (per REFERENCE_CHILD_OF). If specified,
referencesmust be unspecified.