<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 675" preserveAspectRatio="xMidYMid meet" data-image-type="pain-point problem-solution deployment-checklist pipeline-config topology architecture-flow 症状 根因 映射图">
<title>OpenTelemetry Collector 症状根因到部署拓扑图</title>
<desc>image_type=pain-point problem-solution deployment-checklist pipeline-config topology architecture-flow 症状 根因 映射图; target_section=Collector 部署形态; purpose=围绕采集链路不可查询、Agent 与 Gateway 边界不清等痛点，展示 Application 通过 OTLP 到 Agent、Gateway、Backend 的 traces、metrics、logs 链路和部署检查重点; key_terms=Application, OTLP, Collector, Agent, Gateway, Backend, traces, metrics, logs, deployment checklist, 症状, 根因, 映射图; reader_task=判断 Agent 和 Gateway 在采集链路中的位置，并定位部署链路痛点。</desc>
<style>text{font-family:system-ui,Arial,Helvetica,"Microsoft YaHei","PingFang SC",sans-serif;fill:#182235}.h{font-size:26px;font-weight:700}.t{font-size:21px;font-weight:700}.s{font-size:16px}.zone{rx:26;fill:#fff;stroke:#c9d4e3;stroke-width:2}.app{fill:#eef7ff;stroke:#62a8dc}.agent{fill:#eefaf2;stroke:#60b877}.gate{fill:#fff6e8;stroke:#df9a38}.back{fill:#f2edff;stroke:#987ad6}.note{rx:15;fill:#eaf0f8;stroke:#a8b6c8}.sig{rx:14;fill:#ffffff;stroke:#b8c6d8}</style>
<rect width="1200" height="675" fill="#f7f9fc"/>
<text x="600" y="72" text-anchor="middle" class="h">先保证一条端到端可查询链路，再扩展处理策略</text>
<rect x="135" y="125" width="200" height="50" class="note"/><text x="235" y="158" text-anchor="middle" class="h">应用侧</text>
<rect x="500" y="125" width="200" height="50" class="note"/><text x="600" y="158" text-anchor="middle" class="h">Collector 层</text>
<rect x="880" y="125" width="170" height="50" class="note"/><text x="965" y="158" text-anchor="middle" class="h">后端系统</text>
<rect x="135" y="215" width="200" height="92" rx="18" class="app"/><text x="235" y="252" text-anchor="middle" class="t">Application</text><text x="235" y="280" text-anchor="middle" class="s">SDK 生成数据</text>
<rect x="135" y="360" width="200" height="112" rx="18" class="app"/><text x="235" y="398" text-anchor="middle" class="t">OTLP</text><text x="235" y="426" text-anchor="middle" class="s">traces</text><text x="235" y="452" text-anchor="middle" class="s">metrics / logs</text>
<rect x="500" y="210" width="200" height="100" rx="18" class="agent"/><text x="600" y="249" text-anchor="middle" class="t">Agent</text><text x="600" y="278" text-anchor="middle" class="s">节点或本地采集</text>
<rect x="500" y="365" width="200" height="100" rx="18" class="gate"/><text x="600" y="404" text-anchor="middle" class="t">Gateway</text><text x="600" y="433" text-anchor="middle" class="s">集中处理与转发</text>
<rect x="880" y="210" width="170" height="74" rx="18" class="back"/><text x="965" y="240" text-anchor="middle" class="t">Tracing</text><text x="965" y="265" text-anchor="middle" class="s">trace 查询</text>
<rect x="880" y="325" width="170" height="74" rx="18" class="back"/><text x="965" y="355" text-anchor="middle" class="t">Metrics</text><text x="965" y="380" text-anchor="middle" class="s">指标后端</text>
<rect x="880" y="440" width="170" height="74" rx="18" class="back"/><text x="965" y="470" text-anchor="middle" class="t">Logs</text><text x="965" y="495" text-anchor="middle" class="s">日志后端</text>
<rect x="393" y="250" width="50" height="28" class="sig"/><text x="418" y="270" text-anchor="middle" class="s">1</text>
<rect x="757" y="405" width="50" height="28" class="sig"/><text x="782" y="425" text-anchor="middle" class="s">2</text>
<rect x="390" y="585" width="420" height="42" class="note"/><text x="600" y="612" text-anchor="middle" class="s">1 接收 OTLP，2 转发到后端；先验证再扩展</text>
</svg>
