August 2024 Summaries
3 posts from Highlight.io
Filter
Month:
Year:
Post Summaries
Back to Blog
OpenTelemetry (OTeL) provides a robust framework for monitoring browser applications by collecting telemetry data such as logs, traces, and metrics, offering insights into performance and behavior through tools, APIs, and SDKs. While traditionally used on the server side, OTeL's browser instrumentation is highlighted for its ability to connect client and server traces, offering a comprehensive view of application performance by tracking document load performance, user interactions, and network requests. Highlight's JavaScript SDK seamlessly integrates with OpenTelemetry to facilitate this process, allowing developers to automatically or manually instrument client-side applications and create end-to-end traces. This connection enhances end-to-end visibility, performance optimization, and error correlation, providing an opportunity to address bottlenecks and improve user experience. The integration facilitates visualization of traces within Highlight's UI, enabling detailed analysis of user interactions, resource timings, and web vitals, ultimately supporting performance optimization efforts and delivering exceptional web applications.
Aug 27, 2024
1,706 words in the original blog post.
Integrating OpenTelemetry into Next.js applications enhances observability by providing insights into application behavior, and this can be achieved through Vercel's @vercel/otel package or a manual setup. The integration process involves configuring Next.js to push data to a collector, with the instrumentation needing to be explicitly enabled for versions before Next.js 15. Users can utilize default spans available for app and page routers or create custom spans for additional insights. The @vercel/otel package offers easy setup and compatibility across various environments, while manual integration requires specific configurations for Node.js environments and is not compatible with Edge runtime. Highlight further facilitates observability by offering its own scalable collector and additional features such as logging, error tracing, and session replay, which ties client-side events to server-side traces while ensuring data privacy. OpenTelemetry serves as a crucial vendor-agnostic framework, reducing the need for rewriting when switching providers and maintaining a flexible telemetry integration.
Aug 08, 2024
1,446 words in the original blog post.
OpenTelemetry, a Cloud Native Computing Foundation (CNCF) project, is a robust and unified framework designed to collect telemetry data such as traces, metrics, and logs from applications, offering deep insights into application performance and facilitating faster bug resolution. Originating from the merger of two earlier CNCF projects, OpenTracing and OpenCensus, it aims to alleviate vendor lock-in by providing a vendor-neutral approach to observability. The framework includes key components like the OpenTelemetry Protocol (OTLP), which standardizes data transmission, and the Collector, a tool for receiving, processing, and exporting telemetry data. The Collector can be configured with receivers, processors, extensions, exporters, and services, forming pipelines that manage the flow and transformation of telemetry data. Although the article introduces the basics of OpenTelemetry, it also highlights the potential for more advanced applications, such as instrumenting Next.js applications and using tools like Highlight to simplify the process and derive actionable insights.
Aug 07, 2024
1,623 words in the original blog post.