Service Map

Visualize service dependencies inferred from shared trace IDs.

How connections are inferred

LogFlow groups logs by traceId. When two different services appear in the same trace, a directed edge is drawn from whichever service logged first (by timestamp) to the second. This infers the call direction without requiring any instrumentation beyond passing a shared trace ID.

Edge colors

  • Indigo — healthy (<5% errors on this path)
  • Yellow — warning (5–15% errors)
  • Orange — high (15–30% errors)
  • Red — critical (>30% errors)

Node indicators

  • Node size = log volume (larger = more logs)
  • Ring arc = error rate for that service
  • Health dot color = overall service health
💡
Run the included generate-traces.mjs script to populate realistic multi-service traces and see connections appear on the map.

Interacting with the map

  • Click a node to see detailed stats and connected services
  • Hover to highlight only that service's connections
  • Drag nodes to rearrange the layout
  • Click Reset layout to restore circular arrangement
  • Click View logs → to open Logs Explorer filtered by that service