<svg xmlns="http://www.w3.org/2000/svg" width="1200" height="675" viewBox="0 0 1200 675" preserveAspectRatio="xMidYMid meet">
  <rect width="1200" height="675" fill="#f7fbff"/>
  <rect x="110" y="92" width="980" height="500" rx="28" fill="#ffffff" stroke="#1f6feb" stroke-width="3"/>
  <text x="155" y="145" font-size="26" font-family="Arial, sans-serif" fill="#12304f" font-weight="700">采样策略数据流</text>
  <text x="155" y="182" font-size="18" font-family="Arial, sans-serif" fill="#46627f">能力边界与信号关系：保留优先级、采样位置和容量边界一起判断</text>

  <rect x="155" y="245" width="190" height="118" rx="18" fill="#e9f3ff" stroke="#75a7e8" stroke-width="2"/>
  <text x="188" y="287" font-size="22" font-family="Arial, sans-serif" fill="#12304f" font-weight="700">业务请求</text>
  <text x="180" y="324" font-size="17" font-family="Arial, sans-serif" fill="#46627f">错误、慢请求</text>
  <text x="180" y="350" font-size="17" font-family="Arial, sans-serif" fill="#46627f">关键路径</text>

  <rect x="410" y="220" width="215" height="168" rx="20" fill="#fff7e6" stroke="#f0a429" stroke-width="2"/>
  <text x="455" y="262" font-size="22" font-family="Arial, sans-serif" fill="#5a3b00" font-weight="700">头采样</text>
  <text x="442" y="300" font-size="17" font-family="Arial, sans-serif" fill="#6f551d">请求开始前决策</text>
  <text x="442" y="328" font-size="17" font-family="Arial, sans-serif" fill="#6f551d">成本低但信息少</text>
  <text x="442" y="356" font-size="17" font-family="Arial, sans-serif" fill="#6f551d">只做轻量削峰</text>

  <rect x="690" y="220" width="225" height="168" rx="20" fill="#ecfdf3" stroke="#35a66b" stroke-width="2"/>
  <text x="735" y="262" font-size="22" font-family="Arial, sans-serif" fill="#164d2c" font-weight="700">尾采样</text>
  <text x="720" y="300" font-size="17" font-family="Arial, sans-serif" fill="#2f6848">完整 Trace 后判断</text>
  <text x="720" y="328" font-size="17" font-family="Arial, sans-serif" fill="#2f6848">保留错误与慢链路</text>
  <text x="720" y="356" font-size="17" font-family="Arial, sans-serif" fill="#2f6848">需要缓存与容量</text>

  <rect x="438" y="455" width="420" height="78" rx="18" fill="#f1f5f9" stroke="#94a3b8" stroke-width="2"/>
  <text x="478" y="488" font-size="20" font-family="Arial, sans-serif" fill="#1f2937" font-weight="700">成本边界</text>
  <text x="478" y="518" font-size="17" font-family="Arial, sans-serif" fill="#475569">采集、传输、存储、查询都要纳入预算</text>

  <path d="M345 304 L405 304" fill="none" stroke="#1f6feb" stroke-width="4" marker-end="url(#arrowBlue)"/>
  <path d="M625 304 L684 304" fill="none" stroke="#1f6feb" stroke-width="4" marker-end="url(#arrowBlue)"/>
  <path d="M803 389 C803 430 760 447 700 455" fill="none" stroke="#35a66b" stroke-width="4" marker-end="url(#arrowGreen)"/>
  <path d="M516 389 C516 430 555 447 610 455" fill="none" stroke="#f0a429" stroke-width="4" marker-end="url(#arrowOrange)"/>

  <defs>
    <marker id="arrowBlue" viewBox="0 0 10 10" refX="8" refY="5" markerWidth="8" markerHeight="8" orient="auto-start-reverse"><path d="M0 0 L10 5 L0 10 Z" fill="#1f6feb"/></marker>
    <marker id="arrowGreen" viewBox="0 0 10 10" refX="8" refY="5" markerWidth="8" markerHeight="8" orient="auto-start-reverse"><path d="M0 0 L10 5 L0 10 Z" fill="#35a66b"/></marker>
    <marker id="arrowOrange" viewBox="0 0 10 10" refX="8" refY="5" markerWidth="8" markerHeight="8" orient="auto-start-reverse"><path d="M0 0 L10 5 L0 10 Z" fill="#f0a429"/></marker>
  </defs>
</svg>
