mirror of
https://github.com/percona/percona-toolkit.git
synced 2025-09-20 02:44:58 +00:00
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:
@@ -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)
|
||||
|
Reference in New Issue
Block a user