From Symptom to Root Cause: Tracking Issues with io.Insights Traces

Velko Nikolov, Engineering Lead for io.Insights at interop.io, shows how io.Insights traces help teams find the root cause of issues across io.Connect. This is the second session in the io.Insights Webinar Series, co-hosted by Martin Shumarski, Senior Product Manager, and Velko.

Metrics show that something happened, and logs show a timeline of events. Traces, however, show why it happened and point to the root cause. A trace records each operation as a span, along with the links between spans across applications and machines. As a result, teams can follow a single user action from a button click all the way to a backend database query.

io.Insights captures these traces with OpenTelemetry and passes trace context between io.Connect apps automatically. Out of the box, it instruments the interop and context APIs, platform and workspace startup, web requests, and clickstream user journeys. Teams can also add their own spans with business details, such as a client ID or a call ID.

Next, Velko walks through recorded traces. First, he compares a slow platform startup with a healthy baseline and traces the root cause to the io.Connect Gateway. Then he uses the critical path to find a function that blocks an app for nine seconds. He also finds a slow script fetch that delays a workspace. Finally, he follows a broken call center workflow across six processes to the app that failed to load.

The session ends with a Q&A on data volume, privacy, and overhead. By default, a typical user publishes tens of megabytes of trace data per day. Default traces also avoid personal data such as client names and emails. At runtime, tracing typically costs only a couple of percent.

What you’ll learn about io.Insights traces

  • How traces differ from metrics and logs, and how the three work together
  • What io.Insights traces capture out of the box across io.Connect
  • Which two methods find a slow startup: baseline comparison and the critical path
  • Where to look when a web app freezes or a workspace loads slowly
  • Why a trace makes multi-app errors easier to diagnose than user reports
  • When to add custom spans and meaningful DOM IDs to your traces

Who should watch

This webinar is for developers, platform and support teams, and technical leads working with io.Connect. To see traces in Jaeger and Grafana, watch Ryan McNeely’s monitoring demo from the New York Developer Meet-up.

More from the io.Insights Webinar Series

Share
Related Webinars
io-Insights Webinar 1 featured image
Video
Understanding io.Insights: Open Observability for io.Connect
io.Insights Grafana dashboard webinar with Martin Shumarski, Senior Product Manager at interop.io
Video
Up and Running in 30 Minutes: The io.Insights Public Grafana Dashboard
Creating an observability plan for io.Connect, presented by Ryan McNeely, Consultant at interop.io
Video
Creating an Observability Plan: Moving Beyond Health Checks and Log Files
How to monitor io.Connect Desktop with io.Insights in Grafana and Jaeger, presented by Ryan McNeely
Video
How to Monitor io.Connect Desktop with io.Insights in Grafana and Jaeger