Prometheus · Arazzo Workflow
Prometheus Manage a Grouped Metric Group End to End
Version 1.0.0
Push, update, verify, and tear down metrics scoped by instance-level grouping labels.
Provider
Workflows
push-grouped-metrics-lifecycle
Full lifecycle of a metric group identified by job plus grouping labels.
The grouping labels form part of the group's identity, so the delete at the end must carry exactly the same label path as the pushes, or it silently removes nothing.
1
replaceGroupedMetrics
replaceGroupedMetrics
Atomically replace this worker's group. Because the group is keyed on job plus the grouping labels, this touches only this worker and leaves every sibling worker's group intact.
2
updateGroupedMetrics
pushGroupedMetrics
Update a subset of the metrics in the group. POST preserves the metrics already in the group, which is what makes progress reporting from a long-running worker possible without re-sending everything.
3
verifyGroupState
listAllMetrics
Read back the stored groups and confirm this worker's group carries both the replaced metrics and the update, under the expected label set.
4
deleteGroupedMetrics
deleteGroupedMetrics
Delete this worker's group at teardown. Only the group with this exact label set is removed. Skipping this is what leaves a decommissioned worker's last values being scraped indefinitely as though they were live.