How To Observe Your Blazor WebAssembly Application With OpenTelemetry And Real User Monitoring

How To Observe Your Blazor WebAssembly Application With OpenTelemetry And Real User Monitoring

Effortless integration and enhanced visibility with OpenTelemetry in Blazor WebAssembly Challenges in observing WebAssembly applications Observing WebAssembly applications presents unique challenges that stem from its design and execution environment. Unlike traditional web applications, where monitoring tools can hook directly into JavaScript and the Document Object Model (DOM), WebAssembly runs as binary code executed within the browser’s sandbox. This layer of abstraction complicates direct introspection, as traditional monitoring tools are not designed to interact with the lower-level operations of WebAssembly. The Bytecode Alliance plays a crucial role here, promoting standards and tools that aim to enhance the security and usability of WebAssembly, including better support for observability. Moreover, the performance characteristics of WebAssembly, which can closely approach native speeds, demand monitoring solutions that are both highly efficient and minimally invasive to avoid impacting the user experience. This creates a complex scenario for developers who need detailed visibility into their applications’ behavior without sacrificing performance. ...

May 16, 2024 · 10 min · 2056 words · Harry Kimpel
Getting Started with OpenTelemetry: Zero-Code Instrumentation, Custom Signals, and the Collector

Getting Started with OpenTelemetry: Zero-Code Instrumentation, Custom Signals, and the Collector

“Instrumentation” is one of those words that gets thrown around constantly in the observability world - but what does it actually mean, and how does it work in practice? I’ve run this as a hands-on workshop several times, and what I find most effective is starting from first principles: build a tiny app, make it produce telemetry, and watch what comes out. By the end you understand why the pieces fit together the way they do. ...

January 18, 2024 · 8 min · 1690 words · Harry Kimpel