Sampling transform with common pipeline envelope fields.
Sample🔗
Sampling transform with common pipeline envelope fields.
Configuration🔗
| Field | Type | Required | Default | Description |
inputs | [string] | no | — | List of upstream component names to receive events from. |
error_policy | ErrorPolicy | no | — | Policy for handling errors during sampling. |
route_all | boolean | no | — | When true, the passthrough output is active and receives all events. |
Telemetry🔗
This component emits the following standard telemetry metrics and events.
Metrics🔗
| Name | Type | Description |
component_received_events_total | Counter | Total number of events received from upstream. |
component_sent_events_total | Counter | Total number of events sent downstream. |
component_errors_total | Counter | Total number of errors encountered during processing. |
Events🔗
| Name | Description |
ComponentError | Emitted when an error occurs during component execution. |
ComponentEventsDropped | Emitted when events are intentionally or unintentionally dropped. |
Example🔗
transforms:
my_sample:
type: sample