Commit Graph

40 Commits

Author SHA1 Message Date
Viktor Szépe
2bd40d8c39 Remove trailing spaces (#665)
* Remove trailing spaces

* PR-665 -  Remove trailing spaces

- Updated not stable test t/pt-online-schema-change/preserve_triggers.t
- Updated utilities in bin directory

* PR-665 -  Remove trailing spaces

- Fixed typos

* PR-665 -  Remove trailing spaces

- Fixed typos

---------

Co-authored-by: Sveta Smirnova <sveta.smirnova@percona.com>
2023-09-06 01:15:12 +03: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
Sveta Smirnova
e998bd5b55 PT-2101 pt-mongodb-query-digest does not work on standalone server (#630)
* PT-2101 - pt-mongodb-query-digest doesn't work on standalone server

Restoring test case, disabled for new sandbox that was never created.
Added debugging output to find out why the tool behaves not as expected.
Most of changes into main.go will be removed after the fix is done.

* PT-2101 - pt-mongodb-query-digest doesn't work on standalone server

- Changed code so it works with the standalone server
- Updated main_test.go so it works for MongoDB 5.0
- Removed eval.js and group.js, because these command are not supported since MongoDB 4.2

* PT-2101 - pt-mongodb-query-digest doesn't work on standalone server

Updated go.mod and go.sum from the 3.x branch
2023-06-14 15:04:57 +03:00
Sveta Smirnova
46a466efcc PT-2165 actual version, go version, and build for go tools (#603)
* PT-2165 - Actual Version, GoVersion, and Build for Go tools

Removed outdated numbers from main.go, because we update these numbers in the Makefile.

* PT-2165 - Actual Version, GoVersion, and Build for Go tools

Added template version into Makefile for the latest tag.
2023-02-27 01:19:26 +03:00
Sveta Smirnova
c1696fd9f8 Release 3.5.1 (#574)
* RM-1153 - Percona Toolkit 3.5.1

Updated version for Perl files to 3.5.1
Updated Perl module Percona::Toolkit to version 3.5.1 and updated all scripts using this module
Manually updated Go programs
Moved ONLY_UPDATE_VERSION after definition of DATE and SERIES variables, so the script does not fail because of undefined variables

* RM-1153 - Percona Toolkit 3.5.1

Updated Changelog
Updated release date in docs/percona-toolkit.pod

* PT-2162 Release Notes 3.5.1 (#571)

modified:   Makefile.PL
	modified:   config/sphinx-build/conf.py
	modified:   docs/release_notes.rst
	new file:   docs/rn.3-5-1.txt

Co-authored-by: Alina Derkach <“alina.derkach@percona.com”>

* PT-7 Fix syntax (#573)

Co-authored-by: Alina Derkach <81975178+alina-derkach-oaza@users.noreply.github.com>
Co-authored-by: Alina Derkach <“alina.derkach@percona.com”>
Co-authored-by: EvgeniyPatlan <evgeniy.patlan@percona.com>
2023-01-23 17:51:17 +03:00
Carlos Salguero
882d8787c7 Release 3.5.0 (#563)
* Changelog and version for Release 3.5.0

* PT-2076 add rhel9 dependency

* PT-2128 Updated version to 3.5.0

Co-authored-by: svetasmirnova <sveta.smirnova@percona.com>
Co-authored-by: EvgeniyPatlan <evgeniy.patlan@percona.com>
2022-12-01 14:31:46 +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
d91ba9cadd PT-1959 Updated version number (#515)
Not updated in files that will be updated during the build like the
python script, Makefile.PL and some other files like documentation.
2021-09-20 10:27:29 -03:00
Carlos Salguero
c47ac4d4df PT release 3.3.1 testing branch (#486)
* PT release 3.3.1 testing branch

* Update pkgs version

* Updated version from build script
2021-04-30 10:08:05 -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
cc3ace2b6d Manually updated version to 3.2.0 2020-04-23 14:33:51 -03:00
Carlos Salguero
25b912114d Revert "Manually updated version to 3.2"
This reverts commit d232a96354.
2020-04-23 14:30:35 -03:00
Carlos Salguero
d232a96354 Manually updated version to 3.2 2020-04-23 14:20:58 -03:00
Carlos Salguero
737c5de9af Updated makefile to include git commit 2019-09-07 16:16:44 -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
43094be458 Fixed pt-mongodb-query-digest tests 2017-11-13 23:28:59 -03:00
Carlos Salguero
33d529ca6a PT-182 Fixed merging conflicts 2017-11-08 15:05:23 -03:00
Carlos Salguero
1f35e1a12d PT-182 Added --output-format for MongoDB tools
Added `--output-format` option for pt-mongodb-summary and
pt-mongodb-query-digest.
Valid values are: text & json. Defaulf: text
2017-08-01 11:20:06 -03:00
Carlos Salguero
70702daa98 PT-182 WIP 2017-07-31 15:17:36 -03:00
Kamil Dziedzic
8a5d4c1635 PMM-720: encapsulate stats, separate them from profiler 2017-04-26 00:30:37 +02:00
Carlos Salguero
46efdb3bc8 Updated dependencies and ran go vet 2017-04-11 10:19:08 -03:00
Carlos Salguero
e882a43e92 Fixed isProfilerEnabled func 2017-04-11 00:38:07 -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
248c74e6b7 WIP 2017-04-01 23:06:23 -03:00
Carlos Salguero
3357eb8aec Small fix for mongo query digest 2017-03-23 09:14:16 -03:00
Carlos Salguero
526e68fbec Merge pull request #177 from percona/PT-93
PT-93 Made ID to match query key
2017-03-21 19:26:20 +02:00
Carlos Salguero
1e4cb8aca6 PT-93 Made ID to match query key 2017-03-07 13:01:54 -03:00
Carlos Salguero
4089b5e4c2 PT-73 Fixed help flag 2017-02-23 11:14:45 -03:00
Carlos Salguero
c00ccf0d8d PT-73 Added SSL support 2017-02-21 14:32:17 -03:00
Carlos Salguero
0f9a1bcf42 PT-75 Fixed command line arg parse 2017-02-20 13:51:36 -03:00
Carlos Salguero
806fd8e804 Fixes in template & removed balancer stats for mongod servers 2017-02-17 13:57:21 -03:00
Carlos Salguero
1d6adb953d New fingeprint method 2017-02-16 15:59:01 -03:00
Carlos Salguero
2513815168 Fixes for PT-70, PT-68 & PT-69 2017-02-14 17:46:33 -03:00
Carlos Salguero
700b85f7c9 Added --skip-collections to query-digest 2017-02-03 13:37:01 -03:00
Carlos Salguero
acda89fde5 Fixed get profiler status func 2017-02-02 20:01:09 -03:00
Carlos Salguero
96acdf2961 Added GOPATH/bin to the path in build script
Also fixed hardcoded tool name for MongoDB tools
2017-02-01 15:12:04 -03:00
Carlos Salguero
a8564adb6f Updated dependencies 2017-02-01 10:40:50 -03:00
Carlos Salguero
774178d3af Fixes for PT-61 & PT-62 2017-01-30 14:51:16 -03:00