ProcessorRegistry¶
This docs was updated at: 2026-02-23
com.paragon.telemetry.processors.ProcessorRegistry ยท Record
Registry for managing multiple telemetry processors. Broadcasts events to all registered processors.
This replaces the old OpenTelemetryVendors class with a cleaner API and proper
lifecycle management.
Methods¶
empty¶
Creates an empty registry.
of¶
Creates a registry with the given processors.
of¶
Creates a registry with a single processor.
broadcast¶
Broadcasts an event to all registered processors. This is fire-and-forget - it does not wait for processing.
Parameters
| Name | Description |
|---|---|
event |
the event to broadcast |
flushAll¶
Flushes all processors.
Parameters
| Name | Description |
|---|---|
timeout |
max time to wait for each processor |
unit |
time unit |
Returns
true if all processors flushed successfully
shutdown¶
Shuts down all registered processors gracefully.
hasProcessors¶
Returns whether any processors are registered.
size¶
Returns the number of registered processors.