All fixtures · From the Format page · format/00-sankey.dh.md
Source
---
title: Sankey — follow the flow
---
# Sankey — follow the flow
Follow a request's time through the service. Band widths show milliseconds; hover, focus or tap a band to read its share. Full labels stay on plates in either theme.
```sankey title="Where a request's time goes" unit=ms
request -> auth: 12
request -> handler: 80
node request "Incoming request" [c1]
node auth "Authentication" [c2]
node handler "Application processing" [c3]
node db "Database queries" [c4]
node render "Response assembly" [c5]
node cache "Cache lookup" [c6]
@step Enter the service
@step Follow the work
handler -> db: 55
handler -> render: 20
handler -> cache: 5
```
## The same flow, ready to print
```sankey static title="Where a request's time goes" unit=ms
request -> auth: 12
request -> handler: 80
handler -> db: 55
handler -> render: 20
handler -> cache: 5
node request "Incoming request" [c1]
node auth "Authentication" [c2]
node handler "Application processing" [c3]
node db "Database queries" [c4]
node render "Response assembly" [c5]
node cache "Cache lookup" [c6]
```
LLM view
---
title: Sankey — follow the flow
source: format/00-sankey.dh.md
---
<!-- Made by dh llm from the source; nobody edits this file. -->
# Sankey — follow the flow
Follow a request's time through the service. Band widths show milliseconds; hover, focus or tap a band to read its share. Full labels stay on plates in either theme.
Sankey: Where a request's time goes (ms).
Step 1: Enter the service
| from | to | amount (ms) |
| --- | --- | --- |
| Incoming request | Authentication | 12 |
| Incoming request | Application processing | 80 |
Step 2: Follow the work
| from | to | amount (ms) |
| --- | --- | --- |
| Application processing | Database queries | 55 |
| Application processing | Response assembly | 20 |
| Application processing | Cache lookup | 5 |
## The same flow, ready to print
Sankey: Where a request's time goes (ms).
| from | to | amount (ms) |
| --- | --- | --- |
| Incoming request | Authentication | 12 |
| Incoming request | Application processing | 80 |
| Application processing | Database queries | 55 |
| Application processing | Response assembly | 20 |
| Application processing | Cache lookup | 5 |Sankey — follow the flow
Follow a request's time through the service. Band widths show milliseconds; hover, focus or tap a band to read its share. Full labels stay on plates in either theme.
Where a request's time goes
1Enter the service
1 / 2
Hover or tap a flow or a node.
Show the numbers as a table
| From | To | ms | Share |
|---|---|---|---|
| Incoming request | Authentication | 12 | 13% |
| Incoming request | Application processing | 80 | 87% |
The same flow, ready to print
Where a request's time goes
Show the numbers as a table
| From | To | ms | Share |
|---|---|---|---|
| Incoming request | Authentication | 12 | 13% |
| Incoming request | Application processing | 80 | 87% |
| Application processing | Database queries | 55 | 69% |
| Application processing | Response assembly | 20 | 25% |
| Application processing | Cache lookup | 5 | 6% |