Skip to content

Commit a6e721d

Browse files
additional update of docs re: metrics
1 parent 9bca754 commit a6e721d

1 file changed

Lines changed: 12 additions & 1 deletion

File tree

METRICS.md

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,18 @@ Key changes:
234234
- Canonical `exception` labels are bounded to exception class names. Legacy
235235
error counters may include raw exception messages.
236236

237-
Common replacements:
237+
Legacy metrics that change name or type in canonical mode:
238+
239+
| Legacy metric | Canonical metric | Change |
240+
|---|---|---|
241+
| `task_poll_time` (gauge) || Removed; use the histogram instead. |
242+
| `task_execute_time` (gauge) || Removed; use the histogram instead. |
243+
| `task_result_size` (gauge) | `task_result_size_bytes` (histogram) | Renamed; gauge becomes histogram with buckets. |
244+
| `workflow_input_size` (gauge) | `workflow_input_size_bytes` (histogram) | Renamed; gauge becomes histogram with buckets. |
245+
| `http_api_client_request` (quantile gauge) | `http_api_client_request_seconds` (histogram) | Renamed with `_seconds` suffix; quantile gauge becomes histogram. |
246+
| `external_payload_used_total{payload_type=…}` | `external_payload_used_total{payloadType=…}` | Label renamed from `payload_type` to `payloadType`. |
247+
248+
Common PromQL replacements:
238249

239250
| Legacy | Canonical |
240251
|---|---|

0 commit comments

Comments
 (0)