Incidents and your service desk (Preview)
KratosForge finds problems by itself: a failed run, a late table, a run waiting on a decision, a missed reliability objective, an agent that stopped reporting, an environment it couldn't read. Each problem becomes one incident that everyone who can read the environment sees. This page covers what an incident holds, how priorities and SLAs work, how people report problems the app can't see, and where this is going. Day-to-day use of the list is in the user guide; agents and their Teams routes are in the agent guide. What to do about each kind of incident is in the runbook.
What an incident holds#
| Field | What it is |
|---|---|
| Number | INC-PROD-0042: counted per environment and never changes. Incidents opened before numbers existed get one, oldest first, the next time the list is written. |
| Priority | P1 to P4 (below). |
| Source | Detected (the app or an agent found it) or Reported (a person reported it). |
| State | Open, Acknowledged or Resolved, with how it was resolved: Recovered (the problem cleared), Cleared (the environment could be read again) or Resolved (by a person, with a note). |
| Timeline | Every change with who made it and when: opened, seen again, priority changed, acknowledged, assigned, notes, escalated, recovered, resolved. The first entry and the newest 99 are kept. |
| Owner, team, criticality | From the workload's assignment when it opened; the owner can be changed. |
| Evidence | The run, table or agent it's about, and a likely cause for failed runs. |
Each environment keeps its incidents in one file, incidents/incidents.json, in its LH_Meta (open ones plus the last 200 resolved). Every change is a conditional write, so two agents or PCs that see the same failure at the same moment open one incident, and two people can't both take the same number. Agents and the app keep working on this file as they always have.
History in the central lakehouse. Every incident and every timeline entry is also copied to the central KratosForge lakehouse (FabricDesktop_Central), where it's kept for good, including the incidents and entries the live list drops. Two tables hold it: fdinc_incident_event, one row per timeline entry, and fdinc_incident_snapshot, one row per state of an incident (state, priority, owner, and when it opened, was acknowledged and was resolved). Rows are only ever added, and the same change copied from two PCs is stored once. Passwords, keys and tokens in titles and notes are removed before copying. A copy needs the PC to be connected to the central lakehouse with write access (Settings > Optimize lakehouses), and IT can turn the central lakehouse off with allow_optimize_lakehouse. A copy runs each time incident measures are asked for (below); the screen for them comes with stage 4. Until a copy runs, changes wait in the live list, and only the latest state of an incident at that moment becomes a snapshot.
Priorities#
| Priority | Means | Detected incidents that get it |
|---|---|---|
| P1 | Many people blocked, no workaround | A critical workload's run failing 3 times or more |
| P2 | A team blocked, or due soon | Any other problem with a critical workload, or any problem with a high one |
| P3 | Wrong or slow, with a workaround | Standard workloads, and anything without a criticality (an agent going offline, say) |
| P4 | Minor, or a question | Low workloads, anything in Dev, and "can't evaluate" |
A detected incident follows these rules as it changes (a critical failure becomes P1 on its third failed run). Once a person sets the priority, with a reason, the rules stop changing it. A reported incident keeps the priority the reporter chose until someone changes it.
SLAs#
Each priority has a target time to acknowledge and a target time to resolve, counted from when the incident opened, all day.
| Priority | Acknowledge within | Resolve within |
|---|---|---|
| P1 | 15 minutes | 4 hours |
| P2 | 30 minutes | 4 hours |
| P3 | 4 hours | 2 days |
| P4 | No target | No target |
Each clock is due, at risk (less than a quarter of the time left), breached (still open and late), met, or missed (done, but late). The targets are applied when incidents are read and aren't stored on them, so changing them changes every open incident's due times at once.
Your own targets. IT sets them with the incident_sla key in policy.json (push settings to everyone), in minutes, with 0 for no target. Priorities you leave out keep the defaults above:
{
"incident_sla": {
"P1": {"acknowledge_minutes": 10, "resolve_minutes": 120},
"P4": {"acknowledge_minutes": 0, "resolve_minutes": 0}
}
}
A value that isn't a whole number of minutes is ignored and named in Settings > Help and about, and the default applies for that value.
Reporting a problem the app can't see#
Wrong numbers in a report, a dashboard nobody can open, a source a team says is missing: a person reports it with Report an incident (on Monitor > KratosForge > Operations > Incidents, on a workload's Incidents card, or from the command bar) with what's wrong, details, the environment and how bad it is. When it names a workload, the workload's team, technical owner and criticality come with it. A reported incident never closes by itself: only a person resolves it, with a note.
Report a problem in the account menu is different: it reports a problem with the KratosForge app itself.
In the bell#
Incidents assigned to you, in any environment, are under For you in the bell (Activity). The ones still waiting on you (open, not acknowledged) count on the bell and come first, then by priority and SLA. Each one has Acknowledge (it asks first) and Open. The app reads them when it starts, when you open the bell and every 15 minutes while its window has focus. That's one small read of each environment's incident file, and nothing is written. For an environment in Fabric that read is from OneLake, which uses capacity. An environment it couldn't read is named.
Teams, a flow or email#
Where new incidents are sent, as each one opens, recovers or escalates:
- The app (Settings > Notifications > Incident alerts): a Teams Workflows webhook address, a Power Automate flow's HTTP trigger as
flow:https://..., ormailto:and up to 20 addresses separated by;. Email goes through the company mail server set once in Settings > Notifications, with its password only in Windows Credential Manager. The flow gets JSON withtitle,lines,textandsource, and sends it on however your admin built it. - An agent (
[[incidents.route]]andalerts.teams_webhook_envin agent.toml): the variable can hold a Teams address orflow:https://.... An agent has no mail server, so amailto:route is left out with a warning in its log; send email from an agent through a flow.
Every kind gets the same text: one line each, credential-shaped values removed, at most 500 characters a line and 200 lines, of which Teams and email show 20 and say how many more. A message that doesn't go through waits in the outbox and is sent with the next try, marked as delayed. A route that keeps failing rests between tries (a minute, doubling to 30 minutes), and an outbox keeps at most 500 messages, none older than three days. Delivery is workloads/deliver.py, shared with platform notices.
Who's affected (Preview)#
For an incident about a metadata table, the incident page lists the published data products whose ports carry that table in the environment, the projects linked to them, and who to tell (owners, people who linked a project, followers). Tell them posts one incident.impact notice through the platform's Teams routes, naming only the people you confirm, and a note on the incident records who was told. Details in the user guide.
Where incidents are kept#
There will be two choices, set by IT:
- KratosForge (default): incidents are kept in the central KratosForge lakehouse with numbers, priorities, SLAs and full history, for teams without a service desk.
- Your service desk: KratosForge is pointed at ServiceNow, Jira Service Management or another tool. A problem it finds opens a ticket there, with its number and link kept here so the same problem never opens two tickets, and recovery adds a note to the ticket. Monitor > KratosForge > Operations > Incidents shows your service desk's own page inside the app, signed in through its single sign-on, the way Fabric's own pages are shown today.
KratosForge doesn't try to be a full service desk: change management, problem records, approvals and the service catalog stay in your service desk.
What's coming#
| Stage | What it adds | State |
|---|---|---|
| 1 | Numbers, priorities, SLA targets, the timeline and reported incidents, in the engine | Released |
| 1b | Every incident change copied to the central KratosForge lakehouse, kept for good | Released (a copy runs when measures are asked for) |
| 2 | Screens: the list with number, priority and SLA, the incident page with its timeline and what to do, Report an incident, Change priority | Released |
| 3 | Incidents that need you in the bell; Teams, flow or email delivery | This release |
| 4 | Full history and reports: time to acknowledge, time to resolve, SLAs met | Measures in the engine; the screen waits on its mockup |
| 5 | Your service desk: ServiceNow, Jira Service Management or another tool | Planned |
Each stage is tested without Fabric or a service desk. Nothing here has run against a live tenant or a real service desk yet, which is why it's Preview.
For developers#
The engine is sidecar/fabric_desktop/workloads/incidents.py (the document and its conditional writes), workloads/sla.py (targets and clocks) and workloads/incident_history.py (the fdinc_ tables in the central lakehouse). The app's calls are in incident_service.py and incident_desk.py:
| Call | What it does |
|---|---|
incidents_board(env, include_resolved) |
The list with each incident's priority and SLA state, and counts: open, mine, unassigned, at risk, breached |
incidents_for_me() |
The bell's For you list: active incidents assigned to the signed-in person in every environment, waiting on you first, and the environments that couldn't be read |
incident_report(env, title, text, priority, workload, name) |
Reports a problem |
incident_set_priority(env, id, priority, note) |
Sets the priority; the note is required |
incident_sla_policy() |
The targets in effect, where they come from, and what in the policy was ignored |
incidents_history_sync(approve) |
Copies every environment's incidents and timelines to the central lakehouse, only what this PC hasn't copied before. When the incident tables need setting up it returns needs_confirm with what it would do, and sets them up only when called again with approve after the person confirms |
incidents_history(env, limit) |
Each incident's latest state as the central lakehouse has it, newest first, including ones the live list no longer keeps |
incidents_measures(env, days, approve) |
For incidents opened in the last 7, 30, 90 or 365 days, in one environment or all: how many opened, were resolved and are still open; time to acknowledge and time to resolve (count, median and 90th percentile, in minutes); and the SLAs met, missed and breached with the share met, in total and per priority. It first copies what's new to the central lakehouse, so the latest changes count, and returns needs_confirm like incidents_history_sync when the tables need setting up. Times are measured from when an incident opened, and resolving counts as acknowledging. SLAs use the targets in effect now. An incident without the times a measure needs is left out of that measure, never estimated |
Need a hand?
Find a fix in troubleshooting, or share a reproducible issue with the community.
Get support ↗Improve this guide on GitHub ↗