Skip to content

The only tool you need to know what is happening and how to fix it.

10.7 KB
Raw Blame
<mxfile host="app.diagrams.net" version="29.3.6">
  <diagram name="Page-1" id="symbolication-flows-1">
    <mxGraphModel dx="815" dy="558" grid="0" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="1100" pageHeight="850" math="0" shadow="0" adaptiveColors="auto">
      <root>
        <mxCell id="0" />
        <mxCell id="1" parent="0" />
        <mxCell id="up" parent="1" style="swimlane;whiteSpace=wrap;html=1;collapsible=0;startSize=26;" value="Symbol upload from build / CI (source map token)" vertex="1">
          <mxGeometry height="190" width="980" x="40" y="40" as="geometry" />
        </mxCell>
        <mxCell id="jsa" parent="up" style="rounded=0;whiteSpace=wrap;html=1;" value="&lt;b&gt;JS source maps&lt;/b&gt;&lt;br&gt;&lt;i&gt;.js + .map files&lt;/i&gt;" vertex="1">
          <mxGeometry height="55" width="220" x="20" y="35" as="geometry" />
        </mxCell>
        <mxCell id="iosa" parent="up" style="rounded=0;whiteSpace=wrap;html=1;" value="&lt;b&gt;iOS dSYM&lt;/b&gt;&lt;br&gt;&lt;i&gt;Mach-O DWARF, per-arch UUIDs&lt;/i&gt;" vertex="1">
          <mxGeometry height="55" width="220" x="255" y="35" as="geometry" />
        </mxCell>
        <mxCell id="anda" parent="up" style="rounded=0;whiteSpace=wrap;html=1;" value="&lt;b&gt;Android R8&lt;/b&gt;&lt;br&gt;&lt;i&gt;mapping.txt + proguard UUID&lt;/i&gt;" vertex="1">
          <mxGeometry height="55" width="220" x="490" y="35" as="geometry" />
        </mxCell>
        <mxCell id="darta" parent="up" style="rounded=0;whiteSpace=wrap;html=1;" value="&lt;b&gt;Flutter / Dart&lt;/b&gt;&lt;br&gt;&lt;i&gt;.symbols ELF + arch&lt;/i&gt;" vertex="1">
          <mxGeometry height="55" width="220" x="725" y="35" as="geometry" />
        </mxCell>
        <mxCell id="up1" parent="up" style="rounded=0;whiteSpace=wrap;html=1;" value="&lt;b&gt;POST /api/sourcemaps/upload&lt;/b&gt;" vertex="1">
          <mxGeometry height="45" width="220" x="20" y="125" as="geometry" />
        </mxCell>
        <mxCell id="up2" parent="up" style="rounded=0;whiteSpace=wrap;html=1;" value="&lt;b&gt;POST /api/symbols/upload&lt;/b&gt;" vertex="1">
          <mxGeometry height="45" width="220" x="490" y="125" as="geometry" />
        </mxCell>
        <mxCell id="eu1" edge="1" parent="up" source="jsa" target="up1" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;">
          <mxGeometry relative="1" as="geometry" />
        </mxCell>
        <mxCell id="eu2" edge="1" parent="up" source="iosa" target="up2" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.25;entryY=0;entryDx=0;entryDy=0;">
          <mxGeometry relative="1" as="geometry" />
        </mxCell>
        <mxCell id="eu3" edge="1" parent="up" source="anda" target="up2" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;">
          <mxGeometry relative="1" as="geometry" />
        </mxCell>
        <mxCell id="eu4" edge="1" parent="up" source="darta" target="up2" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.75;entryY=0;entryDx=0;entryDy=0;">
          <mxGeometry relative="1" as="geometry" />
        </mxCell>
        <mxCell id="blob" parent="1" style="rounded=0;whiteSpace=wrap;html=1;align=left;spacingLeft=12;" value="&lt;b&gt;Object storage (S3 / local disk)&lt;/b&gt;&lt;br&gt;&lt;i&gt;sourcemaps/&amp;lt;project&amp;gt;/&amp;lt;file&amp;gt; + by-debug-id/&amp;lt;debugId&amp;gt;&lt;br&gt;iossymbols/&amp;lt;project&amp;gt;/&amp;lt;uuid&amp;gt;.dsym&lt;br&gt;androidmappings/&amp;lt;project&amp;gt;/&amp;lt;proguardUuid&amp;gt;.txt&lt;br&gt;dartsymbols/&amp;lt;project&amp;gt;/&amp;lt;buildId&amp;gt;-&amp;lt;arch&amp;gt;.symbols&lt;/i&gt;" vertex="1">
          <mxGeometry height="120" width="560" x="250" y="290" as="geometry" />
        </mxCell>
        <mxCell id="tw" parent="1" style="rounded=0;whiteSpace=wrap;html=1;" value="&lt;b&gt;Precompiled .tw lookup blobs&lt;/b&gt;&lt;br&gt;&lt;i&gt;built on first miss, stored&lt;br&gt;next to the artifact&lt;/i&gt;" vertex="1">
          <mxGeometry height="90" width="220" x="850" y="305" as="geometry" />
        </mxCell>
        <mxCell id="cache" parent="1" style="rounded=0;whiteSpace=wrap;html=1;" value="&lt;b&gt;LRU cache&lt;/b&gt;&lt;br&gt;&lt;i&gt;in-memory (default)&lt;br&gt;or mmap disk cache&lt;/i&gt;" vertex="1">
          <mxGeometry height="80" width="220" x="850" y="440" as="geometry" />
        </mxCell>
        <mxCell id="eb1" edge="1" parent="1" source="up1" target="blob" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;entryX=0.1;entryY=0;entryDx=0;entryDy=0;">
          <mxGeometry relative="1" as="geometry" />
        </mxCell>
        <mxCell id="eb2" edge="1" parent="1" source="up2" target="blob" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;entryX=0.7;entryY=0;entryDx=0;entryDy=0;">
          <mxGeometry relative="1" as="geometry" />
        </mxCell>
        <mxCell id="ebt" edge="1" parent="1" source="blob" target="tw" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;exitX=1;exitY=0.5;exitDx=0;exitDy=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0;">
          <mxGeometry relative="1" as="geometry" />
        </mxCell>
        <mxCell id="etc" edge="1" parent="1" source="tw" target="cache" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;">
          <mxGeometry relative="1" as="geometry" />
        </mxCell>
        <mxCell id="ing" parent="1" style="swimlane;whiteSpace=wrap;html=1;collapsible=0;startSize=26;" value="Exception ingest (/api/report + OTLP)" vertex="1">
          <mxGeometry height="250" width="1030" x="40" y="560" as="geometry" />
        </mxCell>
        <mxCell id="exc" parent="ing" style="rounded=0;whiteSpace=wrap;html=1;" value="&lt;b&gt;Exception arrives&lt;/b&gt;&lt;br&gt;&lt;i&gt;raw stack trace&lt;/i&gt;" vertex="1">
          <mxGeometry height="55" width="200" x="20" y="45" as="geometry" />
        </mxCell>
        <mxCell id="pick" parent="ing" style="rounded=0;whiteSpace=wrap;html=1;" value="&lt;b&gt;Resolver chosen by&lt;br&gt;project framework&lt;/b&gt;" vertex="1">
          <mxGeometry height="55" width="200" x="20" y="150" as="geometry" />
        </mxCell>
        <mxCell id="match" parent="ing" style="swimlane;whiteSpace=wrap;html=1;collapsible=0;startSize=24;fontStyle=2;" value="Frame &#8594; artifact matching" vertex="1">
          <mxGeometry height="90" width="760" x="250" y="35" as="geometry" />
        </mxCell>
        <mxCell id="mjs" parent="match" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;" value="&lt;b&gt;JS&lt;/b&gt;&lt;br&gt;debug id, then&lt;br&gt;file basename" vertex="1">
          <mxGeometry height="52" width="175" x="10" y="30" as="geometry" />
        </mxCell>
        <mxCell id="mios" parent="match" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;" value="&lt;b&gt;iOS&lt;/b&gt;&lt;br&gt;binary image&lt;br&gt;UUID + offset" vertex="1">
          <mxGeometry height="52" width="175" x="197" y="30" as="geometry" />
        </mxCell>
        <mxCell id="mand" parent="match" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;" value="&lt;b&gt;Android&lt;/b&gt;&lt;br&gt;proguard UUID&lt;br&gt;from the report" vertex="1">
          <mxGeometry height="52" width="175" x="384" y="30" as="geometry" />
        </mxCell>
        <mxCell id="mdart" parent="match" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;" value="&lt;b&gt;Dart&lt;/b&gt;&lt;br&gt;build id + arch&lt;br&gt;from the trace" vertex="1">
          <mxGeometry height="52" width="175" x="571" y="30" as="geometry" />
        </mxCell>
        <mxCell id="resolved" parent="ing" style="rounded=0;whiteSpace=wrap;html=1;" value="&lt;b&gt;Symbolicated stack trace&lt;/b&gt;" vertex="1">
          <mxGeometry height="55" width="230" x="250" y="150" as="geometry" />
        </mxCell>
        <mxCell id="ehash" parent="ing" style="rounded=0;whiteSpace=wrap;html=1;" value="&lt;b&gt;Normalized hash&lt;/b&gt;&lt;br&gt;&lt;i&gt;computed after symbolication&lt;/i&gt;" vertex="1">
          <mxGeometry height="55" width="230" x="520" y="150" as="geometry" />
        </mxCell>
        <mxCell id="ins" parent="ing" style="rounded=0;whiteSpace=wrap;html=1;" value="&lt;b&gt;exception_stack_traces&lt;/b&gt;&lt;br&gt;&lt;i&gt;grouped into Issues&lt;/i&gt;" vertex="1">
          <mxGeometry height="55" width="220" x="790" y="150" as="geometry" />
        </mxCell>
        <mxCell id="note" parent="ing" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=middle;whiteSpace=wrap;html=1;fontSize=11;fontStyle=2;" value="Symbolication runs at ingest time, before hashing: stored exceptions are never re-symbolicated" vertex="1">
          <mxGeometry height="25" width="620" x="250" y="215" as="geometry" />
        </mxCell>
        <mxCell id="ei1" edge="1" parent="ing" source="exc" target="pick" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;">
          <mxGeometry relative="1" as="geometry" />
        </mxCell>
        <mxCell id="ei2" edge="1" parent="ing" source="pick" target="match" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;exitX=1;exitY=0.5;exitDx=0;exitDy=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0;">
          <mxGeometry relative="1" as="geometry" />
        </mxCell>
        <mxCell id="ei3" edge="1" parent="ing" source="match" target="resolved" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;exitX=0.15;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;">
          <mxGeometry relative="1" as="geometry" />
        </mxCell>
        <mxCell id="ei4" edge="1" parent="ing" source="resolved" target="ehash" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;exitX=1;exitY=0.5;exitDx=0;exitDy=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0;">
          <mxGeometry relative="1" as="geometry" />
        </mxCell>
        <mxCell id="ei5" edge="1" parent="ing" source="ehash" target="ins" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;exitX=1;exitY=0.5;exitDx=0;exitDy=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0;">
          <mxGeometry relative="1" as="geometry" />
        </mxCell>
        <mxCell id="elookup" edge="1" parent="1" source="match" target="cache" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;exitX=0.9;exitY=0;exitDx=0;exitDy=0;entryX=0.55;entryY=1;entryDx=0;entryDy=0;">
          <mxGeometry relative="1" as="geometry" />
        </mxCell>
        <mxCell id="elookupl" connectable="0" parent="elookup" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" value="artifact lookup" vertex="1">
          <mxGeometry relative="1" x="0" y="0" as="geometry">
            <mxPoint x="55" y="0" as="offset" />
          </mxGeometry>
        </mxCell>
      </root>
    </mxGraphModel>
  </diagram>
</mxfile>