eventhub/docs/runtime-tachograph-esper-sc...

1.5 KiB

Runtime tachograph Esper scope processing

This document is kept for compatibility with earlier patches.

The preferred endpoint is now the generic Runtime Event Processing endpoint:

POST /api/eventhub/runtime-processing/event-processing

Use the tachograph profile key:

tachograph-driver-esper-v1

The old endpoint remains available as an adapter:

POST /api/eventhub/runtime-processing/tachograph/esper-processing

It delegates to the same profile infrastructure used by the generic endpoint. See:

docs/runtime-event-processing.md

Vehicle-only evidence is now attached through the same common runtime event-processing profile. The old compatibility endpoint maps:

{
  "expandVehicleEvents": true,
  "vehicleExpansionPaddingMinutes": 15
}

to the generic profile behavior:

{
  "parameters": {
    "attachVehicleOnlyEvents": true,
    "vehicleEvidencePaddingMinutes": 15
  }
}

Attachment is temporal: a vehicle-only event must match a reconstructed driver vehicle-usage interval and occur inside the interval plus configured padding.

Debugging vehicle evidence attachment

Prefer the generic /api/eventhub/runtime-processing/event-processing endpoint with partitioning.includeDebug=true or parameters.includePartitionDebug=true. The compatibility response type has partitionDebugByDriver, but the generic endpoint is the preferred way to enable debug output explicitly. The generic response exposes debug data under partitionResults[*].metadata.partitionDebug.