Documentation

Welcome to the Glimpse Documentation! Here we hope to introduce you to the various tutorials, concepts and APIs you might need when discovering and using Glimpse.

NOTE: Glimpse docs are currently being improved. If you'd like to help out, just edit this page or contribute to our GitHub Wiki

Sql Tab

The SQL tab displays any activity it can from ADO.NET.

Configuration Tab

Errors Logging

Error Tab

Transactions Tracking

Transactions

Timeline Intergration

Timeline

Layout

  1. Connections and how long each connection is opened for
  2. Commands associated with those Connections, number of records affected, how long the command took to execute and any errors that may have occurred
  3. Transactions and which commands are associated with those Transactions and end status
  4. Timeline: Additionally, the connection and command timing information is feed into the timeline, filling previously undefined gaps

Tips and tricks

Installing the right package

If you just download the ADO package, but you are running Entity Framework you will have an exception raised. We have tried our best to make this not the case, but this is a limitation enforced on us by Entity Framework. So good rule of thumb, if you are using Entity Framework download the relevant EF package not just the ADO package.

Also, just because you have a Glimpse.MVC package installed doesn't mean you automatically get the SQL tab. You need to download the Glimpse.EF (or Glimpse.ADO) packages separately.

Getting Glimpse to work with manual created SQL Connections/Commands

To retrieve data for the SQL tab, Glimpse attaches itself by providing its own GlimpseDbProviderFactory which wraps the standard ones. This lets it collect information about how you're using your data connections.

If you're not using an ADO connection that uses the DbProviderFactories as part of its infrastructure, Glimpse won't collect any data for the SQL tab (out of the box). You can fix this by manually providing a Glimpse-wrapped IDbConnection.

To find out more about setting this up, read the following: