Commit Graph

27 Commits

Author SHA1 Message Date
Carlos Salguero
161681bd3b PMM-8575 Fixed test
Fixed sandbox used by go programs, updated all tests.
2021-09-01 08:41:54 -03:00
Carlos Salguero
ff6b05b381 PT-1891 Fixed mongodb-summary connection with ssl (#469)
* PT-1891 Fixed mongodb-summary connection with ssl

- Added SSL connection options
- Fixed old tests
- Replaced gofmt by gofumpt in Makefile
- There are no ssl test for mongodb-summary because the current sandbox
doesnt support it

* PT-1891 Ran gofumports

* PMM-1891 Fixes for CR

* PT-1891 Decreased minimum TLS reqs for compatibility
2020-11-02 17:13:29 -03:00
Carlos Salguero
c7eed08e33 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>
2020-07-08 10:25:12 -03:00
Carlos Salguero
e03706942c code beautify 2019-08-15 23:46:40 -03:00
Carlos Salguero
47d36cfaa8 Fixed profiler test 2019-08-15 21:07:20 -03:00
Carlos Salguero
c388bbc01c PT-1741 Migrated Go pt-mongo-tools to new driver 2019-08-02 11:53:39 -03:00
Carlos Salguero
cdea59e688 PT-1706 Made mongo tools compile with Go 1.12
- Removed t.parallel from tests
- Added lock to stats  pkg
- Fixed timeout channels usage in stats pkg
- Removed non-compatible dependency (badfix/slice) and its dependencies
- Made code improvements for linter
2019-03-31 04:20:31 -03:00
Kamil Dziedzic
981faf53ad fix operation and namespace for older MongoDB versions 2017-10-14 20:10:21 +02:00
Kamil Dziedzic
c67354443c restore TimeoutChan 2017-10-14 18:44:46 +02:00
Kamil Dziedzic
6cbfd363f3 s/Bytes recv/Bytes sent/; allow all queries to be fingerprinted 2017-10-14 18:25:08 +02:00
Kamil Dziedzic
392fa04abd Merge branch '3.0' into PMM-1.3 2017-10-10 12:06:09 +02:00
Kamil Dziedzic
228d87e108 Fix expecting iter.Close()
Adding prof.Stop() ensures iterator gets closed
2017-10-05 21:36:18 +02:00
Kamil Dziedzic
6866380a28 stop profiler before exiting test 2017-08-31 20:33:49 +02:00
Kamil Dziedzic
5393a2b001 PMM-685: explain 2017-08-31 13:52:37 +02:00
Kamil Dziedzic
04f95917ae PMM-1057: let's try to bypass limitations of go/bson 2017-08-24 10:29:54 +02:00
Kamil Dziedzic
a25d6218f4 just drop old go version 2017-08-21 20:26:50 +02:00
Kamil Dziedzic
45f5629260 Compare times in the same timezone 2017-08-21 20:23:37 +02:00
Kamil Dziedzic
3f06ea8fdf Compare times in the same timezone 2017-08-21 20:10:45 +02:00
Kamil Dziedzic
6d571cd708 fix queries 2017-08-21 18:55:05 +02:00
Kamil Dziedzic
51be22073b PMM-1057: fingerprint more types of queries 2017-08-21 18:16:23 +02:00
Kamil Dziedzic
8a5d4c1635 PMM-720: encapsulate stats, separate them from profiler 2017-04-26 00:30:37 +02:00
Carlos Salguero
06e9647cc8 Added more tests 2017-04-11 09:49:46 -03:00
Carlos Salguero
ced858214d More profiler tests 2017-04-10 16:51:52 -03:00
Carlos Salguero
64a5c6d8b6 New profiler and tests 2017-04-09 23:21:27 -03:00
Carlos Salguero
25efaef471 WIP 2017-04-04 15:13:31 -03:00
Carlos Salguero
1a8e3a0b76 Added start/stop methods to profiler 2017-04-02 20:19:55 -03:00
Carlos Salguero
248c74e6b7 WIP 2017-04-01 23:06:23 -03:00