Skip to content
This repository

RavenDb Profiling plugin for Glimpse

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 .nuget
Octocat-spinner-32 Glimpse.RavenDb.Tests
Octocat-spinner-32 Glimpse.RavenDb
Octocat-spinner-32 NuGet
Octocat-spinner-32 .gitignore
Octocat-spinner-32 Glimpse.RavenDb.nuspec
Octocat-spinner-32 Glimpse.RavenDb.sln
Octocat-spinner-32 LICENSE
Octocat-spinner-32 README.markdown
Octocat-spinner-32 pack.cmd
README.markdown

Glimpse.RavenDb is a RavenDb profiling plugin for Glimpse.

Install

There are two ways to hook your RavenDb DocumentStore into the plugin.

  1. Explicitly via Glimpse.RavenDb.Profiler.AttachTo()
  2. Web.Config via the Glimpse.RavenDb.DocumentStoreApplicationKey AppSetting.

You can also filter senstive data out of your documents by either

  1. Calling Glimpse.RavenDb.Profiler.HideFields()
  2. Adding a Glimpse.RavenDb.HiddenFields AppSetting.

Example DocumentStore Creation

var store = new DocumentStore();
store.Initialize();
Application["MyDocStore"]= store;

Explicit

Glimpse.RavenDb.Profiler.AttachTo(store);
Glimpse.RavenDb.Profiler.HideFields("PasswordHash", "PasswordSalt");

Web.Config

<appSettings>
    <add key="Glimpse.RavenDb.DocumentStoreApplicationKey" value="MyDocStore" />
    <add key="Glimpse.RavenDb.HiddenFields" value="PasswordHash,PasswordSalt" />
</appSettings>

Learn More

RavenDb - http://www.ravendb.net
Glimpse - http://www.getglimpse.com
Chris Sainty - http://blog.csainty.com | @csainty

Something went wrong with that request. Please try again.