# L2 Observability and evaluation

Model class: Opus (claude-opus-5-5). Date: 2026-10-13.

## Verdict

Observability names the record of a run: trace, span or observation, session. Evaluation and measurement keep three further things apart: the instrument (criterion, rubric, score config), the act (a person or a judge model judging) and the result (a score). Prompts and datasets are instruments too: the work is made with them or tested against them. No standard and no provider has one word for all of this. Providers say "observability and evaluation". Our five resources cover the record and the instruments but not the result: a score, an observation and a dataset run have no `miadi-tracing:` address. The OpenTelemetry GenAI conventions (Development status, own repository since 2026) carry traces, prompt names and one evaluation event, with no score config, dataset or label, so an adapter cannot translate through OpenTelemetry alone. Name the layer by its three classes (record, instrument, judgment), not by one borrowed word, and add `score` and `observation` as resources.

## Terms

| term | field or provider | definition there | source id | maps to our | fit |
|---|---|---|---|---|---|
| trace tree, span | Dapper | Spans are tree nodes for units of work, linked to a parent, sharing one trace id. | sigelman-2010-dapper | trace, observation | close |
| annotation | Dapper | A timestamped, application-defined record kept inside a span. | sigelman-2010-dapper | observation | false friend (not a judgment) |
| task tree | X-Trace | The operations one task causes across layers, rebuilt from metadata carried with each request. | fonseca-2007-xtrace | trace | close |
| administrative domain | X-Trace | The part of a system one organization controls, which receives its own slice of the task tree. | fonseca-2007-xtrace | domain | partial |
| span | OpenTelemetry | An operation within a transaction. | otel-spec-2026 | observation | close |
| span link | OpenTelemetry | A causal tie from a span to spans in other traces. | otel-spec-2026 | relation | partial |
| event | OpenTelemetry | A timestamped log record tied to the active span. The Span Event API is being deprecated for it. | otel-spec-2026 | observation | close |
| resource | OpenTelemetry | The entity that produces the telemetry, such as a service. | otel-spec-2026 | domain | false friend |
| `gen_ai.operation.name` | OTel GenAI | The kind of operation: `chat`, `invoke_agent`, `execute_tool`, `plan`, `retrieval` and others. | otel-genai-semconv-2026 | observation | close |
| `gen_ai.conversation.id` | OTel GenAI | The identifier of a conversation (session, thread). | otel-genai-semconv-2026 | session | close |
| `gen_ai.prompt.name`, `.version` | OTel GenAI | A prompt's name, and a version string in any scheme. The examples include `prod`. | otel-genai-semconv-2026 | prompt, label | partial |
| `gen_ai.evaluation.result` | OTel GenAI | An event with an evaluation name, value, label and explanation, parented to the evaluated span. | otel-genai-semconv-2026 | score | close |
| `EVALUATOR` span kind | OpenInference | A call that assesses model outputs. | openinference-semconv | judgment | exact |
| `annotation.*`, `evaluation.*` | OpenInference | One result shape under two prefixes, with `annotator_kind` `HUMAN`, `LLM` or `CODE`. | openinference-semconv | score | close |
| observation | Langfuse | One step of the application, typed as event, span, generation, agent, tool, chain, retriever, evaluator, embedding or guardrail. | langfuse-tracing-model | observation | exact |
| session | Langfuse | The traces of one user interaction. | langfuse-tracing-model | session | exact |
| environment | Langfuse | The deployment context, such as `production` or `staging`. | langfuse-tracing-model | domain | false friend |
| score | Langfuse | The object that stores an evaluation result, tied to exactly one trace, observation, session or dataset run. | langfuse-scores-datasets | score | exact |
| score config | Langfuse | A schema for scores: name, data type (numeric, categorical, boolean, text), range or categories. Archived, never edited. | langfuse-scores-datasets | score-config, criterion | exact, partial |
| score source | Langfuse | `API`, `EVAL` or `ANNOTATION`: the channel a score came through. | langfuse-scores-datasets | judgment | partial |
| prompt label | Langfuse | A pointer to a version. `production` is the default, `latest` moves on each new version. | langfuse-prompts | label | exact |
| Feedback, Expectation | MLflow | Feedback is an assessment result with a rationale and a source (`HUMAN`, `LLM_JUDGE`, `CODE`). Expectation is the ground truth for an input. | mlflow-genai-concepts | score, dataset | close |
| Scorer | MLflow | A function that assesses output quality. | mlflow-genai-concepts | criterion, judgment | partial |
| run, thread, feedback | LangSmith | A run is one unit of work. A thread is the traces of one multi-turn session. Feedback scores a run against a criterion. | langsmith-concepts | observation, session, score | close |
| level of measurement | Stevens | Nominal, ordinal, interval or ratio, each permitting different statistics. | stevens-1946 | score-config | partial |
| validity | Messick | How far evidence supports the inferences and uses drawn from scores. | messick-1995 | criterion | partial |
| kappa, alpha | Cohen; Krippendorff | Chance-corrected agreement: kappa for two raters on a nominal scale, alpha for any number of coders, any level, missing data allowed. | cohen-1960, hayes-krippendorff-2007 | judgment | close |
| LLM-as-a-judge | Zheng et al. | A strong model grades outputs. It agrees with humans above 80% but shows position, verbosity and self-enhancement bias. | zheng-2023-llm-judge | judgment | exact |
| quality criterion | Howcroft et al.; van der Lee et al. | The aspect of quality an evaluation assesses. 165 NLG papers used over 200 names for them. | howcroft-2020, vanderlee-2021 | criterion | exact |

## Adapter crosswalk

| ours | Langfuse | OpenTelemetry GenAI | MLflow | LangSmith |
|---|---|---|---|---|
| trace | trace | trace (spans sharing a trace id), root span `invoke_agent` or `invoke_workflow` | Trace (TraceInfo, TraceData) | trace (its root run) |
| prompt | prompt: name, immutable integer versions, type text or chat | none as entity: attributes `gen_ai.prompt.name`, `gen_ai.prompt.version` | Prompt in the Prompt Registry, immutable versions | prompt, each version a commit |
| session | session (`session_id`) | attribute `gen_ai.conversation.id` | trace metadata `mlflow.trace.session` | thread (`thread_id` metadata) |
| dataset | dataset | none | Evaluation Dataset | dataset, versioned on change, with splits |
| score-config | score config | none (`gen_ai.evaluation.name` is a string) | none as schema (Scorer is a function) | none found (evaluator is closest) |
| score | score | event `gen_ai.evaluation.result` | Assessment of kind Feedback | feedback |
| observation | observation, ten types | span, typed by `gen_ai.operation.name` | Span with a span type | run |
| dataset item | dataset item, with optional source trace | none | dataset record (inputs, expectations, source) | example |
| dataset run | dataset run, its run items each linked to a trace | none | evaluation run (not verified) | experiment |
| prompt label | label | none (version string may carry `prod`) | alias | commit tag |
| domain | project, one per domain, own keys | resource attributes (partial) | experiment (not verified) | project |

## Findings

**L2-F1.** The fields keep the record, the instruments and the results apart. Our five resources hold the record (trace, session) and the instruments (prompt, dataset, score-config). The result is missing. A Langfuse score targets exactly one trace, observation, session or dataset run, so a judgment on one step of a trace has no `miadi-tracing:` address today.

**L2-F2.** Every provider except OpenTelemetry keeps the act of judging apart from its result. Langfuse has an `evaluator` observation type and a score. OpenInference has an `EVALUATOR` span kind and `evaluation.*` results. MLflow has a Scorer and Feedback. LangSmith has evaluators and feedback. The instrument, the act and the result are three types.

**L2-F3.** OpenTelemetry carries only the result. The GenAI conventions moved to `open-telemetry/semantic-conventions-genai` (repository created 2026-05-05, no release on 2026-10-13), and every page is at Development status. Evaluation is one event, `gen_ai.evaluation.result`. There is no judge kind, no score schema, no dataset, no label, and the prompt and the session are attributes, not entities. An adapter can export traces through OpenTelemetry. Prompts, datasets and score configs need the provider's own API.

**L2-F4.** Score data types map onto Stevens' scales only in part. Boolean is nominal with two classes. Categorical is nominal or ordinal, and the Langfuse config does not say which, although its categories carry numeric values. Numeric is interval or ratio by type, but a 1-to-5 rating stored as numeric is ordinal. Text is not a scale. Which statistics are permissible depends on the scale, so a criterion should declare its level of measurement.

**L2-F5.** Validity belongs to the inference drawn from a score, not to the score config (Messick). A config holds a name, a type and a range. Howcroft et al. found over 200 names for quality criteria across 165 papers. A name alone does not carry what is measured or what the score may be used for.

**L2-F6.** No provider we read stores agreement between judgments as an object. MLflow aggregates feedback from several annotators. Krippendorff's alpha needs several judgments of one target and a declared level of measurement (L2-F4). The data model must allow many scores per criterion per target, each naming its judge.

**L2-F7.** A judge model's score needs the judge named: model and prompt version. Zheng et al. report position, verbosity and self-enhancement bias. Langfuse's `EVAL` source names the channel, not the model. The `evaluator` observation can name it. Metric gaming in self-improving loops is covered in `foundations/self-improving-agent-loops/` (synthesis items 1 to 3).

**L2-F8.** Four false friends. OpenTelemetry's "resource" is the producer of telemetry, while ours is a kind of record. Langfuse's "environment" is a deployment stage, not our domain. Dapper's "annotation" is a log line in a span, while OpenInference's is a judgment. OpenInference itself uses `annotation.*` and `evaluation.*` for one shape.

**L2-F9.** Version and label are distinct in every provider. Langfuse label, MLflow alias and LangSmith commit tag are movable pointers to immutable versions. OpenTelemetry's `gen_ai.prompt.version` example `prod` mixes the two. Our entry keeps `version` and `label` apart, which matches the providers.

**L2-F10.** Our default relations conflate instrument and act. An episode `is-scored-by` a score-config reads as if the config judged. The config is the criterion a judge used. `is-evaluated-with` on a dataset fits a test set, not a corpus the story domain writes or trains with. The dataset split belongs to the datasets lane.

**L2-F11.** "Tracing" names one telemetry signal. OpenTelemetry's signals are traces, metrics, logs and baggage. Majors et al. reject the "three pillars" framing for wide structured events. Prompts, datasets and score configs are none of these signals. They are managed instruments, so "tracing" names about half of the layer.

## Where the field has no word

- No standard term covers trace, prompt registry, dataset and evaluation together. Vendors use "LLM engineering platform" or "AI engineering platform".
- No term separates a person's judgment from an automated score. All providers use one object with a source field.
- No term for traced human authorship. Telemetry assumes software operations, while our `story` domain traces what an author writes.
- No standard for a criterion's definition and intended use. The evaluation sheet of Howcroft et al. comes closest.
- No object for agreement among judgments (L2-F6).

## Candidate names

| name | reason | cost |
|---|---|---|
| observability and evaluation | the fields' own pairing, used by every provider read | two words, and observability means operations monitoring |
| record, instrument, judgment | three classes the fields already separate, not one umbrella | three words to teach, and no provider uses them as types |
| inspection | the Factory's own intention, "inspectable and revisitable" | no field uses it, so nothing external maps to it |
| assessment | MLflow's parent type for feedback and expectations | misses traces and prompts, and ties us to one provider's word |
| instrumentation | the OpenTelemetry word for code that emits telemetry | collides with the measuring instrument (the score config) |
| evidence | the Factory names "interface evidence" | legal sense, and no field defines it |

Provenance as an umbrella belongs to the provenance lane.

## Ontology implications

Match types follow SKOS mapping properties. The vocabulary form belongs to the ontology lane.

- `trace` → `langfuse:Trace` (exact), `otel:Trace` (close), `mlflow:Trace` (exact), `langsmith:Trace` (close)
- `observation` (proposed) → `langfuse:Observation` (exact), `otel:Span` (close), `langsmith:Run` (close)
- `session` → `langfuse:Session` (exact), `otel:gen_ai.conversation.id` (related, attribute), `langsmith:Thread` (close)
- `prompt` → `langfuse:Prompt` (exact), `mlflow:Prompt` (exact), `otel:gen_ai.prompt.name` (related, attribute)
- `label` → `langfuse:PromptLabel` (exact), `mlflow:Alias` (exact), `langsmith:CommitTag` (close)
- `dataset` → `langfuse:Dataset` (exact), `langsmith:Dataset` (exact), `mlflow:EvaluationDataset` (narrow)
- `score-config` → `langfuse:ScoreConfig` (exact), `otel:gen_ai.evaluation.name` (related), `mlflow:Scorer` (related)
- `criterion` (proposed) → `howcroft:QualityCriterion` (exact), `score-config` (broad: a config narrows a criterion to a type and range)
- `score` (proposed) → `langfuse:Score` (exact), `otel:gen_ai.evaluation.result` (close), `mlflow:Feedback` (close), `langsmith:Feedback` (close)
- `judgment` (proposed, the act) → `openinference:EVALUATOR` (close), `langfuse:Observation[evaluator]` (close)
- score data type → `stevens:LevelOfMeasurement` (close for numeric, categorical, boolean; none for text)
- `domain` → `langfuse:Project` (close), `langsmith:Project` (close), `otel:Resource` (related), `langfuse:Environment` (no match)

## Cautions

- OpenTelemetry GenAI names are at Development status and may change in a minor release. The pages on opentelemetry.io now say "Moved".
- The Langfuse observation types (ten) and score fields were read on 2026-10-13. Langfuse changes its model often.
- MLflow pages refused WebFetch (403). Text was read with curl. MLflow "evaluation run" and "experiment as domain" are not verified.
- No LangSmith equivalent of a score config was confirmed.
- The Majors et al. position comes from secondary summaries. The book page refused scripted access.
- Zheng et al.'s 80% agreement is on chat-assistant preferences, not fiction or narrative. It does not transfer to the `story` domain.
- Stevens' doctrine of permissible statistics is disputed in later literature, not surveyed here.

## Sources

```yaml
- id: sigelman-2010-dapper
  field: distributed tracing
  title: "Dapper, a Large-Scale Distributed Systems Tracing Infrastructure"
  authors: [Sigelman, Barroso, Burrows, Stephenson, Plakal, Beaver, Jaspan, Shanbhag]
  year: 2010
  url: https://research.google/pubs/dapper-a-large-scale-distributed-systems-tracing-infrastructure/
  doi: null
  supports: trace tree, span, annotation as timestamped span record (Google Technical Report dapper-2010-1)
  verified: true
  verified_how: HTTP 200; PDF text read, sections 2.1 and 2.3
- id: fonseca-2007-xtrace
  field: distributed tracing
  title: "X-Trace: A Pervasive Network Tracing Framework"
  authors: [Fonseca, Porter, Katz, Shenker, Stoica]
  year: 2007
  url: https://www.usenix.org/conference/nsdi-07/x-trace-pervasive-network-tracing-framework
  doi: null
  supports: task tree, X-Trace metadata, administrative domain slices
  verified: true
  verified_how: HTTP 200; PDF text read
- id: majors-2022-obs-eng
  field: observability
  title: "Observability Engineering"
  authors: [Majors, Fong-Jones, Miranda]
  year: 2022
  url: https://www.oreilly.com/library/view/observability-engineering/9781492076438/
  doi: null
  supports: critique of the three pillars framing, wide structured events
  verified: false
  verified_how: URL returns 403 to scripts; position read in secondary summaries only
- id: otel-spec-2026
  field: observability standard
  title: "OpenTelemetry Specification Overview; Deprecating Span Events API (blog, 2026)"
  authors: [OpenTelemetry Authors]
  year: 2026
  url: https://opentelemetry.io/docs/specs/otel/overview/
  doi: null
  supports: trace, span, span context, links, resource, baggage, signals; span events move to log-based events
  verified: true
  verified_how: HTTP 200 and read; blog read at https://opentelemetry.io/blog/2026/deprecating-span-events/index.md
- id: otel-genai-semconv-2026
  field: observability standard
  title: "Semantic Conventions for Generative AI (semantic-conventions-genai)"
  authors: [OpenTelemetry Authors]
  year: 2026
  url: https://github.com/open-telemetry/semantic-conventions-genai
  doi: null
  supports: Development status, operation names, conversation.id, prompt.name/version, gen_ai.evaluation.result
  verified: true
  verified_how: raw docs/gen-ai/*.md and registry read; GitHub API created_at 2026-05-05, no releases
- id: openinference-semconv
  field: LLM observability convention
  title: "OpenInference Semantic Conventions"
  authors: [Arize AI]
  year: 2026
  url: https://github.com/Arize-ai/openinference/blob/main/spec/semantic_conventions.md
  doi: null
  supports: span kinds incl. EVALUATOR, annotation.* and evaluation.* prefixes, annotator_kind
  verified: true
  verified_how: HTTP 200; raw spec read
- id: langfuse-tracing-model
  field: provider docs
  title: "Langfuse Observability Data Model; Observation Types"
  authors: [Langfuse]
  year: 2026
  url: https://langfuse.com/docs/observability/data-model
  doi: null
  supports: trace, observation, ten observation types, session, environment, user
  verified: true
  verified_how: HTTP 200 and read; types at /docs/observability/features/observation-types
- id: langfuse-scores-datasets
  field: provider docs
  title: "Langfuse Scores Data Model; Experiments Data Model; Annotation Queues"
  authors: [Langfuse]
  year: 2026
  url: https://langfuse.com/docs/evaluation/evaluation-methods/data-model
  doi: null
  supports: score, score data types, score config, source, dataset, dataset item, dataset run
  verified: true
  verified_how: HTTP 200 and read; also /docs/evaluation/experiments/data-model
- id: langfuse-prompts
  field: provider docs
  title: "Langfuse Prompt Management Data Model"
  authors: [Langfuse]
  year: 2026
  url: https://langfuse.com/docs/prompt-management/data-model
  doi: null
  supports: prompt, immutable versions, labels production and latest, generation link
  verified: true
  verified_how: HTTP 200 and read; link page /docs/prompt-management/features/link-to-traces
- id: mlflow-genai-concepts
  field: provider docs
  title: "MLflow GenAI Concepts: Feedback, Expectations, Scorers, Evaluation Datasets, Prompt Registry"
  authors: [MLflow Project]
  year: 2026
  url: https://mlflow.org/docs/latest/genai/concepts/feedback/
  doi: null
  supports: Feedback, Expectation, Scorer, Evaluation Dataset, alias, session metadata
  verified: true
  verified_how: HTTP 200 with curl; HTML stripped and read
- id: langsmith-concepts
  field: provider docs
  title: "LangSmith Observability, Evaluation and Prompt Engineering Concepts"
  authors: [LangChain]
  year: 2026
  url: https://docs.langchain.com/langsmith/observability-concepts
  doi: null
  supports: run, trace, thread, project, feedback, dataset, example, experiment, commit tag
  verified: true
  verified_how: HTTP 200 and read; also evaluation-concepts and prompt-engineering-concepts
- id: stevens-1946
  field: measurement theory
  title: "On the Theory of Scales of Measurement"
  authors: [Stevens]
  year: 1946
  url: https://doi.org/10.1126/science.103.2684.677
  doi: 10.1126/science.103.2684.677
  supports: nominal, ordinal, interval, ratio scales
  verified: true
  verified_how: Crossref metadata
- id: messick-1995
  field: measurement validity
  title: "Validity of psychological assessment"
  authors: [Messick]
  year: 1995
  url: https://doi.org/10.1037/0003-066X.50.9.741
  doi: 10.1037/0003-066X.50.9.741
  supports: validity as a property of score inferences and use
  verified: true
  verified_how: Crossref metadata; content from prior knowledge
- id: cohen-1960
  field: annotation agreement
  title: "A Coefficient of Agreement for Nominal Scales"
  authors: [Cohen]
  year: 1960
  url: https://doi.org/10.1177/001316446002000104
  doi: 10.1177/001316446002000104
  supports: kappa
  verified: true
  verified_how: Crossref metadata
- id: hayes-krippendorff-2007
  field: annotation agreement
  title: "Answering the Call for a Standard Reliability Measure for Coding Data"
  authors: [Hayes, Krippendorff]
  year: 2007
  url: https://doi.org/10.1080/19312450709336664
  doi: 10.1080/19312450709336664
  supports: alpha for any number of coders, levels, missing data
  verified: true
  verified_how: Crossref metadata; content from prior knowledge
- id: zheng-2023-llm-judge
  field: LLM evaluation
  title: "Judging LLM-as-a-Judge with MT-Bench and Chatbot Arena"
  authors: [Zheng, Chiang, Sheng, Zhuang, Wu, Zhuang, Lin, Li, Li, Xing, Zhang, Gonzalez, Stoica]
  year: 2023
  url: https://proceedings.neurips.cc/paper_files/paper/2023/hash/91f18a1287b398d378ef22505bf41832-Abstract-Datasets_and_Benchmarks.html
  doi: 10.48550/arXiv.2306.05685
  supports: judge biases, above 80% agreement with humans
  verified: true
  verified_how: DataCite metadata; NeurIPS abstract read
- id: vanderlee-2021
  field: human evaluation of generated text
  title: "Human evaluation of automatically generated text: Current trends and best practice guidelines"
  authors: [van der Lee, Gatt, van Miltenburg, Krahmer]
  year: 2021
  url: https://doi.org/10.1016/j.csl.2020.101151
  doi: 10.1016/j.csl.2020.101151
  supports: variation in human evaluation practice, best practices; extends INLG 2019, doi 10.18653/v1/W19-8643
  verified: true
  verified_how: Crossref metadata for both; 2019 abstract read, 2021 text not read
- id: howcroft-2020
  field: human evaluation of generated text
  title: "Twenty Years of Confusion in Human Evaluation: NLG Needs Evaluation Sheets and Standardised Definitions"
  authors: [Howcroft, Belz, Clinciu, Gkatzia, Hasan, Mahamood, Mille, van Miltenburg, Santhanam, Rieser]
  year: 2020
  url: https://aclanthology.org/2020.inlg-1.23/
  doi: 10.18653/v1/2020.inlg-1.23
  supports: 165 papers, over 200 quality criterion names, evaluation sheets
  verified: true
  verified_how: Crossref metadata; ACL Anthology abstract read
```

## Search trail

1. Read the three tracing source files, `PREDICTIONS.md` and the self-improving-agent-loops README.
2. The opentelemetry.io GenAI page said "Moved". Read `semantic-conventions-genai` docs and registry with curl, repository dates through the GitHub API.
3. OpenTelemetry overview, a search for the span-event deprecation, the blog post.
4. Langfuse: data model, observation types, scores, experiments, prompts, prompt linking, annotation queues.
5. OpenInference raw spec. MLflow by curl after a 403. LangSmith after a 308 redirect.
6. Dapper and X-Trace PDFs through pdftotext.
7. Crossref for seven DOIs, DataCite for the arXiv DOI, HTTP status for every URL.
8. Searches for Majors et al. and van der Lee 2021 returned secondary sources only.

LANE-COMPLETE L2
