Partial

data class Partial(val uncounted: List<MetricUpdate>, val causes: List<Throwable>) : MetricExportResult

The call did not end durable. uncounted is exactly the updates that were not applied, in call order: those of a kind whose persisted series the store refused to read (#3390). Recording uncounted again counts each of them once. Every other update was counted, in memory, and may not be on disk yet where its kind's write was refused, so retrying it counts it twice; the next successful write of its kind persists it.

causes is diagnostic and never empty: a MetricKindUnreadException per unread kind, then the store's refusal of each write, in the fixed kind order. Whether a refused write's bytes landed is indeterminate.

Constructors

Link copied to clipboard
constructor(uncounted: List<MetricUpdate>, causes: List<Throwable>)

Properties

Link copied to clipboard
Link copied to clipboard