Easy testing and monitoring for events flows on Amazon EventBridge.
Debugging and testing asynchronous flows on Amazon EventBridge is hard, especially since AWS does not provide a simple way to monitor what events have transited through an Event Bus.
EventScout aims to provide this missing piece, both during development and in automated integration tests, by creating event trails. These trail record all events with a specific shape. You can then query the trail to see what events have transited through the bus.
For example, in an integration test, this could be used as such:
sequenceDiagram
autonumber
actor Test
participant EventScout
participant EventBridge
Test->>EventScout: Start event trail with this pattern
Test-->>EventBridge: Generate an event matching the pattern
EventBridge-->>EventScout: Receive the monitored event
EventScout->>EventScout: Store the monitored event in the trail
Test->>EventScout: Query the events in the trail
Test->>EventScout: Close the trail
- Monitor your events easily: EventScout allows you to create event trails with dynamic filter patterns on EventBridge
- Scale your integration tests: EventScout can create unlimited parallel event trails, event with overlapping patterns, so ou can rule all your integration tests in parallel
- Pay only for what you use: EventScout implements a fully Serverless architecture
In order to properly work, EventScout needs to:
- deploy the necessary resources with @event-scout/construct
- use event trails in your tests with @event-scout/client
- monitor your events in real-time with event-scout CLI
And you're all set! The power of EventScout is yours!