Skip to content

Commit 7a81b7a

Browse files
committed
Fix wording.
Signed-off-by: Revital Sur <eres@il.ibm.com>
1 parent 8067372 commit 7a81b7a

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

docs/metrics.coord.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,8 @@ three to follow a request end to end.
4646

4747
## Labels
4848

49-
Two labels use the words `encode`, `prefill`, and `decode`. They are not interchangeable.
49+
The `step` and `phase` labels both take the values `encode`, `prefill`, and `decode`, and are not
50+
interchangeable: a step is a pipeline stage, a phase is a single backend call.
5051

5152
The **`step` label** names a stage of the coordinator's internal pipeline, observed once per request
5253
per stage. A step covers local work, orchestration, and any backend calls that stage makes. The
@@ -72,6 +73,10 @@ The first three values match the epp-profile header the coordinator sends. `cond
7273
not: the probe carries the decode profile header, like the decode step, and is distinguished by the
7374
`Prefer: if-available` header it adds. See the [Upstream phase family](#upstream-phase-family).
7475

76+
The **`decision_type` label** names which phases a request ended up running, one value per request
77+
rather than per stage or per call: `decode-only`, `prefill-decode`, or `encode-prefill-decode`. See
78+
[`disagg_decision_total`](#disagg_decision_total).
79+
7580
## Error classes
7681

7782
`error_code` on `request_error_total` and `pipeline_step_errors_total` uses one set of four values:

0 commit comments

Comments
 (0)