Local performance testing for the Telemetry Platform¶
Research date: 2026-09-19
Scope: Local capacity, overhead, latency, saturation, loss, backpressure, recovery, and resource
usage for the Python OpenTelemetry runtime and repository-owned Collector profiles.
Sources: Primary specifications, official project documentation and source, and original research
papers only.
Planning artifacts: implementation-ready design and Linear epic PL-64.
Decision summary¶
Build a repository-owned benchmark harness in three layers rather than trying to produce one universal "events per second" number:
- Python runtime overhead: compare disabled, recording-only, and OTLP-enabled execution through
the public
TelemetryRuntime/Telemetryinterface. This isolates application hot-path cost and preserves the existing paired overhead qualification contract. - Collector capacity: drive the pinned Collector directly with scheduled, open-loop OTLP traffic and a counting sink. Discover the highest sustainable rate independently for traces, metric points, log records, and a representative mixed workload, over both gRPC and HTTP/protobuf.
- Resilience capacity: at known fractions of sustainable load, inject backend outages and exercise persistent queues, recovery drain, and the stateful tail-sampling topology. Measure loss, duplicates, queue growth, disk amplification, recovery headroom, premature trace eviction, and memory pressure.
Define local sustainable capacity as the highest scheduled input rate, under a fully disclosed and resource-limited local configuration, for which every required record is accounted for after bounded drain, there are no receiver/processor refusals or exporter enqueue/send failures, queues do not grow without bound, the Collector remains below its memory-limiter soft limit, and a declared latency guard is met. Report the entire rate/latency/resource curve and its uncertainty, not only the winning rate. The result is a capacity observation for one exact machine, container runtime, artifact tuple, payload shape, and profile; it is not a production capacity guarantee.
This should extend, not replace, the current qualification gate. The repository already requires at
least five randomized, paired disabled/enabled samples with fixed resources and warm-up for serving,
background, outage, and soak workloads
(verification specification,
qualify_platform.py). That code validates supplied evidence and
fixed regression budgets; it does not generate load or find the saturation point. The missing work is
the executable generator, fault-controllable sink, sampler, capacity search, and raw-result schema.
Why this methodology¶
Measure the real arrival model¶
A closed-loop generator submits work after prior work completes, so the offered rate falls when the system slows. An open-loop generator schedules arrivals independently of completions. Schroeder, Wierman, and Harchol-Balter showed that the two models can produce fundamentally different response times under the same nominal load, including order-of-magnitude differences; the workload model must match the system being represented (Open Versus Closed: A Cautionary Tale, NSDI 2006). Telemetry from many independently operating consumers is principally an open arrival stream. Capacity discovery must therefore use scheduled open-loop arrivals. A closed-loop "send as fast as possible" run remains useful as a diagnostic ceiling, but must not be labeled sustainable capacity.
The generator must retain the intended send time as well as the actual send and acknowledgement times.
Otherwise it coordinates with overload: work delayed inside the generator disappears from measured
latency. wrk2 demonstrates the correction by measuring from when a request was supposed to be sent,
not merely from when the delayed transmission began
(wrk2 coordinated-omission design). The same rule applies to
OTLP batches. If the generator cannot maintain the schedule, the point is generator-limited and invalid,
not evidence that the Collector met the requested rate.
Use constant-rate traffic for the primary capacity curve because it makes intended arrival times and rate compliance auditable. Add an optional seeded Poisson-arrival and burst profile later to test a more variable workload. Keep batch size, item size, attributes, trace shape, and signal mix explicit; "10,000 OTLP requests/s" and "10,000 spans/s" are not interchangeable.
Treat capacity as a constrained curve, not a single peak¶
The official Collector testbed already separates reproducible short benchmarks, long-running stability tests, maximum-load stress tests, resource monitoring, and correctness validation. Its load options are expressed in signal items per second and items per batch, and its topology places a load generator and mock backend around the Collector (Collector testbed). The platform harness should follow that shape while exercising this repository's pinned image and exact profile compositions.
The OpenTelemetry SDK benchmark specification asks for create-and-export throughput per logical core, CPU and dynamic-memory measurements at a declared event rate, an out-of-process receiver that responds successfully and drops data, iterations of at least 15 seconds, and at least ten measurements (OpenTelemetry performance benchmark specification). Those are useful minimums for the SDK microbenchmarks. The end-to-end capacity tests need longer steady-state windows because queues and one-second/five-second batch timers can conceal imbalance.
The primary output should be a curve indexed by scheduled items/s, containing achieved send, Collector accept, and sink receive rates; scheduled-to-ack and public-API latency percentiles; CPU, RSS and heap; queue occupancy; refusals; failures; and drain time. Saturation is the first point at which an acceptance condition breaks or a resource/latency curve becomes unstable. Report p50, p95, p99 and p99.9 where the sample count supports them, plus the maximum and the full mergeable histogram. Tail values matter as utilization rises and averages can hide rare stalls (Dean and Barroso, The Tail at Scale).
Make loss and backpressure first-class results¶
OTLP distinguishes full success, partial success, retryable failure, and non-retryable failure. A client must not retry partial success; transient failures use exponential backoff, and HTTP 429/502/503/504 are retryable while other 4xx/5xx statuses are not (OTLP specification). Counting only successful client calls is therefore insufficient. Reconcile generated item IDs with receiver-accepted counters and the sink's unique and total counts after drain. Record missing items and duplicates separately; persistent delivery is at-least-once, so duplicate delivery is not loss.
Collector sending queues normally reject data when full, and rejected data does not reach exporter retry logic. The exporter helper exposes queue capacity/size and enqueue-failure metrics (exporter-helper queue behavior). The memory limiter returns retryable errors after its soft limit, but data can still be lost if the upstream component cannot retry; forced GC at the hard limit may consume CPU without freeing live queued data (memory-limiter behavior). Consequently, a point with high throughput plus any unaccounted record, refusal, enqueue failure, or unbounded queue growth is overload, not capacity.
Repository-specific system under test¶
The benchmark report must bind results to the candidate wheel and lock digests, Python and OpenTelemetry versions, Collector image digest, composed profile/configuration digest, transport, signal switches, and full batching/safety settings. Retain the same stack identity already enforced by the qualification evidence schema.
The current application-side defaults are:
- queue size 2,048 items per trace/log processor;
- export batch size 512;
- schedule delay 5 seconds;
- export timeout 10 seconds;
- metric export interval 60 seconds; and
- shutdown timeout 10 seconds.
These controls are defined in BatchingConfig, and the production
adapter applies them to BatchSpanProcessor, BatchLogRecordProcessor, and
PeriodicExportingMetricReader in otel.py. Metrics do not share the
same queue behavior as traces and logs, so signal-specific tests are mandatory.
The base Collector profile uses a 512 MiB hard memory limit, a 128 MiB spike allowance (therefore a
384 MiB soft limit), one-second checks, 8,192/16,384 batch thresholds, and detailed self-metrics on
port 8888 (collector/base.yaml). It performs resource normalization,
required-identity filtering, safety transforms, trace sampling, log-level filtering, batching, and
forward fan-out. Benchmarks must preserve this processing; a bare OTLP receiver/exporter measures a
different product.
The operational profile currently exposes the exact families needed to observe accepted/refused
items, CPU/RSS/heap, exporter queue size/capacity, enqueue/send failures, sent items, and export
duration (operations/platform.toml). The official Collector
internal-telemetry documentation confirms those signal categories
(Collector internal telemetry). Scrape
at one-second intervals during a performance run and retain the raw exposition.
Two advanced paths require separate capacity claims:
- Persistent exporters use independently bounded file-backed queues per backend and signal. Queue size is in requests by default, not records or bytes, so item count, request count, payload bytes, and on-disk bytes must all be recorded. Existing preflight equations already require measured request rate, p95 request bytes, outage duration, and recovery throughput (deployment-input specification).
- Tail sampling keeps traces in memory until a decision. The checked-in example declares a 15-second
decision wait, 300 in-flight traces, 20 expected new traces/s, a 1 MiB maximum trace, and decision
caches. The component documents
num_tracesas its in-memory trace bound and emits asampling_trace_dropped_too_earlymetric when load evicts a trace before a decision (tail-sampling processor).
Benchmark contract¶
Units and workload shapes¶
Every run must publish all of these units; no aggregate "events/s" may replace them:
| Signal/path | Offered-load unit | Required shape fields | Delivery count |
|---|---|---|---|
| Traces | spans/s and new traces/s | spans/trace, attributes/span, value bytes, error/slow/baseline mix | total spans, unique trace IDs, complete traces |
| Metrics | points/s | instruments, points/export, attributes/point, temporality/type mix | points |
| Logs | records/s | attributes/record, body bytes, severity mix | records |
| Mixed | each signal's unit plus serialized bytes/s | fixed trace/metric/log ratio | per-signal counts |
| Persistent export | OTLP requests/s, items/request, serialized bytes/s | queue sizer and storage implementation | unique items, total items, bytes written |
Start with two payload shapes:
- Representative: six required resource identities, one bounded context attribute, trace spans with ten attributes and one event, metric points with four attributes, and log records with four attributes and a 128-byte body. The ten-attribute trace shape aligns with the OpenTelemetry SDK benchmark.
- Safety-bound: values at the repository's permitted attribute-count and value-length limits, plus multi-span traces near—but not equal to—the configured maximum. This identifies sensitivity to transform/redaction and serialization cost without injecting forbidden or high-cardinality data.
Use deterministic synthetic IDs and a seed recorded in the report. Vary identifiers while retaining bounded attribute keys and dimensions. Pre-generate payload templates or measure generator construction cost separately so producer-side object allocation does not masquerade as Collector capacity.
Isolation matrix¶
Run the following cells independently before the mixed profile:
| Layer | Required variants | Question answered |
|---|---|---|
| Public Python API | disabled; recording/in-memory; gRPC OTLP; HTTP/protobuf OTLP | What latency, CPU, RSS and throughput cost does the platform add to a consumer? |
| Collector base/local | traces; metrics; logs; fixed mixed workload, each over gRPC and HTTP/protobuf | What can the normal processing path accept and deliver without loss? |
| Fan-out | one local sink; two healthy sinks; one healthy plus one slow/failing sink | What is the cost of fan-out and is branch isolation preserved at load? |
| Persistent | healthy; backend unavailable; recovery while traffic continues | How much outage can the queue absorb and how quickly does it drain? |
| Tail | complete baseline; error/slow mix; incomplete and late spans; router plus sampler | What new-trace/span rate is safe within decision and memory bounds? |
The local file exporter can distort capacity through host filesystem and log-rotation costs. Use a minimal counting OTLP sink as the primary capacity backend, then run the supported local file profile as a separate deployment-realism cell. Do not use a remote SaaS backend for the repeatable local benchmark.
Resource envelope and local constraints¶
Run the Collector, sink, and generator in separate containers or processes. Give each explicit resource limits and report actual placement. The recommended reference envelope is:
- Collector: 1.0 CPU and 512 MiB memory;
- counting sink: 1.0 CPU and 512 MiB memory;
- generator: 2.0 CPUs and 1 GiB memory, with demonstrated headroom; and
- no other project workloads during a measured run.
Docker Compose can enforce CPU and memory limits
(Compose resource specification).
On Linux, collect cgroup CPU usage/throttling, memory.current, memory.events, and limits; cgroup v2 is
the kernel resource-control boundary
(Linux cgroup v2 documentation).
On macOS and Windows, Docker containers run inside a Linux VM, and the selected virtual-machine manager
and VM resource allocation are performance-relevant
(Docker Desktop VMM documentation). Record host model,
logical CPU count, RAM, OS/kernel, architecture, power mode, Docker/Compose versions, Docker Desktop VMM
and resource allocation, filesystem type, available disk, image architecture, and whether emulation is
active.
Do not compare absolute results across unlike hosts or native Linux versus Docker Desktop. The portable artifact is the procedure and raw schema. The number is local to the disclosed envelope. Fail a run as environment-invalid when the generator misses more than 0.1% of scheduled dispatches by more than one inter-arrival interval, generator CPU exceeds 80% of its allocation, any involved container is CPU throttled for more than 1% of the measured interval, the host swaps, or another run overlaps.
Execution method¶
Warm-up and steady state¶
For each cold-start replicate:
- Start the sink and Collector and wait for health.
- Start Prometheus/self-metric and cgroup sampling at one-second resolution.
- Warm up for at least 30 seconds at the target rate, longer if three consecutive 10-second windows do not keep accepted rate, p95 scheduled-to-ack latency, CPU, and RSS within 5% of their combined median. Cap warm-up at two minutes; an unstable point fails instead of warming forever.
- Reset logical counters/histograms without restarting the Collector, or mark the exact measurement interval in append-only raw data.
- Measure for 120 seconds for capacity points. Use at least 15 seconds and ten repetitions only for isolated SDK microbenchmarks, matching the OpenTelemetry benchmark minimum.
- Stop new arrivals, force-flush the Python runtime where applicable, and drain for the larger of 30 seconds, two application schedule delays plus two Collector batch timeouts, or the configured shutdown bound. Persistent-recovery tests use a separately computed drain deadline.
- Reconcile counts and save raw telemetry before teardown.
The warm-up data must never be mixed into measurement percentiles. A stable pre-measurement interval does not prove the measured interval remained stable; retain time series and test both queue and RSS slopes over the final 60 seconds.
Capacity search¶
For every matrix cell:
- Run a low-load point to establish unloaded latency and per-item resource cost.
- Double the scheduled rate until a point fails an acceptance condition or the generator reaches its own validity limit.
- Binary-search the last passing/first failing bracket until it is within 5%.
- Re-run the candidate maximum and the point immediately below it as five independent cold-start replicates in alternating randomized order.
- Confirm the selected sustainable point with a 30-minute soak. Soak is required for the final claim, not for every exploratory point.
This separates fast discovery from release evidence. Never silently omit failed high-rate points; the first failure mode is part of the result.
Latency recording¶
Record at least these distributions with a mergeable high-dynamic-range histogram:
- scheduled arrival to OTLP acknowledgement;
- actual send to OTLP acknowledgement;
- public Python
operation()enter/exit andobserve()call duration; - runtime
force_flush()andshutdown()duration; - outage recovery/drain duration; and
- Collector export duration from its self-metrics.
The first two distributions expose coordinated omission explicitly. Store histogram configuration, count, min, max, and percentile spectrum rather than only precomputed percentiles. A p99 requires at least 10,000 measured items per replicate; a p99.9 requires at least 100,000. If a cell produces fewer, mark that percentile unsupported rather than presenting false precision.
Repeatability and statistics¶
Keep process startups as the top-level independent samples. For each final point, report every replicate, the median, range, and a 95% confidence interval for the median or the enabled/disabled ratio, computed by a documented seeded bootstrap across independent replicates. Do not treat millions of items inside one process lifetime as millions of independent benchmark runs. Kalibera and Jones show that performance experiments have multiple levels of non-determinism and recommend designing repetition and confidence intervals around those levels (Quantifying Performance Changes with Effect Size Confidence Intervals).
For Python overhead, preserve the repository's paired design: run disabled and enabled against the same fixed workload and resource envelope, randomize which mode runs first, and compute per-pair ratios before summarizing. Keep the existing minimum of five pairs; use ten when establishing a new baseline. Report an effect size and interval, not a significance-test pass/fail alone.
Acceptance and reported metrics¶
Per-point validity¶
A measurement point is valid only when:
- generator scheduling validity and resource headroom conditions hold;
- the Collector and sink stayed healthy without restart or OOM;
- warm-up, measurement, and drain boundaries are present;
- all raw counter resets/scrape gaps are disclosed; and
- the requested and achieved offered rates differ by no more than 1%.
Invalid points are rerun and retained with their invalid reason. They do not become passing points by substituting achieved rate for requested rate.
Passing a normal-capacity point¶
Use these default engineering gates until a product-specific SLO supersedes them:
- Accounting: generated = Collector accepted = sink unique received after bounded drain for an unsampled, single-sink cell. For sampling cells, accepted input and policy-expected output are reconciled independently. Any missing item fails. Duplicates are zero for stateless cells and reported, but permitted, for persistent at-least-once cells.
- No pressure loss: receiver/processor refused, exporter enqueue-failed, exporter send-failed, and runtime diagnostic deltas are all zero.
- Stable queues: no positive least-squares queue slope over the final 60 seconds whose 95% interval excludes zero; peak queue occupancy stays below 70% and returns below 50% during drain. These align with the repository's warning/recovery thresholds and official scaling guidance to investigate queues around 60–70% capacity (Collector scaling guidance).
- Memory safety: Collector RSS remains below the configured 384 MiB soft threshold in the reference profile; memory-limiter refusals and container OOM events are zero. Report heap and RSS peaks and final-minus-initial growth.
- CPU headroom: Collector CPU is below 85% of its one-CPU allocation in the final 60 seconds and throttling remains below the point-validity limit. This reserves local recovery/variance headroom and is an engineering threshold, not an OpenTelemetry guarantee.
- Latency guard: p99 scheduled-to-ack latency is no more than twice the low-load p99 for that exact cell and p99 does not have a positive final-minute slope. If a consumer-owned absolute SLO exists, the stricter limit wins. Report both corrected and actual-send latency.
The sustainable capacity for a cell is the lower bound of the 95% interval of achieved items/s at the highest point passing in all five confirmation replicates. Also publish the first failing point and its failure mode. This conservative definition answers "what can this local setup sustain repeatedly?" rather than "what was the largest transient number observed?"
Python overhead gates¶
Continue the repository's existing fixed budgets rather than inventing parallel limits:
- serving p95 added latency: at most 1 ms and 5%;
- serving p99 regression: at most 10%;
- serving throughput loss: at most 5%;
- background duration slowdown: at most 5%;
- CPU increase: at most 10%;
- peak RSS increase: at most 10%; and
- outage p95 regression: at most 10%.
Add public-API call histograms and events/s/core from the new generator to the raw evidence, but change these release budgets only through an explicit specification decision. A capacity increase does not compensate for an overhead regression.
Outage and recovery gates¶
Run the persistent profile at 50% and 80% of its previously measured healthy sustainable input rate. After 60 seconds steady state, make the backend unavailable for 60 seconds, restore it, and continue offered traffic until drain.
Pass only when:
- the source runtime's user-facing p95 remains within the existing outage budget;
- no item is missing after drain; duplicates are counted;
- no enqueue failure occurs and queue/disk use stays within declared capacity;
- the queue survives one Collector restart during the outage;
- recovery throughput exceeds ongoing input rate by at least the declared 25% headroom; and
- measured drain time is no greater than
queued requests / (recovery requests/s - input requests/s)plus 10% measurement tolerance.
Report queue fill rate, seconds to 70%/85%/100%, p95 serialized request bytes, physical bytes written, write amplification, peak fsync/write latency if available, recovery throughput, drain time, duplicates, and retry attempt rate. Repeat with a fault-controllable sink that can fail fast, delay responses, return retryable status, and return permanent status; these exercise different queue/retry paths.
Tail-sampling gates¶
Run at 50%, 80%, 100%, and 120% of the configured 20 new traces/s expectation, then repeat near the measured saturation point. Include 1-, 10-, and 100-span traces and the configured baseline/error/slow policy mix. Pass a supported point only when:
- error and slow traces are retained completely and baseline retention is within its statistical band;
- premature-drop and maximum-size-drop deltas are zero for workloads within declared bounds;
- in-memory pending traces stay within
num_traces, caches stay bounded, and RSS is below the soft limit; - late spans follow the original decision and incomplete traces decide at timeout as specified; and
- metrics/logs on the bypass tier maintain their accepted/delivered rates while the trace tier is loaded.
The simple capacity precondition remains
num_traces >= ceil(new traces/s * decision-wait seconds), but the benchmark must verify the real
memory and completeness outcome because trace size, decision work, caches, and batching are not captured
by that count alone.
Soak gates¶
Confirm every reported sustainable profile with 30 minutes at 80% of its selected capacity and one 30-minute run at the selected capacity. Reuse the existing qualification fields for elapsed time, memory, queue size, handler count, listener count, and thread count. Fail on monotonic unbounded growth, any loss/failure counter, runtime diagnostic, restart, or health transition. A one-time warm-up rise that plateaus is reported but is not a leak.
Result artifact¶
Write one append-only JSON result per replicate and a derived summary. Extend the current evidence identity instead of creating an unrelated format. The raw record should include:
- schema version, run UUID, UTC timestamps, Git commit and dirty-state flag;
- wheel, lock, Collector image, composed-config, and generator/sink digests;
- Python/OpenTelemetry/Collector versions and transport;
- host, Docker/VM, filesystem and cgroup metadata;
- resource limits and actual CPU/memory/throttling samples;
- workload model, seed, signal, payload shape, item and batch sizes, and scheduled rate;
- warm-up rule and duration, measurement/drain durations, and rate-search phase;
- one-second generator, Collector self-metric, sink, cgroup and disk time series;
- latency histograms, generated/accepted/sent/unique/duplicate/missing counts;
- queue/retry/refusal/failure/diagnostic deltas;
- validity and pass/fail decisions with machine-readable reasons; and
- SHA3-512 identities for every retained raw artifact, matching repository evidence convention.
Generate a Markdown/JSON summary with capacity curves and no hidden outlier deletion. A comparison mode may compare only matching environment/profile/workload identities and should report effect sizes with confidence intervals. Do not make absolute local capacity a required pull-request gate on heterogeneous hosted runners; use deterministic smoke/load correctness there and run capacity baselines manually or on a dedicated controlled runner.
Phased engineering plan¶
Phase 1 — Contract and minimal SDK benchmark¶
- Define a versioned
performance-evidenceJSON schema and workload/profile identifiers. - Implement a deterministic public-API producer with disabled, in-memory, gRPC and HTTP/protobuf modes.
- Record scheduled and actual-start latency in HDR histograms, process CPU/RSS, counts, warm-up and raw samples.
- Reproduce the existing five-pair qualification evidence from executable measurements and make
qualify_platform.pyconsume the generated document unchanged or through a deliberate schema update. - Add focused tests for scheduling accuracy, count reconciliation, histogram serialization, deterministic seeds, invalid-run detection, and secret-free artifacts.
Done when: one command produces reproducible disabled/enabled overhead evidence for traces, metrics, logs and mixed public-API traffic without Docker, and the existing budgets are evaluated from retained raw samples.
Phase 2 — Base Collector capacity¶
- Add a local Compose topology using the pinned Collector image, a minimal counting OTLP sink, and a separately limited generator; keep it isolated from the optional Grafana stack.
- Scrape
:8888, cgroup counters and sink counts every second. - Implement open-loop load, generator-validity checks, warm-up/steady-state/drain phases, geometric bracketing and 5% binary search.
- Cover traces, metric points, logs, fixed mixed load, both OTLP transports, representative and safety-bound payloads.
- Add a
make performance-smoketarget for a short correctness run and a non-defaultmake performance-localtarget for the full capacity study.
Done when: the harness reports a passing sustainable rate and first failing point for each base cell, with exact count reconciliation, capacity curves, raw evidence and environment disclosure.
Phase 3 — Fan-out, saturation and persistent recovery¶
- Add healthy, delayed, retryable-failure, permanent-failure, and disconnected modes to the sink.
- Measure one/two/failing-branch fan-out and prove healthy-branch progress at load.
- Exercise in-memory and file-backed queue fill, restart survival and recovery while input continues.
- Measure requests/s, item/request distribution, p95 serialized bytes, disk use/amplification, recovery throughput and drain time; feed the values into the deployment sizing equations.
- Verify every failure is visible through the exact operational metric families already committed.
Done when: the repository can state the locally measured outage window and drain headroom for the reference resource envelope without claiming exactly-once delivery.
Phase 4 — Tail-sampling capacity¶
- Generate complete, error, slow, incomplete, late, oversized and varied-span-count traces with deterministic expected decisions.
- Drive router and sampler separately and together, while simultaneously loading the metric/log bypass.
- Reconcile trace completeness and decisions, scrape component-specific eviction metrics, and measure pending-state/cache/RSS behavior across the rate ladder.
- Derive a recommended
expected_new_traces_per_sec,num_traces, memory and cache envelope from the measured curve; keep preflight arithmetic as the minimum configuration check.
Done when: the selected tail rate has zero premature evictions or incomplete retained traces in all confirmation runs and the first saturation mechanism is documented.
Phase 5 — Baselines and release integration¶
- Run ten cold-start baseline replicates on one named, stable reference machine; retain raw artifacts and create the initial comparison record.
- Add 30-minute 80%-capacity and selected-capacity soaks for base, persistent and tail profiles.
- Add a comparison command that rejects mismatched environments and reports capacity/overhead effect sizes with 95% intervals.
- Keep short correctness smoke tests in normal CI; schedule or manually dispatch full capacity runs on a dedicated runner. Require an explicit human decision to update a baseline.
- Document that results are local observations, list residual risks, and link capacity outputs from release evidence without representing them as hosted or production proof.
Done when: a candidate can be compared with the prior baseline using auditable raw data, while ordinary CI remains bounded and heterogeneous developer machines cannot accidentally redefine the capacity claim.
Explicit non-goals and cautions¶
- A local benchmark does not qualify a remote backend, network, multi-node load balancer, Kubernetes deployment, or production Consumer workload.
- Do not combine SDK overhead, Collector transformation cost, backend latency, and persistent-disk cost into one unexplained throughput number.
- Do not infer zero loss from a successful OTLP response alone; reconcile the sink.
- Do not accept a closed-loop maximum as sustainable open-loop capacity.
- Do not use averages alone, discard warm-up or failed points silently, or compute confidence from per-item samples as if they were independent process runs.
- Do not loosen bounded queues, memory limits, safety transforms, filters, sampling, or privacy controls merely to improve the benchmark. Any tuning must remain a supported configuration and be reported.
- Do not emit raw customer data or secrets. All benchmark traffic is deterministic synthetic telemetry that passes the same schema and safety floor as production traffic.
Source index¶
- OpenTelemetry SDK performance benchmark specification
- OpenTelemetry Collector testbed
- OpenTelemetry Collector internal telemetry
- OpenTelemetry Collector scaling guidance
- Collector exporter-helper queues and retries
- Collector memory-limiter processor
- Collector tail-sampling processor
- OTLP specification
- Schroeder, Wierman, and Harchol-Balter, Open Versus Closed: A Cautionary Tale
- Tene,
wrk2coordinated-omission design - Dean and Barroso, The Tail at Scale
- Kalibera and Jones, Quantifying Performance Changes with Effect Size Confidence Intervals
- Docker Compose resource specification
- Docker Desktop virtual-machine managers
- Linux cgroup v2 documentation