{% macro resource_chart(chart) %}
{{ chart.semantics or '直接采样' }} · 缺测 {{ chart.missing_count }} · 间断 {{ chart.gap_count }}{% if chart.reasons %}{{ chart.label }}
{{ chart.unit }}
{{ chart.reasons|join('; ') }}{% endif %}
— {{ run.resource_view.reason }} · 本轮缺少可显示的资源时间序列。
{% else %}同一横轴为距首次采样的秒数,含全部采样阶段;不同来源独立纵轴。缺测或超过 {{ run.resource_view.gap_threshold_seconds }} 秒的间断不连线,采样最大值不代表连续峰值。完整样本、阶段和序号保存在 index.json。
{% endif %}