Build summary: OpenTelemetry (O0 to O9)¶
What the OpenTelemetry build delivered, in one page. Every decision and fallback, with its alternatives, is in the build log. Nothing was pushed, published or deployed; no real model was called and no vendor account was used.
What shipped¶
| Phase | Commit | What shipped |
|---|---|---|
| O0–O7 | af23a08 |
credencestack[otel]; credencestack.telemetry (config, semconv, spans, tracer, redaction, validation); the span model built from the trace-event pipeline; --otel* flags on run, bench run, adapters conformance and mcp serve; otel check and otel print; otel/ids.json and "View trace" links; W3C Trace Context to HTTP and MCP agents; conformance check otel (all ten connectors pass); golden span trees; Collector integration test and CI job; Action inputs with masked headers |
| O8 | af23a08 |
Observability docs: overview, quickstart, Collector, troubleshooting, eleven platform guides; Step 8 in every guide; concepts, report, CI, README, home, glossary, CHANGELOG, ROADMAP, use case 15; contributor docs (architecture, module reference, decision 0003, pinned conventions) |
| O9 | the commit that adds this summary | Release check extended; version 1.0.0rc3; this summary; local tag v1.0.0-rc3 |
Pinned conventions¶
The GenAI attribute registry as published in opentelemetry-semantic-conventions
0.66b2 (schema URL https://opentelemetry.io/schemas/1.44.0), using the 1.37+
names (gen_ai.provider.name, not gen_ai.system). The conventions are in Development
status. The semantic-conventions-genai repository was not read (network limited to
packages), so span-name formats, kinds, requirement levels, the message JSON shape and
the evaluation event are TODO-verify. Details: pinned conventions.
Connectors: model calls and framework spans¶
| Connector | Valid span tree (conformance) | chat spans |
Token counts | Framework's own spans nest |
|---|---|---|---|---|
| Python | yes | no | no | n/a |
| HTTP | not run (no committed report) | no | no | via traceparent header |
| LangChain and LangGraph | yes | yes | yes | with an instrumentation library on the global provider (TODO-verify) |
| MCP (HTTP and stdio) | yes | no | no | via TRACEPARENT and the SDK's _meta propagation, if the agent continues it |
| OpenAI Agents SDK | yes | yes | yes | only through a tracing processor that converts to OpenTelemetry (TODO-verify) |
| Microsoft Agent Framework | yes | yes | yes | once its observability is enabled (TODO-verify) |
| AWS Strands | yes | yes | no (attributed after the run) | yes, global provider (TODO-verify any setting) |
| Google ADK | yes | yes | yes | yes, global provider (TODO-verify any setting) |
| Claude Agent SDK | yes | yes | yes | no: the CLI is a separate process |
| CrewAI | yes | yes | yes | no: CrewAI's telemetry is kept off by the connector |
The scripted model's token counts are estimates and are never exported.
Decisions and fallbacks¶
All are in the build log. The main ones:
- One listener on
Environment.recordbuilds every span: no per-connector code. - The GenAI repository and vendor docs were not read (network limited to installing packages); everything not in the installed registry or the supplied facts is TODO-verify.
- The OpenTelemetry API is installed with the core (inspect-ai depends on fastapi, which depends on it). "Core without OTel" is checked as no SDK or exporter installed and no CredenceStack telemetry imported when off.
- No config file: CLI flags and environment variables.
http/jsonis refused with a clear message (no Python exporter for it).- Two failed batches and the exporter stops trying: a run is never slowed down.
- Scenario spans stay open until grading and end with their episode; the grade span is zero-length. Only failing findings are events.
gen_ai.response.modelandfinish_reasonsare not emitted (no adapter records them);gen_ai.provider.nameonly when the model id names the provider.- The Merkle root is not on the run span (signing is a separate command);
otel/ids.json, covered by the signature, links the other way. otel-headers-secrettakes the secret's value (composite actions cannot read secrets by name); masked before use.- Metrics were not built (roadmap). Weaver validation was not set up (no container or binary available here). The Collector test was written and runs in CI but was skipped here (no Docker).
- The sample report was not regenerated: the new template renders it byte for byte.
TODO-verify¶
From the register, new in this build:
- GenAI span name formats and kinds
- GenAI requirement levels (
gen_ai.provider.name) - GenAI message JSON shape (content capture)
- The
gen_ai.evaluation.resultevent - The GenAI repository commit matching the 0.66b2 registry
Platform values still to confirm (all in external links):
- Langfuse: Japan and HIPAA hosts; the
x-langfuse-ingestion-version=4header's status; attribute mapping; trace URL pattern; menu names. - Datadog: the OTLP intake URL per site; the Agent OTLP route and where it lands; menu paths; attribute mapping; trace URL; docs URL.
- Traceloop: endpoint; auth header; menus; OpenLLMetry and an existing provider.
- Splunk: realm traces URL; token header name; Collector distribution ports; menus; tag indexing.
- Grafana, Honeycomb, New Relic, Phoenix, Elastic: endpoints, auth headers, menus, attribute naming.
- Jaeger and the Collector: image tags.
- Frameworks: the settings that make each framework export through the global provider.
External links to check¶
Fourteen new URLs, all TODO-verify except the two Langfuse endpoints supplied as checked; see external links.
Try it with your own accounts¶
Install once: pip install "credencestack[otel]" (or uv sync --extra otel in the
checkout). Each try uses the offline scripted agent, so no model key is needed.
Langfuse
- In Langfuse (EU cloud, US cloud or self-hosted), create a project and its API keys.
- In a shell:
export LANGFUSE_PUBLIC_KEY=pk-lf-... LANGFUSE_SECRET_KEY=sk-lf-..., thenAUTH="$(printf '%s:%s' "$LANGFUSE_PUBLIC_KEY" "$LANGFUSE_SECRET_KEY" | base64 | tr -d '\n')",export OTEL_EXPORTER_OTLP_ENDPOINT=https://cloud.langfuse.com/api/public/otel(US:https://us.cloud.langfuse.com/api/public/otel; self-hosted:<host>/api/public/otel),export OTEL_EXPORTER_OTLP_HEADERS="Authorization=Basic%20${AUTH}". credencestack otel checkmust print OK.credencestack run -p payments -p resilience --agent credencestack.agents:scripted_naive --otel.- In Langfuse's traces list (last hour), open
credencestack scenario PAY-001 #0; check theinvoke_agentandexecute_toolobservations andcredencestack.result=fail. - Optionally repeat with
,x-langfuse-ingestion-version=4appended to the headers.
Datadog
- Have a Datadog API key and know your site; find the OTLP traces intake URL for that site in Datadog's LLM Observability docs.
export OTEL_EXPORTER_OTLP_TRACES_ENDPOINT=<that URL>,export OTEL_EXPORTER_OTLP_TRACES_PROTOCOL=http/protobuf,export OTEL_EXPORTER_OTLP_TRACES_HEADERS="dd-api-key=${DD_API_KEY},dd-otlp-source=llmobs".credencestack otel check, thencredencestack run -p payments -p fincrime --agent credencestack.agents:scripted_naive --otel.- In LLM Observability, look for the
credencestack scenario ...traces. If they do not appear, add,DD-LLMObs-Enabled=trueto the headers andexport OTEL_RESOURCE_ATTRIBUTES=dd_llmobs_enabled=true, and run again. - Optional: the Agent route. Enable the Datadog Agent's OTLP receiver, unset the three
variables,
export OTEL_EXPORTER_OTLP_ENDPOINT=http://localhost:4318, run again.
Traceloop
- Get a Traceloop API key and, from Traceloop's docs, its OTLP endpoint and auth header.
export OTEL_EXPORTER_OTLP_ENDPOINT=<endpoint>,export OTEL_EXPORTER_OTLP_HEADERS="<header>=<value>".credencestack otel check; thencredencestack run -p payments --agent credencestack.agents:scripted_naive --otel.- In Traceloop's traces view, open
credencestack scenario PAY-001 #0. Note the header and endpoint that worked so the guide's TODO-verify rows can be cleared.
Splunk Observability Cloud
- Know your realm and create an access token with ingest permission.
- Route A: run the Splunk Distribution of the OpenTelemetry Collector with them, then
export OTEL_EXPORTER_OTLP_ENDPOINT=http://localhost:4318. Route B: from Splunk's docs, setOTEL_EXPORTER_OTLP_TRACES_ENDPOINTto the realm's OTLP URL andOTEL_EXPORTER_OTLP_TRACES_HEADERSto the token header. credencestack otel check; thencredencestack run -p payments -p kyc --agent credencestack.agents:scripted_naive --otel.- In Splunk APM, open the service
credencestackand acredencestack scenario ...trace.
After each try, record what you confirmed in docs/dev/todo-verify.md and
docs/dev/external-links.md, and update the "Last verified" line on the platform's page.
Local tag¶
v1.0.0-rc3 on the commit that adds this summary. v1.0.0-rc1 and v1.0.0-rc2 are
unchanged. None is pushed.
Status¶
Release check PASS (v1.0.0rc3), with the private pack path set; the Collector test was
skipped here (no Docker) and runs in CI. Ready for manual platform trials (above) and for
clearing the TODO-verify items before a release.