devops6 min read

Reporting Exceptions to Honeycomb with Frontend Observability

2 similar posts
  • Honeycomb
  • OpenTelemetry
  • Android OTel SDK
  • Honeycomb Swift SDK
  • Honeycomb Android SDK

AI Summary

This guide explains how to capture and report frontend exceptions using OpenTelemetry and Honeycomb. It covers two primary mechanisms: recording exceptions as span events (ideal for web applications where spans queue events until transmission) and recording exceptions as trace-participating log messages (recommended for mobile platforms to ensure crash logs transmit immediately). Furthermore, it details how Honeycomb visualizes these errors through red span statuses, metadata fields, and interactive attributes.

Key Takeaways

  • Web applications typically record exceptions using span events via recordException.
  • Mobile applications prefer trace-participating log messages so logs transmit immediately even during crashes.
  • Honeycomb visualizes errors using red span statuses and interactive attribute explorers.

Why it matters

Proper exception handling and telemetry in frontend applications ensure that engineers do not lose visibility into client crashes or unexpected errors. Understanding the trade-offs between span events and log-based records allows teams to choose the most reliable observability pattern for web and mobile environments.

Conversation0

What would you add from your experience?

Checking your session…

Every good conversation starts with one perspective.