Glossary

The 78 terms Observability for LLM Applications defines, each in the book's own words, with the section that defines it.

From Edition 2026.11.2, the book's current edition. Where a definition depends on a package, it says the version this edition pins and runs its examples on.

A

agent-invocation span

An agent-invocation span is the span of one invocation of an agent.

Defined in Span types for each step, chapter 2. In the book since Edition 2026.11.1. Permanent link to agent-invocation span

attribute

An attribute is a key and a value recorded on a span or a resource, such as gen_ai.request.model.

Defined in Spans by hand, chapter 1. In the book since Edition 2026.11.1. Permanent link to attribute

automatic instrumentation

automatic instrumentation collects telemetry with no change to the application's source code

Defined in A call through the client, chapter 3. In the book since Edition 2026.11.1. Permanent link to automatic instrumentation

B

backend

A backend stores spans and answers queries over them.

Defined in The exporter sends each span over OTLP, chapter 5. In the book since Edition 2026.11.1. Permanent link to backend

baggage

Baggage is a set of key-value pairs that travels with the context into every later process when every process along the way propagates it.

True for opentelemetry-api 1.45.2, as this edition pins it.

Defined in What goes in baggage, chapter 4. In the book since Edition 2026.11.1. Permanent link to baggage

burn rate

the burn rate is how fast failures spend it, where 1 spends it exactly by the period's end

Defined in Service-level objectives, chapter 9. In the book since Edition 2026.11.1. Permanent link to burn rate

C

cached input tokens

cached input tokens are the part its cache held

Defined in Three counts for each call, chapter 6. In the book since Edition 2026.11.1. Permanent link to cached input tokens

cardinality

A metric's cardinality is the number of distinct attribute combinations it is recorded with, each a series to store.

Defined in Cardinality, chapter 9. In the book since Edition 2026.11.1. Permanent link to cardinality

collector also OpenTelemetry Collector

A collector is a separate process that receives, processes and exports telemetry

Defined in The exporter sends each span over OTLP, chapter 5. In the book since Edition 2026.11.1. Permanent link to collector

content capture

Content capture is the instrumentation's switch for recording prompts and replies themselves, and it is off, NO_CONTENT, unless set.

True for opentelemetry-instrumentation-genai-openai 1.3b0, as this edition pins it.

Defined in The capture switch, chapter 3. In the book since Edition 2026.11.1. Permanent link to content capture

context propagation

Context propagation carries the context, the span's identity and any baggage, to the next process

Defined in The MCP SDK writes traceparent into _meta, chapter 4. In the book since Edition 2026.11.1. Permanent link to context propagation

cost

A call's cost is its tokens priced by a named, dated price table

Defined in Cost by route and step, chapter 6. In the book since Edition 2026.11.1. Permanent link to cost

cost attribution

cost attribution assigns each call's cost to the step, route and user that caused it

Defined in Cost by route and step, chapter 6. In the book since Edition 2026.11.1. Permanent link to cost attribution

counter

a counter only adds

Defined in Summing spans double counts, chapter 6. In the book since Edition 2026.11.1. Permanent link to counter

critical path

The critical path is the chain of spans that sets a message's end time; shortening any other span doesn't end the message sooner.

Defined in The critical path sets the end time, chapter 7. In the book since Edition 2026.11.1. Permanent link to critical path

D

detached root

A span that starts a trace of its own this way is a detached root: a span whose context was lost, so it starts a new trace and sits outside the message's trace.

Defined in Context is lost at a thread boundary, chapter 4. In the book since Edition 2026.11.1. Permanent link to detached root

Development status also Development

Every page of the GenAI conventions, version 0.1.0, is Development: its names may change in any release.

Defined in The standard at a Development version, chapter 2. In the book since Edition 2026.11.1. Permanent link to Development status

E

error also errors

An error is a span whose status is ERROR.

Defined in How a span records failure, chapter 8. In the book since Edition 2026.11.1. Permanent link to error

error budget

the error budget is the share it lets fail

Defined in Service-level objectives, chapter 9. In the book since Edition 2026.11.1. Permanent link to error budget

error.type also error type

error.type names the error: the class name the package writes, or a registry value where one exists, so failures can be counted by kind.

Defined in How a span records failure, chapter 8. In the book since Edition 2026.11.1. Permanent link to error.type

estimate from a sample

Scaling a head sample's total by the inverse of its ratio estimates the whole, because every trace has the same chance of being kept: the kept total, times the inverse of the ratio, estimates the day.

Defined in Estimate the day's totals from a sample, chapter 11. In the book since Edition 2026.11.1. Permanent link to estimate from a sample

exporter

A span processor is called when each span starts and when it ends, and on end it hands the span to an exporter, which sends it somewhere: to memory, a file or an OTLP endpoint.

True for opentelemetry-sdk 1.45.2, as this edition pins it.

Defined in Spans by hand, chapter 1. In the book since Edition 2026.11.1. Permanent link to exporter

external content reference also content reference

An external content reference puts a pointer in the span, a *_ref attribute, and the content itself in a store with its own access rules.

Defined in Keep content by reference, chapter 12. In the book since Edition 2026.11.1. Permanent link to external content reference

F

failed message

A message fails, for the objective, when its user got no reply; a retry that recovered is not a failure.

Defined in Service-level objectives, chapter 9. In the book since Edition 2026.11.1. Permanent link to failed message

fallback reply also fallback replies

A fallback reply is the fixed text Ambrewick sends when the router chooses fallback; no model writes it, and its span says so.

Defined in Where the time went in twenty messages, chapter 1. In the book since Edition 2026.11.1. Permanent link to fallback reply

finish reason also finish reasons

The finish reason says why the model stopped: on its own (stop) or at the token cap (length).

Defined in Replies cut at the cap, chapter 8. In the book since Edition 2026.11.1. Permanent link to finish reason

G

generation

generation is it writing the reply, one token at a time

Defined in Prefill against generation, chapter 7. In the book since Edition 2026.11.1. Permanent link to generation

H

head sampling

Head sampling decides whether to keep a trace when it starts, before any span has run.

True for opentelemetry-sdk 1.45.2, as this edition pins it.

Defined in Head sampling decides before the trace runs, chapter 11. In the book since Edition 2026.11.1. Permanent link to head sampling

histogram

a histogram counts values into buckets with their sum and count

Defined in Summing spans double counts, chapter 6. In the book since Edition 2026.11.1. Permanent link to histogram

histogram bucket also bucket

A bucket counts the values between two edges, so a percentile read from buckets is known only to within its bucket.

Defined in Histogram buckets and what they hide, chapter 7. In the book since Edition 2026.11.1. Permanent link to histogram bucket

I

inference span

An inference span is the span of one client call to a generative model that answers the prompt or asks for a tool call.

Defined in Span types for each step, chapter 2. In the book since Edition 2026.11.1. Permanent link to inference span

input tokens

Input tokens are the whole prompt the model read, cached part included

Defined in Three counts for each call, chapter 6. In the book since Edition 2026.11.1. Permanent link to input tokens

instrumentation library

An instrumentation library is a package that makes the telemetry for another library's calls

Defined in A call through the client, chapter 3. In the book since Edition 2026.11.1. Permanent link to instrumentation library

instrumentation scope

The instrumentation scope names the unit of code that made a span, usually an instrumentation library, and here the assistant's own module.

Defined in Who made the span, chapter 2. In the book since Edition 2026.11.1. Permanent link to instrumentation scope

interval also intervals

An interval says how far a number would move had the day brought other messages drawn the same way; here, the middle 95% of 2,000 bootstrap resamples of messages.

Defined in Tail percentiles with intervals, chapter 7. In the book since Edition 2026.11.1. Permanent link to interval

K

keyed pseudonym also keyed pseudonyms

A keyed pseudonym replaces a user ID with an HMAC-SHA256 of it under a key, kept to twelve hexadecimal digits, the same for one user wherever it appears.

Defined in Keyed user pseudonyms, chapter 12. In the book since Edition 2026.11.1. Permanent link to keyed pseudonym

M

manual instrumentation

Manual instrumentation is spans your code makes

Defined in A call through the client, chapter 3. In the book since Edition 2026.11.1. Permanent link to manual instrumentation

message also messages

once an utterance is in the traffic it is a message

Defined in One message, one trace, chapter 1. In the book since Edition 2026.11.1. Permanent link to message

metric also metrics

A metric is a measurement the SDK aggregates over many operations and exports without each one's detail

True for opentelemetry-sdk 1.45.2, as this edition pins it.

Defined in Summing spans double counts, chapter 6. In the book since Edition 2026.11.1. Permanent link to metric

O

objective also service-level objective, SLO

An objective is the share of messages that must succeed, or finish within a time, over a period

Defined in Service-level objectives, chapter 9. In the book since Edition 2026.11.1. Permanent link to objective

orphan

An orphan is a span whose parent ID names a span the store does not hold.

Defined in Context is lost at a thread boundary, chapter 4. In the book since Edition 2026.11.1. Permanent link to orphan

OTLP

OTLP is OpenTelemetry's protocol for sending telemetry to a receiver.

Defined in The exporter sends each span over OTLP, chapter 5. In the book since Edition 2026.11.1. Permanent link to OTLP

output tokens

output tokens are what it wrote

Defined in Three counts for each call, chapter 6. In the book since Edition 2026.11.1. Permanent link to output tokens

P

paired comparison

A paired comparison runs two releases on the same messages and summarises, for each message, the release's value minus the baseline's.

Defined in Paired comparison on messages, chapter 10. In the book since Edition 2026.11.1. Permanent link to paired comparison

parent span

A span's parent is the span whose work it is part of

Defined in Spans by hand, chapter 1. In the book since Edition 2026.11.1. Permanent link to parent span

parent-based sampling

Parent-based sampling makes each span follow its parent's decision.

True for opentelemetry-sdk 1.45.2, as this edition pins it.

Defined in Children follow the root's decision, chapter 11. In the book since Edition 2026.11.1. Permanent link to parent-based sampling

percentile also p95, p99

The p-th percentile is the value at sorted position ceil(p/100 × n)

Defined in Tail percentiles with intervals, chapter 7. In the book since Edition 2026.11.1. Permanent link to percentile

personal-looking value also personal-looking values

A personal-looking value is a person, place or relation name in a request's text, written by the dataset's crowd workers and labelled by its slots; it looks like personal data in a span and is treated as such; it was written for the dataset and is not drawn from anyone's messages, though the dataset keeps some public names as written.

Defined in What leaks when capture is on, chapter 12. In the book since Edition 2026.11.1. Permanent link to personal-looking value

prefill

Prefill is the model reading the prompt

Defined in Prefill against generation, chapter 7. In the book since Edition 2026.11.1. Permanent link to prefill

price table

The price table is a dated, versioned file of rates per million tokens, read at each call's virtual timestamp.

Defined in The price table, chapter 6. In the book since Edition 2026.11.1. Permanent link to price table

prompt version

A release is marked by service.version on the resource and gen_ai.prompt.version on the inference span, so a query can split traces by release.

Defined in Release markers in the spans, chapter 10. In the book since Edition 2026.11.1. Permanent link to prompt version

R

redaction also redact, redacting

Redaction replaces a personal value in a span's attributes or events with a placeholder before the span is stored: in the process that made it, or where every service's spans pass.

Defined in Redaction is defence in depth, chapter 12. In the book since Edition 2026.11.1. Permanent link to redaction

regression

A regression is a release's change that makes a trace-derived number worse than its limit allows, judged by the end of its interval nearest the limit.

Defined in The CI gate, chapter 10. In the book since Edition 2026.11.1. Permanent link to regression

regression gate

A regression gate is a check in CI that stops a release from merging when a number read from its traces has moved past its threshold, judged against its paired interval.

Defined in The CI gate, chapter 10. In the book since Edition 2026.11.1. Permanent link to regression gate

release marker

A release is marked by service.version on the resource and gen_ai.prompt.version on the inference span

Defined in Release markers in the spans, chapter 10. In the book since Edition 2026.11.1. Permanent link to release marker

requirement level also requirement levels

A requirement level says when an attribute must appear: required, conditionally required, recommended or opt-in

Defined in Which attributes a span must carry, chapter 2. In the book since Edition 2026.11.1. Permanent link to requirement level

resource

The resource describes what made the telemetry and is the same on every span one tracer provider makes: service.name, service.version, service.instance.id.

True for opentelemetry-sdk 1.45.2, as this edition pins it.

Defined in Spans by hand, chapter 1. In the book since Edition 2026.11.1. Permanent link to resource

retention

Retention is how long the backend keeps each kind of telemetry.

Defined in What a kept trace costs to hold, chapter 11. In the book since Edition 2026.11.1. Permanent link to retention

retrieval span

A retrieval span is the span of one run of the application's retrieval step, which returns the documents relevant to a query.

Defined in Span types for each step, chapter 2. In the book since Edition 2026.11.1. Permanent link to retrieval span

retry also retries

A retry is another attempt at a failed call, recorded as its own span.

Defined in Retries under a timeout, chapter 8. In the book since Edition 2026.11.1. Permanent link to retry

S

sampling ratio

The ratio is the share of traces kept

Defined in Head sampling decides before the trace runs, chapter 11. In the book since Edition 2026.11.1. Permanent link to sampling ratio

schema URL

A schema URL names a published telemetry schema, a release of the semantic conventions, that the telemetry follows.

Defined in Who made the span, chapter 2. In the book since Edition 2026.11.1. Permanent link to schema URL

semantic convention also semantic conventions

A semantic convention is a published name, type and meaning for a span, attribute or metric, so that any backend reads the same name the same way.

Defined in The standard at a Development version, chapter 2. In the book since Edition 2026.11.1. Permanent link to semantic convention

span

A span is a named, timed operation with attributes and a parent, except the root, which has none.

True for opentelemetry-sdk 1.45.2, as this edition pins it.

Defined in One message, one trace, chapter 1. In the book since Edition 2026.11.1. Permanent link to span

span context

its span context, chiefly the trace ID, span ID and trace flags, is what lets other code and other processes name it

Defined in Spans by hand, chapter 1. In the book since Edition 2026.11.1. Permanent link to span context

span ID

a span ID is the number of one span

Defined in Spans by hand, chapter 1. In the book since Edition 2026.11.1. Permanent link to span ID

span kind also span kinds

A span's kind says where its work ran: CLIENT for a call out of the process, SERVER for one received, INTERNAL for work inside

Defined in The span kind follows the process, chapter 2. In the book since Edition 2026.11.1. Permanent link to span kind

span processor

A span processor is called when each span starts and when it ends, and on end it hands the span to an exporter

True for opentelemetry-sdk 1.45.2, as this edition pins it.

  • Implemented by: opentelemetry-sdk 1.45.2

Defined in Spans by hand, chapter 1. In the book since Edition 2026.11.1. Permanent link to span processor

span status

A span's status is unset, ok or error.

Defined in How a span records failure, chapter 8. In the book since Edition 2026.11.1. Permanent link to span status

T

tail latency also the tail

the tail is the slowest few percent of messages

Defined in Tail percentiles with intervals, chapter 7. In the book since Edition 2026.11.1. Permanent link to tail latency

tail sampling

Tail sampling decides once the whole trace is in, by what it holds.

Defined in Tail sampling reads the whole trace, chapter 11. In the book since Edition 2026.11.1. Permanent link to tail sampling

time to first chunk

Time to first chunk is the time from sending a model call to receiving the first streamed piece of its reply.

Defined in Time to first chunk, chapter 7. In the book since Edition 2026.11.1. Permanent link to time to first chunk

token count also token counts

A token count is the number of tokens a model reads or writes for one call, in that model's own vocabulary.

Defined in Three counts for each call, chapter 6. In the book since Edition 2026.11.1. Permanent link to token count

tool-execution span also tool-execution spans

A tool-execution span is the span of one run of a tool, named for the tool.

Defined in Span types for each step, chapter 2. In the book since Edition 2026.11.1. Permanent link to tool-execution span

trace

A trace is the record of one user message's work: every span made for it, sharing one trace ID. Their parent links join them into a tree, and a span whose parent is missing still belongs to the trace.

True for opentelemetry-sdk 1.45.2, as this edition pins it.

Defined in One message, one trace, chapter 1. In the book since Edition 2026.11.1. Permanent link to trace

trace ID

A trace ID is the number every span of one trace carries

Defined in Spans by hand, chapter 1. In the book since Edition 2026.11.1. Permanent link to trace ID

traceparent

traceparent is the W3C field for the span's part: the trace ID, the parent's span ID and the trace flags, of which the sampled flag is the only one defined.

Defined in The MCP SDK writes traceparent into _meta, chapter 4. In the book since Edition 2026.11.1. Permanent link to traceparent

U

utterance also utterances

A row of the dataset is an utterance

Defined in One message, one trace, chapter 1. In the book since Edition 2026.11.1. Permanent link to utterance

Each term is also marked up for machines, in schema.org, SKOS and our vocabulary.