Commit Graph

21 Commits

Author SHA1 Message Date
Jiří Čtvrtka
de72fb9bbc PMM-11406 Change test to verify if we got some GetHostInfoResult. 2025-10-02 13:22:10 +02:00
Jiří Čtvrtka
84889adbfb PMM-11406 Test to check current results. 2025-09-15 12:03:52 +02:00
Jiří Čtvrtka
f72d9c9637 PMM-11406 Remove unused method. 2025-09-09 20:16:53 +02:00
Sveta Smirnova
ab4bf1b1c6 PT-2236 - pt-secure-collect, pt-pg-summary do not follow PT standard (#652)
* PT-2236 - pt-secure-collect, pt-pg-summary do not follow PT standard for option --version

- Redirected UsageWriter to os.Stdout for kingpin, so --version output
  goes to STDOUT, not to STDERR
- Adjusted text, printed by the --version flag
- Added test cases to check how --version flag works
- Adjusted test cases, so they use TOOLNAME constant

* PT-2236 - pt-secure-collect, pt-pg-summary do not follow PT standard for option --version

Run go mod tidy as requested by Artem Gavrilov

* PT-2236 - pt-secure-collect, pt-pg-summary do not follow PT standard for option --version

Renamed const TOOLNAME to toolname to follow Go coding standards
2023-07-31 16:59:30 +03:00
Carlos Salguero
896fdcede8 Release 3.4.0 (#539)
* PT-1979 Improved mdb summary information

Added the MongoDB instance command line options to the output.
Also fixed the spacing in the replicaset section.

* Added new template file

* PT-1978 Implemented duplicated indexes detection

* WIP

* PT-1978 WIP

* PT-1978 New tool pt-mongodb-check-index

* Upgraded version and dependencies

* Updated Go sources

* Removed unused file

* Added version command

* Added changelog

* Updated required params

* Added system.profile to the ingored dbs

* Updated Changelog

* Updated version in all programs

* Updated changelog

* Update Changelog

Co-authored-by: rasika-chivate <95711051+rasika-chivate@users.noreply.github.com>

* Update Changelog

Co-authored-by: rasika-chivate <95711051+rasika-chivate@users.noreply.github.com>

* Update Changelog

Co-authored-by: rasika-chivate <95711051+rasika-chivate@users.noreply.github.com>

* Update Changelog

Co-authored-by: rasika-chivate <95711051+rasika-chivate@users.noreply.github.com>

* Update Changelog

Co-authored-by: rasika-chivate <95711051+rasika-chivate@users.noreply.github.com>

* PT-7 fix 3.4.0 build

* Updated Makefile

* Updated changelog

* Updated Changelog

Co-authored-by: rasika-chivate <95711051+rasika-chivate@users.noreply.github.com>
Co-authored-by: Evgeniy Patlan <evgeniy.patlan@percona.com>
2022-07-11 10:29:37 -03:00
Carlos Salguero
dd2b144004 PMM-8575 migrate toolkit to modules (#512)
* PMM-8575 Fixed test

Fixed sandbox used by go programs, updated all tests.

* PMM-8575 Fixed test

Fixed sandbox used by go programs, updated all tests.

* Removed Gopkg

* Switched to go 1.16

* Updated go.mod

* Upgraded deps

* Updated deps
2021-09-10 16:08:58 -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
c388bbc01c PT-1741 Migrated Go pt-mongo-tools to new driver 2019-08-02 11:53:39 -03:00
Carlos Salguero
12c866c9a4 PT-1706 Updated travis.yml 2019-04-03 10:12:18 -03:00
Carlos Salguero
055aef3d8b PT-138 Added json otput format to pt-mongodb-summary 2017-05-17 17:21:19 -03:00
Kamil Dziedzic
52427dedca add errors; add mutex; fix some old tests 2017-04-27 13:11:57 +02:00
Carlos Salguero
c00ccf0d8d PT-73 Added SSL support 2017-02-21 14:32:17 -03:00
Carlos Salguero
c027561982 Added chunks count 2017-02-14 07:30:39 -03:00
Carlos Salguero
f1cc8af10e PT-71 2017-02-13 20:46:04 -03:00
Carlos Salguero
68700a844c Fixes for PT-66 2017-02-09 20:51:39 -03:00
Carlos Salguero
b2406d8da4 Fixes for PT-55 & PT-56 2017-01-20 18:02:32 -03:00
Carlos Salguero
98fa733c0c Added security checks & server storage engine 2017-01-19 17:19:13 -03:00
Carlos Salguero
c2419ba10a Implemented version check
Updated readme
2017-01-11 15:01:33 -03:00
Carlos Salguero
aa068ea4fe PT-50 Fixed oplog counters 2016-12-21 14:33:04 -03:00
Carlos Salguero
dcab9e3393 Updated mongodb src 2016-12-11 23:28:44 -03:00
Carlos Salguero
47c0db3650 moving mongodb code into toolkit repo 2016-12-11 23:18:56 -03:00