Home / Companies / New Relic / Blog / Post Details
Content Deep Dive

How to observe your Blazor WebAssembly application with OpenTelemetry and real user monitoring

Blog post from New Relic

Post Details
Company
Date Published
Author
Harry Kimpel, Principal Developer Relations Engineer
Word Count
2,328
Company Posts That Month
15
Language
English
Hacker News Points
-
Post removed?
No
Summary

Observing WebAssembly applications poses unique challenges due to its binary execution in a browser sandbox, which complicates direct introspection compared to traditional web applications. The Bytecode Alliance is working on enhancing WebAssembly's security and observability standards, and Blazor WebAssembly, a framework that compiles C# into WebAssembly, enables developers to use .NET for both client-side and server-side development, providing a streamlined and high-performance development process. The integration of OpenTelemetry with Blazor WebAssembly allows for comprehensive observability by collecting and exporting telemetry data, though the lack of direct HTTP request capabilities in WebAssembly complicates frontend instrumentation. Automated and manual instrumentation using OpenTelemetry in the backend can capture detailed telemetry data, while frontend monitoring can be achieved through real user monitoring capabilities, such as those provided by New Relic. Despite these challenges, the article illustrates a practical approach to gaining insights into Blazor WebAssembly applications by leveraging existing tools and platforms, with the expectation that ongoing community efforts will continue to simplify observability for these applications.

Trends Found in this Post
Trend Post Mentions Total Month Mentions Posts Companies MoM
OpenTelemetry 35 203 28 16 -45%
Observability 11 871 206 85 -29%
Use This Data

Use this post, company, and trend context to find content marketing opportunities, perform competitive analysis, or address product feature gaps via the Plushcap MCP server or the Plushcap API.