Glimpse (http://getglimpse.com/) plugin for Event Store (http://geteventstore.com).
Plugin adds an 'Event Store' tab to Glimpse client that displays all activity on EventStore connection, including duration, arguments and results.
- Add Glimpse.EventStore package to the project where you create an instance of
IEventStoreConnection
, - Replace calls to
EventStore.ClientAPI.EventStoreConnection.Create(...)
withGlimpse.EventStore.ProfiledEventStoreConnection.Create(...)
.ProfiledEventStoreConnection
has exactly the sameCreate
methods asEventStoreConnection
.
No other changes in the code are needed.
You can hide user password provided in UserCredentials
by adding an entry to <appSettings>
in web.config file:
<add key="Glimpse.EventStore:HideUserCredentialsPassword" value="True" />
Make sure you pick up a correct version of the plugin based on the version of EventStore you're running. NuGet package dependencies are set up accordingly.
EventStore 2.0 <- Plugin 1.0
EventStore 3.0 <- Plugin 2.0
Features to implement:
Optionaly hiding(1.0.0-alpha4),UserCredentials.Password
fieldAdd support fo showing activities in Timeline(1.0.0),- Proper timings for async methods (currently timings show only the duration of returning a
Task
instance, not the actual execution of theTask
), Deserialization of individual events' body and metadata(1.0.0-alpha4),- Improvements in the UI,
- Timings for event handler executions (currently all events handler executions have a duration of 1ms).
This plugin may contain bugs - if you're lucky to find one, please report it on GitHub.
Also, do not withhold any suggestions or feedback - @jakubkonecki.