{fmtInt(toolErrors.totalErrors)} tool errors
{fmtPct(toolErrors.overallErrorRate)} of {fmtInt(toolErrors.totalCalls)} calls
{#if !hasErrors}

No tool errors in this window.

{:else} {#each [0.25, 0.5, 0.75, 1] as frac (frac)} {/each} {#each daily as d, i (d.day)} {@const h = maxError > 0 ? (d.errorCount / maxError) * chartH : 0} {#if h > 0.4} {fmtDateShort(d.day)} ยท {fmtInt(d.errorCount)} errors / {fmtInt(d.callCount)} calls {/if} {/each} {#each tickIdx as i (i)} {fmtDateShort(daily[i].day)} {/each}
Errors per day UTC
{/if} {#if byTool.length > 0} {/if}