WORKINGCHAPTER 07

OpenTelemetry: the data model, SDK, API and semantic conventions

One vocabulary for spans, metrics and logs, an API your libraries can depend on, and the attribute names that make three services' telemetry queryable as one

50 MINOBSERVABILITYUPDATED 2026-11-02
PREDICT

A popular HTTP client library adds OpenTelemetry instrumentation and depends on opentelemetry-api. Your application imports the library but never installs opentelemetry-sdk or configures an exporter. What happens at runtime?

OpenTelemetry (OTel) is four things that are easy to confuse because they ship together: a data model for traces, metrics and logs; an API that your code and your libraries call; an SDK that implements the API and decides where the data goes; and a set of semantic conventions that say what the attributes are called. Add OTLP, the wire protocol, and the Collector (its own chapter next), and you have the whole project. Most production confusion comes from not knowing which of the four a given problem belongs to.

Where it came from, and why that matters

In 2016 OpenTracing gave the industry a vendor-neutral tracing API with no implementation. In 2018 OpenCensus, from Google, shipped the opposite: a full implementation of tracing and metrics with no stable API separation. Both were adopted, neither won, and library authors had to pick one or instrument twice. In May 2019 the two projects announced a merger into OpenTelemetry under the CNCF, put the old projects into read-only mode by the end of that year, and described the new project as the next major version of both.

Two design decisions inherited from that merger explain most of what you will meet. From OpenTracing came the insistence on a thin API that libraries can depend on without pulling in an implementation. From OpenCensus came the idea that traces and metrics should share one SDK, one resource model and one exporter path. Logs were added later, as a bridge for existing logging frameworks rather than a new logging API, which is why the OTel logs story looks different from the other two signals.

The API/SDK split

The API is the package your code imports: opentelemetry-api in Python, io.opentelemetry:opentelemetry-api in Java, @opentelemetry/api in Node. It defines Tracer, Span, Meter, Counter, Histogram, context propagation and the global providers. Every implementation in the API package is a no-op. If you install only the API and call tracer.start_as_current_span("x"), you get a span object that records nothing and exports nothing.

The SDK is opentelemetry-sdk. It implements the providers for real: a TracerProvider with span processors, samplers and exporters; a MeterProvider with readers, views and aggregation; a LoggerProvider. The application, and only the application, installs the SDK and registers it as the global provider at start-up. From then on every API call made anywhere in the process, including inside third-party libraries, produces real data.

The rule that follows is the one that libraries violate most often: a library depends on the API and never on the SDK. The official guidance adds that a library should use the earliest stable API version (1.0.x) and avoid upgrading unless it needs a new feature. The reason is dependency hygiene. The SDK carries exporters, gRPC or HTTP clients and protobuf; the API carries almost nothing. If a library pulled in the SDK, two libraries could disagree about the SDK version, and the library would be deciding how the application exports telemetry, which is not its decision.

The split has a stability consequence that is worth stating because it is unusual. The OTel specification promises that a stable API major version is supported for at least three years after the next major version ships, and that backward-incompatible changes to the API are not made without a major version bump. The SDK promise is one year. That asymmetry is deliberate: you upgrade SDKs when you want new exporters or features; you almost never touch the API a library compiled against.

Resources: who produced this

Every batch of telemetry carries a resource: the attributes that describe the thing that produced it. Not the request, not the operation, the process. service.name, service.version, service.namespace, service.instance.id, host.name, container.id, k8s.pod.name, cloud.region. The resource is attached once per export batch rather than once per span, which is why a span with 10 attributes and a resource with 30 costs about the same on the wire as a span with 10 attributes alone.

The SDK builds the resource at start-up from three sources, merged in order:

  1. Defaults: telemetry.sdk.name, telemetry.sdk.language, telemetry.sdk.version (all required and stable), and service.name, which defaults to unknown_service:<executable> if you set nothing. If you see unknown_service:python in a backend, someone forgot the next two.
  2. The environment: OTEL_RESOURCE_ATTRIBUTES=key1=value1,key2=value2 and OTEL_SERVICE_NAME, which wins over a service.name in the attribute list.
  3. Code: Resource.create({...}) in Python, which merges what you pass with the environment-derived resource, so a deploy pipeline can inject service.version without a code change.

Resource detectors go further and fill in cloud, container and Kubernetes attributes by asking the metadata service or reading cgroup files. They run once, so they are cheap, and they are the reason a trace can tell you which pod and which node it came from without anyone writing that code.

One naming trap: the demo app sets deployment.environment=lab, which was the convention for years. The registry now marks deployment.environment as deprecated in favour of deployment.environment.name, which is stable. Both appear in the wild; dashboards that group by environment have to handle both until the fleet is migrated.

The trace model

A span is a named, timed operation with a context. Its context is a 16-byte trace id, an 8-byte span id, trace flags (one bit says sampled) and an optional trace state for vendor data. The span also has a parent span id or none (a root), a kind, start and end timestamps at nanosecond precision, a list of attributes, a list of timestamped events, a list of links to other spans and a status.

The kind matters more than people expect. SERVER means this span handled an inbound request while a client waited; CLIENT means it made an outbound request and waited; PRODUCER and CONSUMER cover message queues where the producer finishes before the consumer starts; INTERNAL is everything else and is the default. Backends use kind to compute service graphs and RED metrics: a service’s request rate is the rate of its SERVER spans, not of all its spans.

Status has three values: Unset, Ok and Error, and the precedence is Ok over Error over Unset. The HTTP conventions say that a 5xx sets Error on both sides, a 4xx sets Error on a client span and leaves a server span Unset, and 1xx to 3xx leave it Unset. That asymmetry is correct: a 404 is the server working as designed and the client being wrong.

Links are the tool for relationships that are not parent-child: a consumer span processing a batch of 50 messages links to the 50 producer spans, because a span can have one parent and a batch has many origins. You will use them in the module on queues.

The SDK caps what a span can carry. Events, links, attributes per event and attributes per link all default to 128; the general attribute count limit defaults to 128 as well and attribute value length is unlimited unless you set OTEL_SPAN_ATTRIBUTE_VALUE_LENGTH_LIMIT. Exceed the count and the SDK silently drops the extra attributes, which is a common reason a wide event looks truncated.

The metrics model: instruments and points

Metrics have two layers. The API gives you instruments that your code records into. The SDK aggregates those recordings into data points on a timer and exports them. Confusing the two is why people ask why a histogram has no percentile method: the instrument is the record side, aggregation is the SDK’s job.

There are seven instruments:

Instrument Sync or async Monotonic Use it for
Counter sync, .add(n) yes, n ≥ 0 requests served, bytes sent, errors
UpDownCounter sync, .add(±n) no active connections, queue depth
Histogram sync, .record(v) no latency, payload size, items per order
Gauge sync, .set(v) no a current value you have in hand when it changes
ObservableCounter async callback yes a counter the runtime already keeps, like CPU seconds
ObservableUpDownCounter async callback no a level the runtime already keeps, like heap in use
ObservableGauge async callback no temperature, config version, anything sampled

Observable instruments take a callback that the SDK invokes once per collection interval, which is why they suit values you read rather than compute: you do not want to poll /proc on every request. Instrument names are case-insensitive ASCII, start with a letter, allow _, ., - and /, and are at most 255 characters. Units are opaque strings up to 63 characters: s, ms, By, 1, or a brace annotation such as {item} for a count of things.

On the SDK side the data model has four live point types. A Sum has a monotonic flag and an aggregation temporality: cumulative, where every point repeats the same start timestamp and reports the total since start; or delta, where each point covers only its own interval. Prometheus wants cumulative; some vendors want delta. A Gauge is the last value in the interval. A Histogram is a count, a sum, optional min and max, and bucket counts against explicit boundaries. An ExponentialHistogram replaces the fixed boundaries with a scale parameter so buckets grow geometrically, which gives relative error bounds at any magnitude. The legacy Summary type exists for compatibility and is not recommended. The chapter on histograms and percentiles is about why that choice matters.

Data points can carry exemplars: a sampled value with the trace id and span id that produced it. An exemplar is how you click from a latency bucket to the one slow trace, and it exists only because traces and metrics share an SDK and a context.

Defaults you will tune: OTEL_METRIC_EXPORT_INTERVAL is 60 000 ms, so a new histogram takes up to a minute to appear; for the lab you will set it lower.

The log model

An OTel LogRecord has a Timestamp, an ObservedTimestamp (when the collector or SDK saw it, which differs when logs are scraped from files), a TraceId, SpanId and TraceFlags copied from the active context, a SeverityText and a SeverityNumber, a Body, the Resource, the InstrumentationScope, Attributes and an EventName. Severity numbers run 1 to 24 in six bands of four: TRACE is 1 to 4, DEBUG 5 to 8, INFO 9 to 12, WARN 13 to 16, ERROR 17 to 20, FATAL 21 to 24. Any record at 17 or above is an error by definition, which gives backends a language-independent way to count them.

The trace and span ids in the record are the point. The structured-logging chapter made you put a request id in every line by hand. OTel’s logging bridge does it for you: the Python LoggingHandler reads the current span context when a logging call happens and stamps the ids on the record. Logs become a third view of the same trace rather than a separate system.

OTLP: the wire

OTLP is a request/response protocol with one operation, Export, per signal. It has two transports. OTLP/gRPC uses unary calls and listens on port 4317 by default. OTLP/HTTP POSTs protobuf (binary or JSON) to port 4318 at /v1/traces, /v1/metrics and /v1/logs. The spec recommends http/protobuf as the default an SDK should use when nothing is configured, and the exporter honours OTEL_EXPORTER_OTLP_PROTOCOL with values grpc, http/protobuf or http/json. OTEL_EXPORTER_OTLP_ENDPOINT is a base URL (http://localhost:4318 for HTTP, http://localhost:4317 for gRPC) and the per-signal path is appended; OTEL_EXPORTER_OTLP_TRACES_ENDPOINT is used as-is with nothing appended. OTEL_EXPORTER_OTLP_HEADERS takes key=value,key2=value2 for the vendor auth header. The export timeout defaults to 10 s and gzip is the only defined compression.

The response semantics are where people lose data. A server may return success with a partial_success field saying how many items it rejected; the client must not retry those. Over HTTP only 429, 502, 503 and 504 are retryable; every other 4xx or 5xx is final. Over gRPC UNAVAILABLE, DEADLINE_EXCEEDED, CANCELLED, ABORTED, OUT_OF_RANGE and DATA_LOSS are retryable; INVALID_ARGUMENT, UNKNOWN and INTERNAL are not. On the SDK side the batch span processor holds at most OTEL_BSP_MAX_QUEUE_SIZE = 2048 spans, exports every OTEL_BSP_SCHEDULE_DELAY = 5000 ms or OTEL_BSP_MAX_EXPORT_BATCH_SIZE = 512 spans, and drops on a full queue. A service doing 2000 requests per second with ten spans each fills that queue in a tenth of a second if the collector is down, so the collector chapter is also about where the buffer lives.

Semantic conventions: what things are called

Everything above is structure. Semantic conventions are vocabulary: the attribute names, span names, metric names and units that instrumentations agree to use so that http.response.status_code means the same thing in a Go service and a Python one. They live at opentelemetry.io/docs/specs/semconv and are versioned separately from the API.

For HTTP server spans the stable required attributes are http.request.method, url.path and url.scheme; conditionally required are http.response.status_code (if a response was sent), http.route (if the framework knows the matched route), error.type (if the request failed), server.port, url.query and network.protocol.name; recommended are server.address, client.address, user_agent.original, network.protocol.version and network.peer.address. Client spans require http.request.method, server.address, server.port and url.full instead of url.path. The span name is {method} {route}, so GET /checkout, and the spec says instrumentations must not fall back to the raw URI path as the target because that would put every user id into the span name.

For databases the stable names are db.system.name, db.namespace, db.operation.name, db.collection.name, db.query.text, db.query.summary, db.response.status_code plus server.address and server.port. Messaging conventions (messaging.system, messaging.destination.name, messaging.operation.type) are still marked Development, which is a warning that their names may move. Stable HTTP metrics are http.server.request.duration and http.client.request.duration, both histograms in seconds with recommended boundaries from 5 ms to 10 s.

The naming rules for your own attributes are short: lowercase, dot-delimited namespaces, snake_case within a component, never start with otel., and never reuse an existing semconv namespace as your prefix. The recommendation for application-specific attributes is a reverse-domain prefix such as com.acme.shop.order_items for anything another company might also name, or an application prefix for internal names. The lab in the next chapter uses user.vip and order.items because they are short to read; in production you would spell them shop.user.vip and shop.order.items, because user.* is a semconv namespace.

The HTTP migration you will actually meet

The HTTP conventions were marked stable in semconv v1.23.1 (late 2023) and the names changed. Instrumentations that had been emitting the old names for years could not switch overnight without breaking every dashboard, so the spec defined an opt-in:

Old attribute Stable attribute
http.method http.request.method
http.status_code http.response.status_code
http.url url.full
http.target url.path and url.query
http.scheme url.scheme
net.peer.name / net.host.name server.address
net.peer.port / net.host.port server.port
http.user_agent user_agent.original
http.flavor network.protocol.version

OTEL_SEMCONV_STABILITY_OPT_IN=http makes a migrating instrumentation emit only the stable names. http/dup emits both, so you can update dashboards while the old names are still there. Unset, you get whatever the instrumentation emitted before, which for the Python FastAPI and httpx instrumentations in the demo app is still the old set. The database conventions have the same mechanism with database and database/dup, and the Python contrib instrumentations for asyncpg and psycopg gained that support during 2025. The lab shows you both sets on real spans, and the point is not the names themselves but the habit: before you write a TraceQL or PromQL query against an attribute, look at what the instrumentation emits, not at what the spec says it should.

Stability guarantees, in one paragraph

Stable means different things per component. For the API, no breaking change without a major version and three years of support after the next major. For the SDK, plugin interfaces (SpanProcessor, Exporter, Sampler) and configuration (environment variables, builders) stay backward compatible, with one year of support after the next major. For semantic conventions, a stable attribute can be renamed only if the rename is described in a telemetry schema file, and service.* resource attributes can never change. OTLP is stable for traces, metrics and logs and in development for profiles. When a vendor tells you their format is “OTel compatible”, ask which of those five things they mean.

LAB Manual spans, a histogram, and the attribute names your spans really carry ~35 MIN
YOU NEEDDocker and Docker Composethe demo app from docs/LABS.md started with --profile telemetryPython 3.11+ with pipcurl and jq

You will read the attributes the auto-instrumented spans carry, switch the HTTP conventions to the stable names, then add a manual span and a histogram with the Python SDK, first from a standalone script (so you can see the pipeline work with nothing else in the way) and then inside the orders service.

1. Start the stack with the SDK on and generate traffic.

cd labs/observability
OTEL_SDK_DISABLED=false LOADGEN_RPS=5 docker compose --profile telemetry up -d
sleep 20
curl -s 'http://localhost:8080/checkout?user=97&items=2'
A JSON body like {“order_id”: 1842, “status”: “paid”, “ms”: 41.3}. The loadgen has also been running at 5 requests per second, so Tempo has traces to search.

2. Read the attribute keys on one trace.

TID=$(curl -G -s http://localhost:3200/api/search \
  --data-urlencode 'q={ resource.service.name = "orders" }' --data-urlencode 'limit=1' \
  | jq -r '.traces[0].traceID')
echo $TID
curl -s "http://localhost:3200/api/v2/traces/$TID" \
  | jq -r '[.. | objects | select(has("attributes")) | .attributes[] | .key] | unique[]'
A sorted list of every attribute key on every span and resource in the trace. On the auto-instrumented HTTP spans you see the old names: http.method, http.status_code, http.target, http.scheme, http.route, http.url, net.host.port, net.peer.ip. On the Postgres spans: db.system, db.name, db.statement, net.peer.name. On the resource: service.name, service.version, deployment.environment, telemetry.sdk.language. Apart from service. and telemetry.sdk., the only stable names are on one span: the orders CLIENT span to payments, which services/orders/app.py opens by hand with http.request.method, url.full, server.address and http.response.status_code. Hand-written stable names next to auto-instrumented old ones is what a codebase mid-migration looks like. The rest is what unset OTEL_SEMCONV_STABILITY_OPT_IN gives you.

3. Opt the HTTP instrumentations into the stable names, in dual mode.

compose.yaml passes OTEL_SEMCONV_STABILITY_OPT_IN through to the three services, empty by default. Put it, with the SDK switch, in a .env file next to compose.yaml so every later docker compose up keeps it, and recreate the services:

printf 'OTEL_SDK_DISABLED=false\nLOG_FORMAT=json\nOTEL_SEMCONV_STABILITY_OPT_IN=http/dup\n' > .env
docker compose --profile telemetry up -d gateway orders payments
sleep 20
TID=$(curl -G -s http://localhost:3200/api/search \
  --data-urlencode 'q={ resource.service.name = "orders" && span.http.request.method = "POST" }' \
  --data-urlencode 'limit=1' | jq -r '.traces[0].traceID')
curl -s "http://localhost:3200/api/v2/traces/$TID" \
  | jq -r '[.. | objects | select(has("attributes")) | .attributes[] | .key] | unique[]' | grep -E '^(http|url|server|network)\.'
Both sets now: http.method next to http.request.method, http.status_code next to http.response.status_code, http.target next to url.path, and server.address next to net.host.name. The TraceQL query matched on the new name, which proves a dashboard written against the stable names would work. Change http/dup to http and the old names disappear. Leave the .env file as it is for the rest of the module: the later O2 labs rely on these three lines (the HTTP metric they query, http_server_request_duration_seconds, exists only with the opt-in), and the labs that rewrite .env keep them.

4. A manual span and a histogram from a standalone script.

Install the SDK and the gRPC exporter on your host, then create manual.py:

python3 -m pip install 'opentelemetry-sdk>=1.30' 'opentelemetry-exporter-otlp-proto-grpc>=1.30'
import random, time
from opentelemetry import trace, metrics
from opentelemetry.sdk.resources import Resource
from opentelemetry.sdk.trace import TracerProvider
from opentelemetry.sdk.trace.export import BatchSpanProcessor
from opentelemetry.exporter.otlp.proto.grpc.trace_exporter import OTLPSpanExporter
from opentelemetry.sdk.metrics import MeterProvider
from opentelemetry.sdk.metrics.export import PeriodicExportingMetricReader
from opentelemetry.exporter.otlp.proto.grpc.metric_exporter import OTLPMetricExporter

# Resource.create merges what you pass with OTEL_RESOURCE_ATTRIBUTES / OTEL_SERVICE_NAME.
resource = Resource.create({"service.namespace": "lab"})
tp = TracerProvider(resource=resource)
tp.add_span_processor(BatchSpanProcessor(OTLPSpanExporter(endpoint="http://localhost:4317", insecure=True)))
trace.set_tracer_provider(tp)
mp = MeterProvider(resource=resource, metric_readers=[PeriodicExportingMetricReader(
    OTLPMetricExporter(endpoint="http://localhost:4317", insecure=True), export_interval_millis=5000)])
metrics.set_meter_provider(mp)

tracer = trace.get_tracer("lab.manual")
meter = metrics.get_meter("lab.manual")
items_hist = meter.create_histogram("order.items", unit="{item}", description="Items per order")

for i in range(50):
    user = random.randint(1, 1000)
    with tracer.start_as_current_span("checkout.decide") as span:
        vip = user % 97 == 0
        items = random.randint(1, 5) * (3 if vip else 1)
        span.set_attribute("user.vip", vip)
        span.set_attribute("order.items", items)
        items_hist.record(items, {"user.vip": vip})
        time.sleep(0.01)
print("resource:", dict(resource.attributes))
tp.force_flush(); mp.force_flush(); tp.shutdown(); mp.shutdown()

Run it with the resource set from the environment, the way a deploy pipeline would:

OTEL_SERVICE_NAME=lab-manual \
OTEL_RESOURCE_ATTRIBUTES=service.version=0.0.1,deployment.environment=lab \
python3 manual.py
The script prints the merged resource: service.name is lab-manual (from OTEL_SERVICE_NAME), plus service.version, deployment.environment, the service.namespace you set in code, and the three telemetry.sdk.* attributes the SDK adds on its own. Nothing in the code named the service, which is the point.

5. Find the span and the histogram.

curl -G -s http://localhost:3200/api/search \
  --data-urlencode 'q={ resource.service.name = "lab-manual" && span.user.vip = true }' \
  | jq '.traces | length'
sleep 15
curl -s 'http://localhost:9090/api/v1/query' \
  --data-urlencode 'query=sum by (user_vip) (order_items_count)' | jq '.data.result'
The first number is the count of VIP traces, around 0 or 1 out of 50 since one user in 97 is VIP; drop the && clause and you get up to 20 (the default search limit). The second returns two series, user_vip=“true” and user_vip=“false”, whose counts add to 50. Notice the renaming: the OTel histogram order.items with unit {item} arrives in Prometheus as order_items_count, order_items_sum and order_items_bucket, with dots turned to underscores and the brace unit dropped. The metric export interval was set to 5 s in code; the default is 60 s.

6. The same span inside the orders service.

Open services/orders/app.py, which defines the FastAPI app and the create_order handler for POST /orders. The tracer and meter providers are already configured (services/common/telemetry.py installed them), and the module already has tracer = trace.get_tracer("orders"), which it uses for the call to payments. So you only need a meter and a histogram, next to that line:

from opentelemetry import metrics

meter = metrics.get_meter("orders.manual")
items_hist = meter.create_histogram("order.items", unit="{item}", description="Items per order")

Inside the handler, wrap the async with pool.connection() as conn: block that inserts the order and its items:

    with tracer.start_as_current_span("orders.persist") as span:
        span.set_attribute("order.items", order.items)
        items_hist.record(order.items)
        # ... the existing insert block, unchanged ...

Rebuild and look for the new span under the auto-instrumented server span:

docker compose --profile telemetry up -d --build orders
sleep 30
curl -G -s http://localhost:3200/api/search \
  --data-urlencode 'q={ resource.service.name = "orders" && name = "orders.persist" && span.order.items >= 6 }' \
  | jq '.traces[0] | {traceID, rootServiceName, durationMs}'
One trace whose root is the gateway’s GET /checkout, containing an orders.persist span with order.items of 6 or more, which is a VIP order. Open the trace in Grafana (Explore, Tempo, paste the id): the manual span sits between the POST /orders server span and the two INSERT spans, because start_as_current_span made it the parent of everything inside the block; the UPDATE after the payment call stays a direct child of the server span. That is the pattern the next chapter builds on.
Add OTEL_METRIC_EXPORT_INTERVAL: “60000” (the default, made explicit) to orders’ environment: in compose.yaml, recreate it, and query order_items_count{job=“orders”} every ten seconds: the histogram does not move for up to a minute, and a dashboard panel built on it looks frozen after a deploy. Then swap the port in orders’ OTEL_EXPORTER_OTLP_ENDPOINT (4317 to 4318, or the reverse) without touching OTEL_EXPORTER_OTLP_PROTOCOL: the exporter now speaks gRPC to the HTTP receiver or HTTP to the gRPC one, every export fails with an error in the orders logs, the batch processor’s 2048-span queue fills in under a minute at 5 rps (roughly 50 spans a second across the request), and spans are dropped silently from the service’s point of view. Nothing in the app breaks. The trace in Tempo has a gateway span whose child is missing. Port and protocol have to agree, and the only place that tells you they do not is the SDK’s own log line. Undo both edits to orders’ environment and run docker compose –profile telemetry up -d orders; the orders.persist span can stay, nothing later depends on it.
DECIDE

Your company has 25 services. Twelve use a commercial APM vendor's proprietary agent, eight use Jaeger client libraries, five have no tracing. The vendor contract is up for renewal in nine months and the price has doubled. A platform engineer proposes moving everything to OpenTelemetry. Which path do you take first?

READING
  1. POST
    A brief history of OpenTelemetry (so far) Ben Sigelman and Morgan McLean, 2019

    The merger announcement by the people who ran OpenTracing and OpenCensus. Ten minutes; it explains why the API/SDK split and the single-SDK-for-all-signals design both exist.

  2. DOC
    OpenTelemetry specification

    The source of truth. Read the Trace API and Metrics API pages for the field lists in this chapter, and the Logs data model page for the LogRecord fields and severity bands. Skip the SDK internals until you write an exporter.

  3. DOC
    Versioning and stability for OpenTelemetry clients

    Short and precise about what Stable promises for the API (three years), the SDK (one year) and semantic conventions (renames only through schema files). Read before you argue with a vendor about compatibility.

  4. DOC
    Semantic conventions for HTTP spans

    The attribute table you will query against most. Learn the requirement levels (Required, Conditionally Required, Recommended, Opt-In) and the span-name rule; the status-code mapping section explains why a 404 is not an error on the server.

  5. DOC
    HTTP semantic convention stability migration

    The old-to-new attribute table and the exact behaviour of OTEL_SEMCONV_STABILITY_OPT_IN. Keep it open while you update dashboards.

  6. DOC
    Attribute naming

    Two pages on how to name your own attributes so they never collide with a future convention. The 'Recommendations for Application Developers' section is the part to follow.

  7. DOC
    OTLP specification

    Ports, paths, partial success and the retryable response codes. Read the 'Failures' and 'Retryable response codes' sections; the protobuf details can wait.

  8. DOC
    OpenTelemetry Python: manual instrumentation

    The official walk-through of tracer, meter, instruments and resources in Python that the lab compresses. Use it for the pieces the lab did not touch: span events, links, the logging bridge.

All companies and people in these examples are fictional. Any resemblance to a real business or person is unintended.

RECALL CARDS Tap to flip. They join your review deck when you mark the lesson complete.
NEXT: Auto vs manual instrumentation, and what auto misses →