Details

Mastering OpenTelemetry and Observability


Mastering OpenTelemetry and Observability

Enhancing Application and Infrastructure Performance and Avoiding Outages
Tech Today 1. Aufl.

von: Steve Flanders

46,99 €

Verlag: Wiley
Format: PDF
Veröffentl.: 22.10.2024
ISBN/EAN: 9781394253142
Sprache: englisch
Anzahl Seiten: 368

DRM-geschütztes eBook, Sie benötigen z.B. Adobe Digital Editions und eine Adobe ID zum Lesen.

Beschreibungen

<p><b>Discover the power of open source observability for your enterprise environment</b> <p>In <i>Mastering Observability and OpenTelemetry: Enhancing Application and Infrastructure Performance and Avoiding Outages,</i> accomplished engineering leader and open source contributor Steve Flanders unlocks the secrets of enterprise application observability with a comprehensive guide to OpenTelemetry (OTel). Explore how OTel transforms observability, providing a robust toolkit for capturing and analyzing telemetry data across your environment. <p>You will learn how OTel delivers unmatched flexibility, extensibility, and vendor neutrality, freeing you from vendor lock-in and enabling data sovereignty and portability. You will also discover: <ul> <li>Comprehensive coverage of observability issues and technology: Dive deep into the world of observability and gain a comprehensive understanding of observability fundamentals with practical insights and real-world use cases.</li> <li>Practical guidance: From instrumentation techniques to advanced tracing strategies, gain the skills needed to create highly observable systems. Learn how to deploy and configure OTel, even in challenging brownfield environments, with step-by-step instructions and hands-on exercises.</li> <li>An opportunity for community contributions and communication: Join the OTel community, including end-users, vendors, and cloud providers, and shape the future of observability while connecting with experts and peers.</li> </ul> <p>Whether you are a novice or a seasoned professional, <i>Mastering Observability and OpenTelemetry</i> is your roadmap to troubleshooting availability and performance problems by learning to detect anomalies, interpret data, and proactively optimize performance in your enterprise environment. Embark on your journey to observability mastery today!
<p>Foreword xiii</p> <p>Introduction xiv</p> <p>The Mastering Series xvi</p> <p><b>Chapter 1 What Is Observability? 1</b></p> <p>Definition 1</p> <p>Background 4</p> <p>Cloud Native Era 4</p> <p>Monitoring Compared to Observability 5</p> <p>Metadata 8</p> <p>Dimensionality 9</p> <p>Cardinality 9</p> <p>Semantic Conventions 10</p> <p>Data Sensitivity 10</p> <p>Signals 10</p> <p>Metrics 10</p> <p>Logs 13</p> <p>Traces 14</p> <p>Other Signals 20</p> <p>Collecting Signals 20</p> <p>Instrumentation 21</p> <p>Push Versus Pull Collection 22</p> <p>Data Collection 23</p> <p>Sampling Signals 26</p> <p>Observability 27</p> <p>Platforms 27</p> <p>Application Performance Monitoring 28</p> <p>The Bottom Line 28</p> <p>Notes 30</p> <p><b>Chapter 2 Introducing OpenTelemetry! 31</b></p> <p>Background 31</p> <p>Observability Pain Points 31</p> <p>The Rise of Open Source Software 34</p> <p>Introducing OpenTelemetry 35</p> <p>OpenTelemetry Components 37</p> <p>OpenTelemetry Concepts 48</p> <p>Roadmap 50</p> <p>The Bottom Line 50</p> <p>Notes 51</p> <p><b>Chapter 3 Getting Started with the Astronomy Shop 53</b></p> <p>Background 53</p> <p>Architecture 54</p> <p>Prerequisites 54</p> <p>Getting Started 55</p> <p>Accessing the Astronomy Shop 57</p> <p>Accessing Telemetry Data 57</p> <p>Beyond the Basics 58</p> <p>Configuring Load Generation 58</p> <p>Configuring Feature Flags 59</p> <p>Configuring Tests Built from Traces 60</p> <p>Configuring the OTel Collector 60</p> <p>Configuring OTel Instrumentation 62</p> <p>Troubleshooting Astronomy Shop 62</p> <p>Astronomy Shop Scenarios 63</p> <p>Troubleshooting Errors 63</p> <p>Troubleshooting Availability 69</p> <p>Troubleshooting Performance 70</p> <p>Troubleshooting Telemetry 74</p> <p>The Bottom Line 75</p> <p>Notes 76</p> <p><b>Chapter 4 Understanding the OpenTelemetry Specification 77</b></p> <p>Background 77</p> <p>API Specification 79</p> <p>API Definition 80</p> <p>API Context 80</p> <p>API Signals 81</p> <p>API Implementation 82</p> <p>SDK Specification 82</p> <p>SDK Definition 83</p> <p>SDK Signals 83</p> <p>SDK Implementation 84</p> <p>Data Specification 84</p> <p>Data Models 86</p> <p>Data Protocols 88</p> <p>Data Semantic Conventions 88</p> <p>Data Compatibility 89</p> <p>General Specification 90</p> <p>The Bottom Line 91</p> <p>Notes 92</p> <p><b>Chapter 5 Managing the OpenTelemetry Collector 93</b></p> <p>Background 94</p> <p>Deployment Modes 95</p> <p>Agent Mode 96</p> <p>Gateway Mode 98</p> <p>Reference Architectures 100</p> <p>The Basics 101</p> <p>The Binary 103</p> <p>Sizing 103</p> <p>Components 104</p> <p>Configuration 106</p> <p>Receivers and Exporters 115</p> <p>Processors 116</p> <p>Extensions 126</p> <p>Connectors 127</p> <p>Observing 128</p> <p>Relevant Metrics 128</p> <p>Health Check Extension 131</p> <p>zPages Extension 131</p> <p>Troubleshooting 134</p> <p>Out of Memory Crashes 134</p> <p>Data Not Being Received or Exported 134</p> <p>Performance Issues 135</p> <p>Beyond the Basics 135</p> <p>Distributions 135</p> <p>Securing 137</p> <p>Management 138</p> <p>The Bottom Line 140</p> <p>Notes 141</p> <p><b>Chapter 6 Leveraging OpenTelemetry Instrumentation 143</b></p> <p>Environment Setup 144</p> <p>Python Trace Instrumentation 149</p> <p>Automatic Instrumentation 150</p> <p>Manual Instrumentation 157</p> <p>Programmatic Instrumentation 163</p> <p>Mixing Automatic and Manual Trace Instrumentation 166</p> <p>Python Metrics Instrumentation 167</p> <p>Automatic Instrumentation 168</p> <p>Manual Instrumentation 169</p> <p>Programmatic Instrumentation 174</p> <p>Mixing Automatic and Manual Metric Instrumentation 176</p> <p>Python Log Instrumentation 178</p> <p>Manual Metadata Enrichment 179</p> <p>Trace Correlation 181</p> <p>Language Considerations 183</p> <p>NET 184</p> <p>Java 184</p> <p>Go 184</p> <p>Node js 185</p> <p>Deployment Models 185</p> <p>Distributions 185</p> <p>The Bottom Line 186</p> <p>Notes 187</p> <p><b>Chapter 7 Adopting OpenTelemetry 189</b></p> <p>The Basics 189</p> <p>Why OTel and Why Now? 190</p> <p>Where to Start? 191</p> <p>General Process 192</p> <p>Data Collection 193</p> <p>Instrumentation 195</p> <p>Production Readiness 196</p> <p>Maturity Framework 197</p> <p>Brownfield Deployment 198</p> <p>Data Collection 198</p> <p>Instrumentation 200</p> <p>Dashboards and Alerts 202</p> <p>Greenfield Deployment 204</p> <p>Data Collection 204</p> <p>Instrumentation 208</p> <p>Other Considerations 208</p> <p>Administration and Maintenance 208</p> <p>Environments 211</p> <p>Semantic Conventions 212</p> <p>The Future 213</p> <p>The Bottom Line 213</p> <p>Notes 214</p> <p><b>Chapter 8 The Power of Context and Correlation 215</b></p> <p>Background 215</p> <p>Context 217</p> <p>OTel Context 219</p> <p>Trace Context 221</p> <p>Resource Context 223</p> <p>Logic Context 224</p> <p>Correlation 225</p> <p>Time Correlation 225</p> <p>Context Correlation 226</p> <p>Trace Correlation 228</p> <p>Metric Correlation 230</p> <p>The Bottom Line 230</p> <p>Notes 231</p> <p><b>Chapter 9 Choosing an Observability Platform 233</b></p> <p>Primary Considerations 233</p> <p>Platform Capabilities 235</p> <p>Marketing Versus Reality 237</p> <p>Price, Cost, and Value 238</p> <p>Observability Fragmentation 241</p> <p>Primary Factors 242</p> <p>Build, Buy, or Manage 242</p> <p>Licensing, Operations, and Deployment 244</p> <p>OTel Compatibility and Vendor Lock-In 244</p> <p>Stakeholders and Company Culture 245</p> <p>Implementation Basics 246</p> <p>Administration 247</p> <p>Usage 248</p> <p>Maturity Framework 248</p> <p>The Bottom Line 250</p> <p>Notes 250</p> <p><b>Chapter 10 Observability Antipatterns and Pitfalls 251</b></p> <p>Telemetry Data Missteps 251</p> <p>Mixing Instrumentation Libraries Scenario 253</p> <p>Automatic Instrumentation Scenario 253</p> <p>Custom Instrumentation Scenario 254</p> <p>Component Configuration Scenario 255</p> <p>Performance Overhead Scenario 255</p> <p>Resource Allocation Scenario 256</p> <p>Security Considerations Scenario 256</p> <p>Monitoring and Maintenance Scenario 257</p> <p>Observability Platform Missteps 258</p> <p>Vendor Lock-in Scenario 260</p> <p>Fragmented Tooling Scenario 260</p> <p>Tool Fatigue Scenario 261</p> <p>Inadequate Scalability Scenario 261</p> <p>Data Overload Scenario 262</p> <p>Company Culture Implications 264</p> <p>Lack of Leadership Support Scenario 265</p> <p>Resistance to Change Scenario 266</p> <p>Collaboration and Alignment Scenario 266</p> <p>Goals and Success Criteria Scenario 267</p> <p>Standardization and Consistency Scenario 268</p> <p>Incentives and Recognition Scenario 268</p> <p>Feedback and Improvement Scenario 269</p> <p>Prioritization Framework 270</p> <p>The Bottom Line 272</p> <p>Notes 273</p> <p><b>Chapter 11 Observability at Scale 275</b></p> <p>Understanding the Challenges 275</p> <p>Volume and Velocity of Telemetry Data 276</p> <p>Distributed System Complexity 278</p> <p>Observability Platform Complexity 281</p> <p>Infrastructure and Resource Constraints 281</p> <p>Strategies for Scaling Observability 282</p> <p>Elasticity, Elasticity, Elasticity! 282</p> <p>Leverage Cloud Native Technologies 284</p> <p>Filter, Sample, and Aggregate 286</p> <p>Anomaly Detection and Predictive Analytics 290</p> <p>Emerging Technologies and Methodologies 291</p> <p>Best Practices for Managing Scale 292</p> <p>General Recommendations 292</p> <p>Instrumentation and Data Collection 293</p> <p>Observability Platform 293</p> <p>The Bottom Line 294</p> <p>Notes 295</p> <p><b>Chapter 12 The Future of Observability 297</b></p> <p>Challenges and Opportunities 297</p> <p>Cost 297</p> <p>Complexity 299</p> <p>Compliance 300</p> <p>Code 301</p> <p>Emerging Trends and Innovations 302</p> <p>Artificial Intelligence 303</p> <p>Observability as Code 304</p> <p>Service Mesh 305</p> <p>eBPF 306</p> <p>The Future of OpenTelemetry 307</p> <p>Stabilization and Expansion 308</p> <p>Expanded Signal Support 308</p> <p>Unified Query Language 310</p> <p>Community-driven Innovation 310</p> <p>The Bottom Line 311</p> <p>Notes 311</p> <p><b>Appendix A The Bottom Line 313</b></p> <p>Chapter 1: What Is Observability? 313</p> <p>Chapter 2: Introducing OpenTelemetry! 315</p> <p>Chapter 3: Getting Started with the Astronomy Shop 316</p> <p>Chapter 4: Understanding the OpenTelemetry Specification 317</p> <p>Chapter 5: Managing the OpenTelemetry Collector 318</p> <p>Chapter 6: Leveraging OpenTelemetry Instrumentation 320</p> <p>Chapter 7: Adopting OpenTelemetry 321</p> <p>Chapter 8: The Power of Context and Correlation 323</p> <p>Chapter 9: Choosing an Observability Platform 324</p> <p>Chapter 10: Observability Antipatterns and Pitfalls 326</p> <p>Chapter 11: Observability at Scale 327</p> <p>Chapter 12: The Future of Observability 328</p> <p><b>Appendix B Introduction 329</b></p> <p>Chapter 2: Introducing OpenTelemetry! 330</p> <p>OpenTelemetry Concepts > Roadmap 330</p> <p>Chapter 3: Getting Started with the Astronomy Shop 330</p> <p>Background > Architecture 330</p> <p>Chapter 5: Managing the OpenTelemetry Collector 332</p> <p>Background 332</p> <p>The Basics > Components 332</p> <p>Chapter 12: The Future of Observability 340</p> <p>Challenges and Opportunities > Code 340</p> <p>Notes 341</p> <p>Index 343</p>
<p><B>STEVE FLANDERS</B> is a Senior Director of Engineering at Splunk, a Cisco company. Steve is one of the founding members of the OpenTelemetry project.
<p><b>Discover how to deploy OpenTelemetry™ to eliminate vendor lock-in and regain control of your telemetry data</b> <p>In <i>Mastering OpenTelemetry™ and Observability: Enhancing Application and Infrastructure Performance and Avoiding Outages</i>, veteran software engineering leader Steve Flanders delivers a comprehensive guide to OpenTelemetry (OTel) and achieving observability. You’ll learn about how OTel revolutionizes observability, providing a suite of APIs, SDKs, and tools to capture and analyze telemetry data across your infrastructure. In addition, you will understand how to leverage OTel to better achieve observability. <p>Find out how to navigate the complexities of observability with ease. Discover how to deploy and configure OTel, even in challenging brownfield environments. With insights from a seasoned industry expert, gain a deep understanding of observability’s rise and its impact on the modern software landscape. Explore real-world use cases, deployment models, and hands-on exercises. Unlock the full potential of this technology with practical guidance on configuration and optimization. Plus, contribute to the OTel community and shape the future of observability. <p>Whether you’re new to observability or a seasoned professional, <i>Mastering OpenTelemetry™ and Observability </i>equips you with the knowledge and tools to predict and prevent downtime, outages, and failures in your enterprise infrastructure. Start your journey to observability mastery today with this can’t-miss handbook for cloud architects, software developers, site reliability engineers, and DevOps and AIOps professionals.

Diese Produkte könnten Sie auch interessieren:

Mastering OpenTelemetry and Observability
Mastering OpenTelemetry and Observability
von: Steve Flanders
EPUB ebook
46,99 €
Computational Intelligence
Computational Intelligence
von: T. Ananth Kumar, E. Golden Julie, Venkata Raghuveer Burugadda, Abhishek Kumar, Puneet Kumar
EPUB ebook
194,99 €
Artificial Intelligence For Dummies
Artificial Intelligence For Dummies
von: John Paul Mueller, Luca Massaron, Stephanie Diamond
EPUB ebook
21,99 €