[{"data":1,"prerenderedAt":56},["ShallowReactive",2],{"ndjson-highlights-limit-30":3,"article-highlights-analytics-sla-monitoring":51},{"total":4,"count":4,"items":5},9,[6,12,17,22,27,32,37,41,46],{"title":7,"body":8,"icon":9,"to":10,"cta":11},"Field Service Dispatch","Drag jobs onto techs, enforce SLA windows, and auto-validate conflicts.","pi pi-briefcase","\u002Fhighlight_detail-field-service-dispatch","Read article",{"title":13,"body":14,"icon":15,"to":16,"cta":11},"Shift Planning for Contact Centers","Plan weekly rosters, prevent overlaps, and approve swaps with drop\u002Fresize hooks.","pi pi-users","\u002Fhighlight_detail-shift-planning-callcenter",{"title":18,"body":19,"icon":20,"to":21,"cta":11},"Room & Asset Booking","Month view to spot gaps, day view to book precisely; custom conflict badges.","pi pi-calendar","\u002Fhighlight_detail-room-and-asset-booking",{"title":23,"body":24,"icon":25,"to":26,"cta":11},"IT Maintenance Windows","Blackout windows, night slots, and safe rollbacks on decline().","pi pi-cog","\u002Fhighlight_detail-it-maintenance-windows",{"title":28,"body":29,"icon":30,"to":31,"cta":11},"Manufacturing Scheduling (Gantt-like)","Sequence operations, resize for takt time, snap with thresholds.","pi pi-sitemap","\u002Fhighlight_detail-manufacturing-scheduling",{"title":33,"body":34,"icon":35,"to":36,"cta":11},"Clinic Appointments & Overbook Rules","15\u002F30\u002F45-min slots, soft overbook with reviewer, and EMR-friendly data pipes.","pi pi-chart-line","\u002Fhighlight_detail-clinic-appointments",{"title":38,"body":39,"icon":9,"to":40,"cta":11},"Agency Resource Planning","Allocate roles, color by project, and show KPI chips in event template.","\u002Fhighlight_detail-agency-resource-planning",{"title":42,"body":43,"icon":44,"to":45,"cta":11},"Sales Visit Routing","Time-box travel buffers, reassign visits between owners, keep grab offset.","pi pi-clock","\u002Fhighlight_detail-sales-visit-routing",{"title":47,"body":48,"icon":49,"to":50,"cta":11},"Analytics & SLA Monitoring","Compute SLA breaches from events; live tags via renderer and API.","pi pi-bolt","\u002Fhighlight_detail-analytics-sla-monitoring",{"file":52,"content":53,"html":54,"bytes":55},"analytics-sla-monitoring.md","# 📈 Analytics & SLA Monitoring\r\n\r\nCompute SLA breaches from live events and tag them in the UI without reloading the view.\r\n\r\n## Derive metrics\r\n```ts\r\nfunction recomputeSla(api: FullSchedulerUserApi) {\r\n  const breaches = findBreaches(api) \u002F\u002F your logic\r\n  breaches.forEach(b => {\r\n    const events = api.updateEvents(e => e.data.id === b.id, {}) || []\r\n    for (const event of events) {\r\n      api.updateEvents(e => e === event, { data: { ...event.data, sla: 'breach' } })\r\n    }\r\n  })\r\n}\r\n```\r\n\r\n## Visualize\r\n- Add small “SLA” or “Breach” chips in renderer\u002Ftemplate.\r\n- Export event ranges to analytics: start\u002Fend durations, gaps, overlaps.\r\n","\u003Cp>Compute SLA breaches from live events and tag them in the UI without reloading the view.\u003C\u002Fp>\n\u003Ch2>Derive metrics\u003C\u002Fh2>\n\u003Cpre>\u003Ccode class=\"language-ts\">function recomputeSla(api: FullSchedulerUserApi) {\n  const breaches = findBreaches(api) \u002F\u002F your logic\n  breaches.forEach(b =&gt; {\n    const events = api.updateEvents(e =&gt; e.data.id === b.id, {}) || []\n    for (const event of events) {\n      api.updateEvents(e =&gt; e === event, { data: { ...event.data, sla: 'breach' } })\n    }\n  })\n}\n\u003C\u002Fcode>\u003C\u002Fpre>\n\u003Ch2>Visualize\u003C\u002Fh2>\n\u003Cul>\n\u003Cli>Add small “SLA” or “Breach” chips in renderer\u002Ftemplate.\u003C\u002Fli>\n\u003Cli>Export event ranges to analytics: start\u002Fend durations, gaps, overlaps.\u003C\u002Fli>\n\u003C\u002Ful>\n",657,1793445654819]