CollectorAutoConfiguration

Auto-configures the multi-signal duplicate collector: pair sources, signal scorers, and everything else MultiSignalCollectorStrategy needs, driven from CollectorProperties.

embabel.dice.collector.enabled=false is the master switch — off means no beans, no strategy. Every collaborator is @ConditionalOnMissingBean so an app's own bean wins, and each built-in scorer has its own @ConditionalOnProperty under embabel.dice.collector.signals.<name>.enabled so ops can drop a signal without touching code. @Order on the scorer beans fixes the injected List<CollectorSignalScorer> order, which is also the order signals appear in the trace.

The graph trace store bean is declared before the in-memory one so the fallback resolves by registration order, matching DiceStorageAutoConfiguration's pattern for the proposition store.

Constructors

Link copied to clipboard
constructor(props: CollectorProperties)

Functions

Link copied to clipboard
fun collectorTraceSchema(): <Error class: unknown class>
Link copied to clipboard

The trace store's schema, registered as a DiceStorageSchema so one bean answers both questions about it: Drivine ensures its constraints and indexes, and dice's drift observation reads the same object to recognise the trace store's nodes and edges as its own.

Link copied to clipboard
fun drivineCollectorTraceStore(persistenceManager: <Error class: unknown class>): DrivineCollectorTraceStore