MongoDB EXPLAIN JSON APIs (#454)

* WIP

* PMM-4192 Updated MongoDB fingerprint

SystemProfile has been changed to use the new bson.D from the official
MongoDB driver instead of the old BsonD. Updated the fingerprinter
module and all tests

* PMM-4192 Updated MongoDB explain tests

Updated test to use bson.D instead of BsonD

* PMM-4192 Code clean-up

* PMM-4192 Changes for CR

* PMM-4192 Changes for CR

* PMM-4192 Removed unused deps

Co-authored-by: Carlos <cfsalguero@gmail.com>
This commit is contained in:
Carlos Salguero
2020-07-08 10:25:12 -03:00
committed by GitHub
parent de27179da8
commit c7eed08e33
205 changed files with 481 additions and 13385 deletions

View File

@@ -161,7 +161,7 @@ func main() {
panic(err)
}
fp := fingerprinter.NewFingerprinter(fingerprinter.DEFAULT_KEY_FILTERS)
fp := fingerprinter.NewFingerprinter(fingerprinter.DefaultKeyFilters())
s := stats.New(fp)
prof := profiler.NewProfiler(cursor, filters, nil, s)
prof.Start(ctx)