Soroush Neyestani

Software Engineer

Application Architect

Enterprise Application Developer

Technical Author & Educator

OpenTelemetry Trace Demo

End-to-End HTTP and SQLite Tracing with Go, OpenTelemetry, Collector, and Jaeger

An Open-Source Observability and Performance Engineering Case Study

Developed by: Soroush Neyestani
Release: v0.1.0 — November 2026
Category: Observability / Backend Engineering / DevOps
Technologies: Go 1.27.4, SQLite 3.54.1, OpenTelemetry SDK 1.47.0, OpenTelemetry Collector 0.166.0, Jaeger 2.23.0, Docker, GitHub Actions
License: MIT
Status: Completed — Public Release

Source Code: OpenTelemetry Trace Demo on GitHub

Official Release: v0.1.0


Executive Summary

Understanding application behavior becomes increasingly difficult when requests involve multiple operations, dependencies, and failure conditions.

Traditional application logs can reveal what happened at individual points in execution. However, they do not automatically reconstruct the relationships between operations or explain how request-processing time is distributed across different components.

Distributed tracing addresses this problem by representing the execution of a request through a trace containing related spans.

I developed OpenTelemetry Trace Demo to explore this capability through a practical, independently verifiable implementation.

The project consists of a stateless Go HTTP service using a real embedded SQLite database.

The application creates spans for HTTP requests, application operations, and database queries. It exports telemetry using OTLP HTTP/protobuf to an OpenTelemetry Collector, which forwards the traces to Jaeger through OTLP gRPC.

The implementation demonstrates:

  • End-to-end tracing across HTTP, application, and SQLite operations.
  • Correct parent-child span relationships.
  • W3C Trace Context handling.
  • Correlation between request IDs, trace IDs, span IDs, and structured logs.
  • Distinct success, failure, and not-found scenarios.
  • Graceful behavior during telemetry infrastructure outages.
  • Real trace retrieval from the Jaeger API.
  • Measured instrumentation overhead.
  • Automated integration verification through GitHub Actions.
  • Reproducible source packaging and verifiable release artifacts.

Both public CI workflows successfully executed 50 named Go tests each.

The complete tracing pipeline was verified using real application requests, actual database operations, and machine-readable trace data retrieved from Jaeger.

The project also includes a controlled performance comparison between no-op instrumentation and an enabled OTLP tracing pipeline.

In the public benchmark, enabled tracing increased median p50 latency by approximately 3.93% and reduced throughput by approximately 6.02% for the tested synthetic workload.

These values are workload-specific measurements, not universal estimates of OpenTelemetry overhead.

The result is a focused reference implementation demonstrating how observability can be engineered, tested, and evaluated with evidence rather than inferred from configuration alone.


1. The Engineering Problem

Consider a typical backend request:

  1. An HTTP client sends a request.
  2. The application receives and validates it.
  3. Application logic performs an operation.
  4. The database executes a query.
  5. The application constructs an HTTP response.

From the client's perspective, this appears to be a single request.

Internally, however, several distinct operations contribute to the request's behavior and latency.

If the response is slow, it may not be immediately obvious whether the delay originated in request handling, application logic, or database execution.

If the response fails, a single error log may not provide enough information to understand the sequence of operations that led to the failure.

What logs alone cannot always establish

Logs are useful, but they often require additional correlation work.

Without a consistent tracing context, engineers may struggle to associate:

  • The incoming HTTP request.
  • Internal application operations.
  • Database execution.
  • Error events.
  • Request duration.
  • Related log entries.

Distributed tracing organizes this information around a shared trace identity.

The central question

The engineering problem behind this project was:

Can a complete application execution path be traced, exported, retrieved, and verified automatically, while also measuring the performance cost introduced by instrumentation?

The project approaches that question through a real application and database rather than a fabricated example trace.


2. Project Objectives

Version v0.1.0 focuses on five primary objectives.

Objective 1: Real application instrumentation

Instrument an actual HTTP service and its SQLite database operations using OpenTelemetry.

The spans must represent executed work.

Objective 2: Correct trace relationships

Verify that spans share the intended trace identity and represent the correct parent-child hierarchy.

Objective 3: Backend verification

Export traces through the configured telemetry pipeline and confirm they can be retrieved from Jaeger.

Objective 4: Operational resilience

Demonstrate how application request processing behaves when the Collector or Jaeger becomes unavailable.

Objective 5: Performance measurement

Compare equivalent workloads with no-op instrumentation and enabled OTLP tracing.

Measure latency, throughput, and other available runtime observations.

Together, these objectives connect instrumentation, correctness, operational behavior, and performance analysis.


3. Technology Stack

Component Version Purpose
Go 1.27.4 HTTP application and instrumentation
SQLite 3.54.1 Real embedded database operations
OpenTelemetry SDK 1.47.0 Trace creation and context handling
OpenTelemetry Collector 0.166.0 Telemetry ingestion and forwarding
Jaeger 2.23.0 Trace storage, querying, and visualization
Docker Engine 28.0.4 Container execution in the verified CI environment
Docker Compose 2.38.2 Local integration environment
GitHub Actions — Automated verification

Why Go?

Go provides a practical environment for building an HTTP service with explicit request contexts, structured control flow, and mature observability libraries.

For this project, it also allows the benchmark to focus on a relatively small application rather than a large framework with unrelated components.

Why SQLite?

SQLite offers a real database engine without requiring a separate database server.

That makes it useful for a reproducible tracing demonstration in which database behavior must be genuine but infrastructure complexity should remain limited.

The application executes actual SQLite operations.

Database spans are not simulated using timers or manually generated demonstration data.

Why OpenTelemetry?

OpenTelemetry provides standardized APIs, SDKs, context propagation, semantic conventions, and exporter integrations for telemetry instrumentation.

Using OpenTelemetry separates instrumentation concerns from a particular visualization backend.

Why Jaeger?

Jaeger provides a way to inspect traces and their relationships.

The project goes beyond manually viewing its interface by retrieving traces through the Jaeger API and checking their contents.


4. Architecture Overview

The implementation has two related execution paths.

4.1 Application execution

The business execution path is:

HTTP Client → Go HTTP Service → Application Operation → SQLite

A single incoming request can therefore be represented by three related spans:

HTTP Server Span → Application Span → SQLite Client Span

These spans describe different stages of the same request.

4.2 Telemetry export

The observability path is:

OpenTelemetry SDK → OTLP HTTP/protobuf → OpenTelemetry Collector → OTLP gRPC → Jaeger

This path exports the application's trace data to the backend used for inspection.

Important architectural boundary

The project contains one application service and an embedded SQLite database.

Although it demonstrates end-to-end tracing and remote-parent context handling, it does not implement multiple independent business microservices.

It should not be described as a full distributed microservices platform.

That distinction matters because tracing across multiple services introduces additional network propagation, deployment, and failure considerations not covered by this release.


5. Understanding the Span Hierarchy

A trace groups related operations under a shared trace identifier.

Each span represents an operation with its own identity and timing information.

For the successful database-backed request, the expected hierarchy is:

HTTP Server
└── Application Operation
    └── SQLite Client

HTTP server span

The server span represents processing of the incoming HTTP request.

It establishes the request-level tracing context used by downstream operations.

Application span

The application span represents the relevant internal operation executed in response to the request.

It is a child of the HTTP server span.

SQLite client span

The database span represents actual work performed through SQLite.

It is associated with the application span and retains the request's trace identity.

Why hierarchy matters

Simply observing three spans is not sufficient.

A correct trace must show the expected relationships.

Otherwise, related operations may be rendered as disconnected traces or attributed to the wrong request.

The project's verification checks the topology of the retrieved trace data rather than merely counting generated spans.


6. Real Success, Error, and Not-Found Scenarios

The implementation uses distinct request outcomes to demonstrate trace semantics.

6.1 Successful request — HTTP 200

The successful path executes a real database operation.

Jaeger returns the complete three-stage trace:

HTTP → Application → SQLite

The spans have the expected relationships and represent the executed request.

6.2 Controlled database failure — HTTP 500

The failure scenario uses a genuine SQLite overflow condition.

The application returns HTTP 500.

The trace includes the database operation and a sanitized error event.

This is important because the error does not merely originate from a manually constructed mock span.

The failure occurs during real database execution.

The implementation also checks that sensitive test values are not unnecessarily exposed through the error information.

6.3 Record not found — HTTP 404

The third scenario represents a request for a record that does not exist.

The HTTP response is 404.

The documented span status remains unset for this expected outcome.

This illustrates why application outcomes and tracing status should not be conflated.

Not every unsuccessful HTTP lookup necessarily represents an unexpected internal execution failure.

The correct treatment depends on the application contract and applicable tracing conventions.

Verification approach

All three scenarios were verified through actual trace retrieval using the Jaeger API.

The tests did not rely exclusively on locally generated mock spans.


7. Trace Context Propagation

Distributed tracing requires context to be retained across related operations.

The project supports the W3C Trace Context mechanism.

An incoming request may contain a traceparent header carrying information about a preexisting trace context.

Valid incoming context

When a valid context is supplied, the application preserves the expected parent relationship.

This allows the server span to participate in the originating trace structure.

Missing or invalid context

When the incoming context is absent or invalid, the application creates a local trace.

That behavior prevents malformed external context from becoming an assumed valid parent.

What was verified

The public CI confirmed:

  • Valid incoming context preservation.
  • Local trace creation for missing context.
  • Local trace creation for invalid context.
  • Correct trace identifiers.
  • Expected parent-child relationships.

These checks verify the documented HTTP-boundary behavior.

They do not imply that multiple business services were deployed.


8. Correlation Between Traces and Structured Logs

Traces and logs provide complementary diagnostic information.

A trace establishes the relationships and timing of operations.

Logs can provide additional application events and execution details.

The project correlates them using request and tracing identifiers.

Distinct identifier types

Request ID: An application-level identifier associated with the HTTP request.

Trace ID: The identifier shared by spans belonging to the same trace.

Span ID: The identifier of an individual operation within that trace.

These identifiers have different responsibilities.

A request ID is not automatically equivalent to a trace ID.

Verified correlation

The application was tested to ensure that request, trace, and span information matched across the relevant HTTP responses and structured logs.

This establishes an operational link between application diagnostics and the underlying trace.

Data minimization

Tracing systems can accidentally expose sensitive information through request attributes, database parameters, exception text, or log messages.

The project therefore included checks for sensitive synthetic values.

The reported tests did not identify those values in the examined logs or trace records.

This is evidence for the tested scenarios, not proof that every future application input would be safe without further review.


9. Collector and Jaeger Integration

The application exports traces through OTLP HTTP/protobuf.

The OpenTelemetry Collector receives the data and forwards it to Jaeger using OTLP gRPC.

This keeps application instrumentation conceptually separate from the backend responsible for displaying traces.

Why use a Collector?

A Collector can serve as an intermediary between instrumented applications and observability backends.

It provides a place to manage telemetry transport and processing behavior without placing every backend-specific concern directly into application code.

The project's Collector configuration is intentionally limited to the needs of the demonstration.

Why verify the backend?

Successful span creation does not establish successful delivery.

An application may create spans but fail to export them.

An exporter may send data that the Collector does not forward.

A backend may receive data but fail to make the expected trace retrievable.

The project therefore verifies the complete supported pipeline.

Machine-readable evidence

The public release includes trace evidence obtained from the actual tracing backend.

This provides a stronger basis for reviewing span relationships than relying exclusively on screenshots.

Trace evidence:

https://github.com/soroushneyestani/opentelemetry-trace-demo/releases/download/v0.1.0/TRACE_EVIDENCE.json


10. Telemetry Failure and Recovery

Observability infrastructure can fail independently of an application.

A tracing backend may become unavailable.

A Collector may be unreachable.

A queue may become full.

A production service must define how these conditions affect its core behavior.

The project includes controlled failure and recovery experiments.

Collector outage

The Collector was made unavailable during an application request.

The application continued to return HTTP 200 for the tested workload.

After Collector recovery, a new trace became retrievable.

Jaeger outage

Jaeger was separately made unavailable.

The application again continued to respond successfully.

After the backend restarted, subsequent trace retrieval succeeded.

Graceful shutdown

The application completed a normal shutdown with exit code 0.

The final request's trace was also retrievable after shutdown.

What these results establish

They demonstrate that the application can continue processing the tested requests while the telemetry pipeline is unavailable.

They also show that fresh tracing can recover after the affected components return.

What these results do not establish

They do not guarantee that every span generated during an outage will eventually arrive.

The exporter uses bounded queues and timeouts.

If the backend remains unavailable or the queue is exhausted, telemetry data may be lost.

A successful HTTP response therefore does not prove successful trace delivery.

This distinction is part of the project's documented operational contract.


11. Performance Evaluation: Does Tracing Have a Cost?

Instrumentation introduces additional work.

Depending on implementation and configuration, that work may include:

  • Creating spans.
  • Managing trace context.
  • Recording attributes.
  • Processing span lifecycle events.
  • Queueing telemetry.
  • Serializing trace data.
  • Exporting telemetry to a Collector.

The cost depends on workload characteristics, sampling, exporter configuration, runtime environment, and the volume of telemetry produced.

Rather than assuming the impact is negligible, the project measures it.


12. Benchmark Methodology

The benchmark compares two configurations of the same application workload.

Configuration A — No-op: Tracing disabled or configured to perform no effective trace export, according to the documented benchmark setup.

Configuration B — OTLP enabled: Real tracing and OTLP export enabled.

The benchmark uses actual SQLite queries in both modes.

Experimental structure

Each experiment consisted of:

  • Six alternating benchmark runs.
  • Three runs per configuration.
  • 24 warm-up requests per run.
  • 240 timed requests per run.
  • Four persistent HTTP connections.
  • The same SQLite workload and fixture.
  • A total of 1,440 timed requests.

All 1,440 timed requests succeeded in each reported experiment.

Nine sampled traces from the enabled tracing runs were retrieved through Jaeger.

The reported comparison uses the median of three runs for each configuration.

Why alternate configurations?

Alternating measurement modes can reduce some forms of time-order bias, such as one configuration always running before the other.

It does not eliminate every source of environmental variation.

Why use multiple runs?

Repeated measurements provide a better view of observed variability than a single benchmark result.

However, three runs per mode are not sufficient to claim universal statistical significance.

The project records the observed variation and environment-specific CPU and memory information alongside the latency and throughput data.


13. Private Candidate Benchmark Results

The original private release candidate produced the following measurements.

Metric No-op OTLP enabled Reported change
p50 latency 1.442 ms 1.660 ms +15.15%
p95 latency 2.860 ms 3.150 ms +10.16%
p99 latency 4.980 ms 4.993 ms +0.26%
Throughput 2,413.10 req/s 2,109.22 req/s −12.59%

These measurements showed increased p50 and p95 latency and reduced throughput under the tested tracing configuration.

The observed p99 difference was much smaller.

Importantly, the +0.26% p99 difference was not independently established as statistically significant.

It should not be presented as proof that tracing had virtually no effect on tail latency in every scenario.


14. Public Release Benchmark Results

The public main-branch verification executed a new benchmark under its recorded environment.

Metric No-op OTLP enabled Reported change
p50 latency 0.880 ms 0.914 ms +3.93%
p95 latency 1.931 ms 2.187 ms +13.28%
p99 latency 2.700 ms 2.900 ms +7.39%
Throughput 3,768.86 req/s 3,542.09 req/s −6.02%

The public baseline showed lower observed latencies and higher throughput than the private candidate benchmark.

The tracing overhead also differed between experiments.

Why preserve both results?

The two experiments were executed in different measurement contexts.

Although the publication process verified that 17 benchmark-relevant inputs matched after normalizing the module/import paths, this does not establish that every runtime or environmental variable was identical.

CPU scheduling, runner variability, resource contention, and other environmental factors can influence latency measurements.

Therefore, the results should not be averaged or treated as interchangeable.

Interpretation

For the public experiment:

  • The median p50 latency increased by approximately 3.93%.
  • The median p95 latency increased by approximately 13.28%.
  • The median p99 latency increased by approximately 7.39%.
  • Throughput decreased by approximately 6.02%.

These are observed results for the benchmarked workload.

They are not universal OpenTelemetry overhead coefficients.

The public and private results together demonstrate the importance of reporting both measurement methodology and environmental context.

Full benchmark documentation:

https://github.com/soroushneyestani/opentelemetry-trace-demo/blob/v0.1.0/docs/PERFORMANCE.md


15. Why Latency Percentiles Matter

A single average request duration cannot fully describe application performance.

Different latency percentiles help reveal different aspects of request behavior.

p50: Typical latency

The 50th percentile represents the median measured request duration.

It is useful for understanding typical response time.

p95: Slower requests

The 95th percentile captures behavior near the slower end of the observed request distribution.

It can reveal effects that are less obvious in the median.

p99: Tail latency

The 99th percentile focuses on the slowest portion of requests.

Tail latency can be important in high-throughput or latency-sensitive systems.

However, reliable interpretation requires attention to sample size, variance, and the statistical characteristics of the workload.

Throughput

Throughput measures completed requests per unit of time.

It provides a complementary perspective to latency.

Higher latency and lower throughput may result from additional per-request work, resource contention, or other environmental effects.

The benchmark was designed to measure these outcomes, not to conclusively isolate every contributing mechanism.


16. Testing Strategy

The project combines application tests with actual containerized integration verification.

Native Windows verification

The private candidate passed 50 named Go tests under Windows.

Native compilation and SQLite behavior were verified.

This did not establish complete local Docker runtime verification.

Linux container verification

The public CI used Ubuntu 24.04 with the documented Docker and Compose environment.

Each public workflow passed 50 named Go tests.

The integration checks exercised the actual application, telemetry infrastructure, and trace retrieval pipeline.

What the integration evidence covers

The verification included:

  • Application startup.
  • HTTP request behavior.
  • Real SQLite operations.
  • OpenTelemetry instrumentation.
  • Trace context handling.
  • Span relationships.
  • Collector-to-Jaeger delivery.
  • Successful trace retrieval.
  • Controlled failure scenarios.
  • Telemetry backend outage handling.
  • Recovery behavior.
  • Graceful shutdown.
  • Source package integrity.

The crucial distinction is that the tests verify not just whether the code compiles, but whether the end-to-end tracing behavior can be observed.


17. Security and Privacy Considerations

Observability systems can collect operationally sensitive data.

A trace may reveal API paths, execution patterns, database operations, service topology, or internal exception details.

Without appropriate controls, tracing and logging can also expose confidential values.

Data minimization

The project uses synthetic test data and verifies that selected sensitive values are not recorded in the resulting traces or logs.

Sanitized failures

The controlled SQLite failure scenario records a sanitized error event.

The goal is to make the failure diagnosable without unnecessarily exposing internal or sensitive data.

Correlation metadata

Request and trace identifiers provide diagnostic value.

They should be handled as structured operational metadata rather than automatically treated as trusted application input.

Exposure of the tracing environment

Jaeger and telemetry receivers are part of the demonstration infrastructure.

Their deployment and network exposure must be reviewed before adapting the example to another environment.

Secret scanning

The independent public repository history was reviewed using disclosure checks and Gitleaks.

The reported result contained zero findings.

As with other automated scanners, this result applies to the configured scanning scope and does not guarantee the absence of every possible security issue.


18. Source Code and Release Integrity

The public distribution uses a separately published repository and an official GitHub Release.

Release identity

Version: v0.1.0

Public source commit:

3aed67c92822c043306dd821628f32573ad2d0aa

Source archive: 50 files

SHA-256:

9da61a54d3d379f112b0f09b882133299a55715bc6313fd4a270d26fb48b756f

Public artifact verification

The publication workflow reported that:

  • All six release attachments were downloadable without authentication.
  • The source ZIP was verified against the tagged source commit.
  • All 50 files matched the intended release inventory.
  • Published checksums were verified.
  • MIT licensing information was present.
  • Relevant third-party notices were included.
  • Both public GitHub Actions workflows succeeded.

GitHub repository protection

The public repository also uses branch and tag protection.

The reported settings require pull requests and the designated successful CI check for main-branch changes.

Force pushes and branch deletion are restricted.

The official release tag is protected against modification or deletion under the configured repository rules.

These controls support source traceability and release integrity.

They do not replace security review or account-level security practices.


19. Reproducing the Demonstration

The public repository contains the application source, Docker-based integration configuration, tests, and technical documentation required for reviewing the implementation.

An engineering review should establish the following sequence.

Step 1: Review the source

Inspect the Go HTTP service and the SQLite integration.

Confirm that application operations correspond to real database activity.

Step 2: Review instrumentation

Inspect the OpenTelemetry initialization, span creation, context propagation, and exporter configuration.

Step 3: Start the documented environment

Use the repository's actual Compose instructions to run the required application and observability components.

Do not assume that Jaeger traces will persist after the demonstration stack is stopped or restarted.

Step 4: Exercise the successful request

Execute the documented success scenario.

Confirm the HTTP response and resulting trace topology.

Step 5: Exercise the controlled database error

Trigger the documented SQLite overflow scenario.

Confirm the HTTP 500 response and sanitized error event.

Step 6: Exercise the not-found path

Execute the missing-record scenario.

Confirm the HTTP 404 response and the intended tracing semantics.

Step 7: Inspect Jaeger

Locate the resulting traces in the Jaeger interface or retrieve them through its supported API.

Verify the expected span relationships.

Step 8: Test correlation

Compare the request, trace, and span identifiers with the structured application logs.

Step 9: Review failure recovery

Follow the documented controlled tests for Collector and Jaeger unavailability.

Verify application continuity and fresh trace retrieval after recovery.

Step 10: Reproduce the benchmark

Use the repository's documented benchmark configuration.

Preserve comparable workload and environmental conditions when interpreting the results.

The repository documentation is authoritative for exact commands, configuration paths, and expected output.


20. Scope and Limitations

The project is intentionally narrow.

Its purpose is to demonstrate correct tracing behavior and practical performance measurement for an original backend application.

Included

  • One Go HTTP service.
  • Real embedded SQLite operations.
  • OpenTelemetry instrumentation.
  • OTLP trace export.
  • OpenTelemetry Collector.
  • Jaeger integration.
  • Trace context handling.
  • Structured log correlation.
  • Real success and failure traces.
  • Outage and recovery verification.
  • Instrumentation overhead benchmarking.

Not guaranteed

  • Durable trace storage.
  • Lossless telemetry export.
  • High availability.
  • Production-scale workload performance.
  • Multi-service application architecture.
  • Universal tracing overhead figures.
  • Complete enterprise observability coverage.
  • Comprehensive security certification.

The demonstration's Jaeger configuration uses temporary storage.

Telemetry may be lost when the infrastructure is unavailable or when bounded exporter resources are exhausted.

The project should therefore be used as a technical reference rather than a complete production observability deployment.


21. Engineering Lessons

The work produced several practical conclusions.

Trace generation and trace delivery are different

The existence of application spans does not prove that Jaeger has received them.

Real backend retrieval is a stronger verification criterion.

Span relationships must be tested

Independent spans are not sufficient to describe one request.

The expected trace and parent-child relationships must be validated.

Database instrumentation should represent real operations

A database span becomes useful when it describes an actual query and contributes to a meaningful execution trace.

Error semantics require care

An HTTP 404 and an internal database failure should not automatically be represented in identical ways.

Tracing status should reflect the documented application and semantic-convention behavior.

Observability infrastructure can fail

Application availability and telemetry delivery are separate concerns.

The service should have bounded and documented behavior when the tracing backend is unavailable.

Performance overhead is measurable

Tracing is not free.

Its actual cost depends on the application, environment, sampling policy, exporter behavior, and workload.

Performance results require context

The differences between the private and public benchmark results show why one isolated figure is insufficient.

Methodology, variation, and runtime conditions matter.

Release evidence improves reproducibility

A verified source commit, public CI, machine-readable trace evidence, and a checked source archive make the implementation easier to inspect independently.


22. Who Can Use This Project?

Backend developers

Developers can study how HTTP application operations and real database activity can be represented in one trace.

DevOps engineers

The project demonstrates a practical OpenTelemetry Collector and Jaeger integration environment.

Observability engineers

The repository includes examples of trace relationships, context handling, structured log correlation, and backend retrieval.

Performance engineers

The benchmark provides a case study in measuring the cost of enabling telemetry and comparing latency distributions.

Students and technical educators

The code and documentation provide a relatively small, inspectable example connecting application instrumentation to a working observability backend.

Engineering teams

Teams considering OpenTelemetry can use the project as a reference for evaluation, while adapting its architecture, sampling, storage, security, and operational settings to their own requirements.


23. Potential Future Extensions

The following are possible independent extensions, not features claimed in v0.1.0.

Multi-service tracing

Add separate application services and verify propagation of trace context through real inter-service HTTP calls.

Persistent trace storage

Replace temporary Jaeger storage with an appropriate durable backend and examine retention policies.

Additional sampling strategies

Compare head-sampling configurations and investigate the operational implications of different sampling rates.

Metrics integration

Introduce metrics that complement traces, such as request rates, errors, and latency distributions.

Broader benchmark workloads

Evaluate instrumentation overhead under different query patterns, concurrency levels, and request sizes.

Extended failure injection

Explore additional bounded failure scenarios involving delayed exporters, constrained queues, or intermittent telemetry transport.

Trace-to-log navigation

Extend existing correlation features with additional tooling for navigating between trace records and structured logs.

Security hardening

Introduce production-oriented authentication, network controls, secrets management, and telemetry-data governance where required.

Each extension would require its own implementation, verification, and acceptance evidence.


Conclusion

OpenTelemetry Trace Demo v0.1.0 demonstrates a complete tracing workflow for an original Go HTTP application using a real SQLite database.

The implementation creates related HTTP, application, and database spans, exports them through OpenTelemetry and a Collector, and makes them available through Jaeger.

The verification covers successful requests, controlled database failures, not-found responses, W3C trace context behavior, structured log correlation, telemetry backend outages, and graceful shutdown.

The public release also includes a controlled performance comparison showing measurable latency and throughput changes when OTLP tracing is enabled.

Most importantly, the project separates several concepts that are sometimes incorrectly treated as equivalent:

Creating spans is not the same as delivering traces.

A successful HTTP request is not proof of successful telemetry export.

A benchmark result is not a universal performance guarantee.

A trace visualization is not sufficient evidence unless its relationships and underlying operations are correct.

By combining actual application instrumentation, real backend retrieval, automated verification, benchmark evidence, and verifiable release artifacts, the project provides a practical reference for evidence-driven observability engineering.


Technical Resources

GitHub Repository
https://github.com/soroushneyestani/opentelemetry-trace-demo

Official Release v0.1.0
https://github.com/soroushneyestani/opentelemetry-trace-demo/releases/tag/v0.1.0

Public Main CI
https://github.com/soroushneyestani/opentelemetry-trace-demo/actions/runs/46023730240

Public Release-Tag CI
https://github.com/soroushneyestani/opentelemetry-trace-demo/actions/runs/46024451572

Machine-Readable Trace Evidence
https://github.com/soroushneyestani/opentelemetry-trace-demo/releases/download/v0.1.0/TRACE_EVIDENCE.json

Performance Methodology
https://github.com/soroushneyestani/opentelemetry-trace-demo/blob/v0.1.0/docs/PERFORMANCE.md

Source Archive
https://github.com/soroushneyestani/opentelemetry-trace-demo/releases/download/v0.1.0/otel-trace-demo-v0.1.0-source.zip

Checksum File
https://github.com/soroushneyestani/opentelemetry-trace-demo/releases/download/v0.1.0/SHA256SUMS.txt


Developed by Soroush Neyestani
OpenTelemetry Trace Demo — v0.1.0
November 2026 | Observability | Go | OpenTelemetry | MIT License

Keywords: OpenTelemetry, Distributed Tracing, Observability, Go, Golang, SQLite, Jaeger, OpenTelemetry Collector, OTLP, Trace Context, W3C Traceparent, Trace ID, Span ID, Span Hierarchy, HTTP Instrumentation, Database Tracing, Structured Logging, Application Performance, p50, p95, p99, Benchmarking, GitHub Actions, DevOps, Open Source.