Package com.tnsai.quality.sampling
Class AlwaysCapturePolicy
java.lang.Object
com.tnsai.quality.sampling.AlwaysCapturePolicy
- All Implemented Interfaces:
EventSamplingPolicy
Captures every event at full fidelity (issue #82). The dev-mode and
single-tenant default — when log volume isn't a concern, this stays
out of the way.
- Since:
- 0.5.0 (issue #82)
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionsample(SamplingInput input) Inspect an event's metadata and return whether to capture, drop, or capture-with-downsampling marker.
-
Field Details
-
INSTANCE
-
-
Constructor Details
-
AlwaysCapturePolicy
public AlwaysCapturePolicy()
-
-
Method Details
-
sample
Description copied from interface:EventSamplingPolicyInspect an event's metadata and return whether to capture, drop, or capture-with-downsampling marker.- Specified by:
samplein interfaceEventSamplingPolicy
-