> For the complete documentation index, see [llms.txt](https://stephen-tsoi.gitbook.io/stephen-tsoi-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://stephen-tsoi.gitbook.io/stephen-tsoi-docs/opentelemetry/from-missing-events-to-complete-visibility-tracing-enterprise-transactions-with-opentelemetry.md).

# 🔍➔🌐 From Missing Events to Complete Visibility: Tracing Enterprise Transactions with OpenTelemetry

A 34-day comprehensive architecture blueprint mapping end-to-end distributed tracing infrastructure, tail-based sampling, and proxy delivery for complex enterprise platforms.

**Highlight:**&#x20;

<table data-view="cards"><thead><tr><th></th><th></th><th></th></tr></thead><tbody><tr><td><strong>Architectural Cost &#x26; Sampling</strong></td><td>Deep dives on Tail-based Sampling and two-tier Collector topology to optimize telemetry budgets and data pipelines at scale</td><td>Day 14-20</td></tr><tr><td><strong>Context Propagation &#x26; Legacy</strong></td><td>Mastering context stitching, Trace ID propagation, and troubleshooting visibility blind spots in hybrid messaging/REST networks.</td><td>Day 6,11,21</td></tr><tr><td><strong>Telemetry Security &#x26; Runbook</strong></td><td>Enterprise-grade frameworks covering PII data masking, collector telemetry governance, and real-world system migration done right.</td><td>Day 22,23,34</td></tr></tbody></table>

In modern enterprise architecture, the reliance on a diverse ecosystem of specialized third-party products and appliances is crucial for delivering a reliable, stable, scalable, secure, and high-throughput application platform. Given the distributed nature of events within this architecture, the implementation of a distributed tracing solution becomes imperative. This solution aids in narrowing down troubleshooting scopes and expediting root cause analyses. This post series delves into the fundamental concepts of OpenTelemetry and its core components. It addresses the limitations and challenges faced when using OpenTelemetry in real-world scenarios. Additionally, it provides insight into an infrastructure design showcasing how to instrument individual components with OpenTelemetry, capture traces through agents or collectors, and transmit them to an APM backend via a proxy server.

1. [What is OpenTelemetry](/stephen-tsoi-docs/opentelemetry/from-missing-events-to-complete-visibility-tracing-enterprise-transactions-with-opentelemetry/day-1-34-what-is-opentelemetry.md)
2. [OpenTelemetry Component](/stephen-tsoi-docs/opentelemetry/from-missing-events-to-complete-visibility-tracing-enterprise-transactions-with-opentelemetry/day-2-34-the-opentelemetry-component.md)
3. [The relationship between Trace, Log and Matrix](/stephen-tsoi-docs/opentelemetry/from-missing-events-to-complete-visibility-tracing-enterprise-transactions-with-opentelemetry/day-3-34-the-relationship-between-trace-log-and-metrix.md)
4. [OpenTelemetry Trace](/stephen-tsoi-docs/opentelemetry/from-missing-events-to-complete-visibility-tracing-enterprise-transactions-with-opentelemetry/day-4-34-opentelemetry-trace.md)
5. [Auto Instrumentation vs. Manual Instrumentation - It's All About Trade-offs](/stephen-tsoi-docs/opentelemetry/from-missing-events-to-complete-visibility-tracing-enterprise-transactions-with-opentelemetry/day-5-34-auto-instrumentation-vs.-manual-instrumentation-its-all-about-trade-offs.md)
6. [Context Propagation](/stephen-tsoi-docs/opentelemetry/from-missing-events-to-complete-visibility-tracing-enterprise-transactions-with-opentelemetry/day-6-34-context-propagation.md)
7. [Control your Trace Log Volume and Size](/stephen-tsoi-docs/opentelemetry/from-missing-events-to-complete-visibility-tracing-enterprise-transactions-with-opentelemetry/day-6-34-context-propagation.md)
8. [What really need to be logged on the trace log](/stephen-tsoi-docs/opentelemetry/from-missing-events-to-complete-visibility-tracing-enterprise-transactions-with-opentelemetry/day-8-34-what-really-need-to-be-logged-on-the-trace-log.md)
9. [OpenTelemetry log](/stephen-tsoi-docs/opentelemetry/from-missing-events-to-complete-visibility-tracing-enterprise-transactions-with-opentelemetry/day-9-34-opentelemetry-log.md)
10. [Logs + Traces Correlation](/stephen-tsoi-docs/opentelemetry/from-missing-events-to-complete-visibility-tracing-enterprise-transactions-with-opentelemetry/day-10-34-logs-+-traces-correlation.md)
11. [OpenTelemetry Metric](/stephen-tsoi-docs/opentelemetry/from-missing-events-to-complete-visibility-tracing-enterprise-transactions-with-opentelemetry/day-11-34-opentelemetry-metric.md)
12. [Alerting](/stephen-tsoi-docs/opentelemetry/from-missing-events-to-complete-visibility-tracing-enterprise-transactions-with-opentelemetry/day-12-34-alerting.md)
13. [OTel Collector](/stephen-tsoi-docs/opentelemetry/from-missing-events-to-complete-visibility-tracing-enterprise-transactions-with-opentelemetry/day-13-34-otel-collector.md)
14. [The Challenge of OpenTelemetry 1 – Otel Development](/stephen-tsoi-docs/opentelemetry/from-missing-events-to-complete-visibility-tracing-enterprise-transactions-with-opentelemetry/day-14-34-the-challenge-of-opentelemetry.md)
15. [Minimize the bandwidth usage – Sampling](/stephen-tsoi-docs/opentelemetry/from-missing-events-to-complete-visibility-tracing-enterprise-transactions-with-opentelemetry/day-15-34-minimize-the-bandwidth-usage-sampling.md)
16. [Sampling Summary](/stephen-tsoi-docs/opentelemetry/from-missing-events-to-complete-visibility-tracing-enterprise-transactions-with-opentelemetry/day-16-34-sampling-summary.md)
17. [Sampling - Tail Sampling](/stephen-tsoi-docs/opentelemetry/from-missing-events-to-complete-visibility-tracing-enterprise-transactions-with-opentelemetry/day-17-34-sampling-tail-sampling.md)
18. [Tail-Based Sampling - Two Tier Collector Design](/stephen-tsoi-docs/opentelemetry/from-missing-events-to-complete-visibility-tracing-enterprise-transactions-with-opentelemetry/day-18-34-tail-based-sampling-two-tier-collector-design.md)
19. [Tail-Based Sampling Enhance Two Tier Collector, Design by EDA (Messaging Bus)](/stephen-tsoi-docs/opentelemetry/from-missing-events-to-complete-visibility-tracing-enterprise-transactions-with-opentelemetry/day-19-34-tail-based-sampling-enhance-two-tier-collector-design-by-eda-messaging-bus.md)
20. [Minimize the band-width usage - Sampling on the event bus](/stephen-tsoi-docs/opentelemetry/from-missing-events-to-complete-visibility-tracing-enterprise-transactions-with-opentelemetry/day-20-34-minimize-the-bandwidth-usage-sampling-on-the-event-bus.md)
21. [Third party software support](/stephen-tsoi-docs/opentelemetry/from-missing-events-to-complete-visibility-tracing-enterprise-transactions-with-opentelemetry/day-21-34-third-party-software-support.md)
22. [Security Consideration](/stephen-tsoi-docs/opentelemetry/from-missing-events-to-complete-visibility-tracing-enterprise-transactions-with-opentelemetry/day-22-34-security-consideration.md)
23. [Security Considerations in OpenTelemetry Architecture Design](/stephen-tsoi-docs/opentelemetry/from-missing-events-to-complete-visibility-tracing-enterprise-transactions-with-opentelemetry/day-23-34-security-considerations-in-opentelemetry-architecture-design.md)
24. [Documentation](/stephen-tsoi-docs/opentelemetry/from-missing-events-to-complete-visibility-tracing-enterprise-transactions-with-opentelemetry/day-24-34-documentation.md)
25. [Traditional B2C Architecture](/stephen-tsoi-docs/opentelemetry/from-missing-events-to-complete-visibility-tracing-enterprise-transactions-with-opentelemetry/day-25-34-traditional-b2c-architecture.md)
26. [Shortcomings of Today's APM Solutions](/stephen-tsoi-docs/opentelemetry/from-missing-events-to-complete-visibility-tracing-enterprise-transactions-with-opentelemetry/day-26-34-shortcomings-of-todays-apm-solutions.md)
27. [Tradition Troubleshooting - Application Log Analysis](/stephen-tsoi-docs/opentelemetry/from-missing-events-to-complete-visibility-tracing-enterprise-transactions-with-opentelemetry/day-27-34-tradition-troubleshooting-application-log-analysis.md)
28. [Tradition APM Solution - Code Injection / Instrumentation](/stephen-tsoi-docs/opentelemetry/from-missing-events-to-complete-visibility-tracing-enterprise-transactions-with-opentelemetry/day-28-34-tradition-apm-solution-code-injection-instrumentation.md)
29. [Event-Driven Architecture needs OpenTelemetry](/stephen-tsoi-docs/opentelemetry/from-missing-events-to-complete-visibility-tracing-enterprise-transactions-with-opentelemetry/day-28-34-tradition-apm-solution-code-injection-instrumentation.md)
30. [Build a Centralized APM Platform](/stephen-tsoi-docs/opentelemetry/from-missing-events-to-complete-visibility-tracing-enterprise-transactions-with-opentelemetry/day-30-34-build-a-centralized-apm-platform.md)
31. [Special Handling for Unsupported Protocols](/stephen-tsoi-docs/opentelemetry/from-missing-events-to-complete-visibility-tracing-enterprise-transactions-with-opentelemetry/day-31-34-special-handling-for-unsupported-protocols.md)
32. [Designing a Resilient and Scalable Collector Architecture ](/stephen-tsoi-docs/opentelemetry/from-missing-events-to-complete-visibility-tracing-enterprise-transactions-with-opentelemetry/day-32-34-designing-a-resilient-and-scalable-collector-architecture.md)
33. [Is it really to get what you want via trace log?](/stephen-tsoi-docs/opentelemetry/from-missing-events-to-complete-visibility-tracing-enterprise-transactions-with-opentelemetry/day-33-34-is-it-really-to-get-what-you-want-via-trace-log.md)
34. [Migration Done Right](/stephen-tsoi-docs/opentelemetry/from-missing-events-to-complete-visibility-tracing-enterprise-transactions-with-opentelemetry/day-34-34-migration-done-right.md)
35. [HackerNoon Post 1: OpenTelemetry Cost Governance](/stephen-tsoi-docs/opentelemetry/draft-for-review-the-opentelemetry-lie-why-your-free-observability-is-costing-you-millions.md)
36. [HackerNoon Post 2: Distributed Tracing](/stephen-tsoi-docs/opentelemetry/draft-for-review-the-trace-breakers-why-your-distributed-tracing-fails-at-the-first-hop.md)
37. [HackerNoon Post 3: OpenTelemetry Migration Strategy](/stephen-tsoi-docs/opentelemetry/draft-the-apm-ransom-a-framework-for-migrating-to-opentelemetry-without-losing-visibility.md)
38. [Dev.to Post](/stephen-tsoi-docs/opentelemetry/dev.to.md)

✍️**Article: Building an OpenTelemetry Distributed Tracing Solution**

[Building an OpenTelemetry Distributed Tracing Solution](https://solace.com/blog/opentelemetry-distributed-tracing-solution/)

<figure><img src="https://2617374589-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcQN1DZY6gJZPxlsQf9Re%2Fuploads%2F9aNf3pgCGkSKuAOzsnGM%2Fimage.png?alt=media&amp;token=b646803b-8968-4fb2-809f-baac7f876b85" alt=""><figcaption></figcaption></figure>

## 🚀 Let's Connect Beyond GitBook!

If you found this article helpful, you can find more of my technical insights, daily discussions, and deep dives across these platforms:

* **Read more of my work:** Check out my articles on [dev.to](https://dev.to/stephen_tsoi_5b2c4055f3a9) and [Hashnode](https://stephentsoi.hashnode.dev/).
* **Join the daily conversation:** Connect with me directly on [LinkedIn](https://www.linkedin.com/in/stephen-tsoi-16309730/).

***

#### 📬 Stay Ahead of the Curve

Enjoyed this piece? I break down complex technical topics into bite-sized, actionable insights every week.

👉 **Subscribe to my** [**LinkedIn Newsletter**](https://www.linkedin.com/build-relation/newsletter-follow?entityUrn=7487299517642612736) to never miss an update and get the latest articles delivered straight to your feed!


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://stephen-tsoi.gitbook.io/stephen-tsoi-docs/opentelemetry/from-missing-events-to-complete-visibility-tracing-enterprise-transactions-with-opentelemetry.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
