Hi,
I’ve created a Glimpse plugin for Event Store:
NuGet: https://www.nuget.org/packages/Glimpse.EventStore
GitHub: https://github.com/jkonecki/Glimpse.EventStore
It is an early version, but still allows you to view all method calls on IEventStoreConnection including duration, arguments and results.
I plan to add support for timeline and proper timings for async methods soon.
Usage
- 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" />
Feedback is welcomed!
Jakub
@jakubkonecki