Shadow

class Shadow(val report: ShadowReport) : CacheEvent

A shadow-mode lookup: what the cache would have decided, at every configured threshold.

Emitted instead of a Hit or a Miss, because in shadow mode neither happened — nothing was served. Subscribe to this to build your own precision and recall curve from live traffic before committing to a threshold.

Constructors

Link copied to clipboard
constructor(report: ShadowReport)

Properties

Link copied to clipboard

The full report, one decision per configured threshold.

Link copied to clipboard
open override val scope: String

The scope the event happened in.

Functions

Link copied to clipboard
open override fun toString(): String