Commit Graph

23 Commits

Author SHA1 Message Date
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
Sergey Kuzmichev
8b5e885173 PT-1859 ( PT-1868 ) and general pt-pg-summary improvements (#455)
* Fix for PT-1868 and general pt-pg-summary improvements

This is a rather large piece of changes to pt-pg-summary, which
includes:
* Corrected dependency for models in lib/pginfo
* Fixed existing testing infrastructure and implemented new tests:
** Test for New in pginfo
** Test for TestCollectGlobalInfo
** Test for TestCollectPerDatabaseInfo
* Fixed models to reflect PG12 changes (datid 0 with no name)
** Modified gen.sh to include PG12 containers and work with the same
docker-compoe that tests use
* Updated templates and helper functions
* Fixed standby detection and template output

With these changes, pt-pg-summary works correctly with PG12 hosts.

* Extra port in pt-pg-summary models gen.sh, removing unused
2020-07-15 09:24:13 -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
9e856562af PT-1810 Use of Google's UUID pkg 2020-03-25 15:04:44 -03:00
Carlos Salguero
a7ec40383f PT-1810 Updated deps 2020-03-17 22:45:31 -03:00
Carlos Salguero
3caa8c4a25 PMM-2605 Removed go 1.9.x from .travis.yml
Also updated Makefile to run all the tests
2019-11-11 10:46:57 -03:00
Carlos Salguero
e99671aef8 Updated deps 2019-09-07 14:25:54 -03:00
Carlos Salguero
e03706942c code beautify 2019-08-15 23:46:40 -03:00
Carlos Salguero
e13368725f Fixed explain tests
Updated travis.yml to support replicasets
2019-08-09 15:53:40 -03:00
Carlos Salguero
7466e9b1ba PMM-4728 2019-08-06 12:25:40 -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
8cf08fd882 support getmore; support find with sort; cleanups 2017-10-15 04:14:21 +02:00
Kamil Dziedzic
6a2be6e684 test pt-mongodb-query-digest output 2017-10-14 15:21:22 +02:00
Kamil Dziedzic
0ef4590c2e PMM-1429: test metrics for different operations and MongoDB versions 2017-09-14 16:23:13 +02:00
Kamil Dziedzic
5393a2b001 PMM-685: explain 2017-08-31 13:52:37 +02:00
Kamil Dziedzic
51be22073b PMM-1057: fingerprint more types of queries 2017-08-21 18:16:23 +02:00
Carlos Salguero
ced858214d More profiler tests 2017-04-10 16:51:52 -03:00
Carlos Salguero
a9dba7a9bf Moved dependencies management to glide 2017-02-15 14:37:32 -03:00
Carlos Salguero
f1cc8af10e PT-71 2017-02-13 20:46:04 -03:00
Carlos Salguero
92b1109804 Fixed PT-69 2017-02-13 13:08:54 -03:00
Carlos Salguero
68700a844c Fixes for PT-66 2017-02-09 20:51:39 -03:00
Carlos Salguero
f007d558d4 PT-51 Changed html/template by text/template 2017-01-13 15:40:48 -03:00
Carlos Salguero
c2419ba10a Implemented version check
Updated readme
2017-01-11 15:01:33 -03:00