Sampling transform with common pipeline envelope fields.

Sample🔗

Sampling transform with common pipeline envelope fields.

Configuration🔗

FieldTypeRequiredDefaultDescription
inputs[string]noList of upstream component names to receive events from.
error_policyErrorPolicynoPolicy for handling errors during sampling.
route_allbooleannoWhen true, the passthrough output is active and receives all events.

Telemetry🔗

This component emits the following standard telemetry metrics and events.

Metrics🔗

NameTypeDescription
component_received_events_totalCounterTotal number of events received from upstream.
component_sent_events_totalCounterTotal number of events sent downstream.
component_errors_totalCounterTotal number of errors encountered during processing.

Events🔗

NameDescription
ComponentErrorEmitted when an error occurs during component execution.
ComponentEventsDroppedEmitted when events are intentionally or unintentionally dropped.

Example🔗

transforms:
  my_sample:
    type: sample