Last active
August 29, 2015 13:56
Revisions
-
Nick Floyd renamed this gist
Feb 6, 2014 . 1 changed file with 0 additions and 0 deletions.There are no files selected for viewing
File renamed without changes. -
Nick Floyd created this gist
Feb 6, 2014 .There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,27 @@ <?xml version="1.0" encoding="utf-8"?> <extension xmlns="urn:newrelic-extension"> <instrumentation> <!-- instrument MongoDB.Driver.Collection --> <tracerFactory metricName="Mongo"> <match assemblyName="MongoDB.Driver" className="MongoDB.Driver.Collection"> <exactMethodMatcher methodName="Count" /> <exactMethodMatcher methodName="Count" parameters="MongoDB.Driver.Document" /> <exactMethodMatcher methodName="FindAll" /> <exactMethodMatcher methodName="FindOne" parameters="MongoDB.Driver.Document" /> <exactMethodMatcher methodName="Find" parameters="System.String" /> <exactMethodMatcher methodName="Find" parameters="MongoDB.Driver.Document" /> <exactMethodMatcher methodName="Find" parameters="MongoDB.Driver.Document,System.Int32,System.Int32" /> <exactMethodMatcher methodName="Find" parameters="MongoDB.Driver.Document,System.Int32,System.Int32,MongoDB.DriverDocument" /> <exactMethodMatcher methodName="Insert" parameters="MongoDB.Driver.Document" /> <exactMethodMatcher methodName="Delete" parameters="MongoDB.Driver.Document" /> <exactMethodMatcher methodName="Update" parameters="MongoDB.Driver.Document" /> <exactMethodMatcher methodName="Update" parameters="MongoDB.Driver.Document,MongoDB.Driver.Document" /> <exactMethodMatcher methodName="Update" parameters="MongoDB.Driver.Document,MongoDB.Driver.Document,System.Int32" /> <exactMethodMatcher methodName="Update" parameters="MongoDB.Driver.Document,MongoDB.Driver.Document,MongoDB.Driver.UpdateFlags" /> <exactMethodMatcher methodName="UpdateAll" parameters="MongoDB.Driver.Document,MongoDB.Driver.Document" /> <exactMethodMatcher methodName="MapReduce" /> <exactMethodMatcher methodName="MapReduceBuilder" /> </match> </tracerFactory> </instrumentation> </extension>