LLMMetadata
Metadata about an LLM call to record on a span.
Metadata about an LLM call to record on a span.
Properties
model
:Maybe<string>
Model name (e.g. "gpt-4o").
provider
:Maybe<string>
Provider name (e.g. "openai").
non_cached_input_tokens
:Maybe<number>
Number of non-cached input tokens.
output_tokens
:Maybe<number>
Number of output tokens.
cache_read_input_tokens
:Maybe<number>
Number of cache-read input tokens.
cache_creation_input_tokens
:Maybe<number>
Number of cache-creation input tokens.
total_cost_usd
:Maybe<number>
Total cost in USD.
TracerConfig
Configuration options for initializing a Tracer. Credentials are resolved in order: explicit arguments first, then environment variables.
JudgmentTracerProvider
Global singleton that manages tracer registration and context propagation. Acts as a proxy TracerProvider that delegates to the currently active tracer's underlying OpenTelemetry provider.
Last updated on