Commit Graph

4796 Commits

Author SHA1 Message Date
Carlos Salguero
b8a28a2150 Fixed merge conflicts and changelog 2022-04-20 09:40:38 -03:00
Carlos Salguero
f78e75d391 Update Changelog
Co-authored-by: rasika-chivate <95711051+rasika-chivate@users.noreply.github.com>
2022-04-20 09:16:24 -03:00
Carlos Salguero
d63e16f7d4 Update Changelog
Co-authored-by: rasika-chivate <95711051+rasika-chivate@users.noreply.github.com>
2022-04-20 09:16:06 -03:00
Carlos Salguero
d881738e2f PT-1978 Implemented duplicated indexes detection (#537)
* PT-1978 Implemented duplicated indexes detection

* WIP

* PT-1978 WIP

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

* Removed unused file

* Added version command

* Updated required params

* Added system.profile to the ingored dbs

* Fixed for CR
2022-04-20 09:15:45 -03:00
Carlos Salguero
cae3c7be0a Update Changelog
Co-authored-by: rasika-chivate <95711051+rasika-chivate@users.noreply.github.com>
2022-04-20 09:01:16 -03:00
Carlos Salguero
d4dec7599b Update Changelog
Co-authored-by: rasika-chivate <95711051+rasika-chivate@users.noreply.github.com>
2022-04-20 09:01:03 -03:00
Carlos Salguero
5cdb98b487 Update Changelog
Co-authored-by: rasika-chivate <95711051+rasika-chivate@users.noreply.github.com>
2022-04-20 09:00:47 -03:00
Carlos Salguero
8519e103ad PT-1979 Improved mdb summary information (#536)
* 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

* Upgraded deps due to security issues
2022-04-07 18:12:45 -03:00
Carlos Salguero
89f60d4a94 Updated changelog 2022-04-06 14:40:53 -03:00
Carlos Salguero
42bd1ed9d5 Updated version in all programs 2022-04-05 13:05:53 -03:00
Carlos Salguero
ed6ce6b50a Updated Changelog 2022-04-05 12:58:30 -03:00
Carlos Salguero
a490203471 Merge branch 'PT-1978_mdb_summary_index' into release-3.4.0 2022-04-05 12:49:41 -03:00
Carlos Salguero
670e1159bf Added system.profile to the ingored dbs 2022-04-05 12:46:06 -03:00
Carlos Salguero
3243008c59 Merge branch 'PT-1978_mdb_summary_index' into release-3.4.0 2022-04-05 12:42:23 -03:00
Carlos Salguero
9837bbdd2e Updated required params 2022-04-05 12:42:06 -03:00
Carlos Salguero
eaa95fd0e5 Added changelog 2022-04-05 12:20:08 -03:00
Carlos Salguero
957451a707 Merge branch 'PT-1978_mdb_summary_index' into release-3.4.0 2022-04-05 12:01:56 -03:00
Carlos Salguero
e5cb95130d Added version command 2022-04-05 12:01:33 -03:00
Carlos Salguero
70fd5a71b2 Removed unused file 2022-04-05 10:18:16 -03:00
Carlos Salguero
c669972622 Updated Go sources 2022-04-05 10:17:29 -03:00
Carlos Salguero
9c00264e24 Merge branch 'PT-1979_mdb_summary_cmdline_opts' into release-3.4.0 2022-04-05 09:47:47 -03:00
Carlos Salguero
2cb94372d5 Merge branch 'PT-1978_mdb_summary_index' into release-3.4.0 2022-04-05 09:47:23 -03:00
Carlos Salguero
0bb5d6b6fb Upgraded version and dependencies 2022-04-05 09:46:46 -03:00
Carlos Salguero
102a3dd838 PT-1978 New tool pt-mongodb-check-index 2022-04-04 14:38:35 -03:00
Carlos Salguero
10fbe64649 PT-1978 WIP 2022-04-02 19:39:35 -03:00
Carlos Salguero
8a4acd6201 WIP 2022-03-30 15:57:50 -03:00
Carlos Salguero
a5fe94e4af PT-1978 Implemented duplicated indexes detection 2022-03-29 15:27:55 -03:00
Carlos Salguero
a556d09895 Added new template file 2022-03-28 13:19:16 -03:00
Carlos Salguero
0d39dd1e3d PT-1979 Improved mdb summary information
Added the MongoDB instance command line options to the output.
Also fixed the spacing in the replicaset section.
2022-03-28 12:35:19 -03:00
Sveta Smirnova
2760e8c927 PT-2029 update contributing.md (#534)
* Work on PT-2029 started

* PT-2029: Polished Perl and Bash related instructions in CONTRIBUTE.md

* PT-2029: restructure for CONTRIBUTE.md

* PT-2029: more structure changes for CONTRIBUTE.md

* PT-2029 - added Go content to CONTRIBUTE.md and removed from README.md,
reorganized CONTRIBUTE.md: removed duplicate content, added Go and documentation related stuff
2022-03-22 16:24:37 +03:00
Sveta Smirnova
22ed941238 PT-1218: pt-stalk ominous open_tables function (#535)
After discussion change only affects error message that is more user-friendly now.
I also added two tests that check how open_tables function works in both cases:
with number of open tables less tha 1000 and greater than 1000
2022-03-22 09:33:05 -03:00
Denys Kondratenko
40f179cf26 Merge pull request #533 from percona/PT-2037-option_system_only_for_pt-stalk
PT-2037: option --system-only for pt-stalk
2022-02-07 13:48:03 +01:00
svetasmirnova
3767e57e15 PT-2037 - added test for the situation when both --system-only and --mysql-only are specified 2022-01-27 19:21:04 +03:00
svetasmirnova
9427c16314 PT-2037 - regression fixes
Re-added fix for PT-1340 that was reverted by fix for PT-1398
2022-01-23 03:55:35 +03:00
svetasmirnova
623fdaec91 PT-2037 - option --system-only for pt-stalk
This commit:
1. Moves all changes to the proper place: lib/bash/collect.sh
2. Refactors pt-stalk so it is more modular
3. Places fix for PT-1734 into the right place: lib/bash/collect.sh
4. Fixes tests for PT-1336
2022-01-22 21:21:05 +03:00
svetasmirnova
1f6c95f524 PT-2037 - reviewer suggestions
Refactoring pt-stalk to make it easier to call system and MySQL data collections separately
2022-01-21 04:12:43 +03:00
svetasmirnova
d6e899404e PT-2037 Option --system-only for pt-stalk
Option --system-only triggers only operating system related captures, ignoring all others.
2022-01-19 18:41:05 +03:00
svetasmirnova
5a46d3df77 PT-2037 Added option --system-only to pt-stalk 2022-01-11 01:20:10 +03:00
Nurlan Moldomurov
1c725e94e6 PMM-9337 Update go 1.17 (#529) 2022-01-03 15:02:23 +03:00
Maxim Kondratenko
037b6ed502 SAAS-800 Integrate WhiteSource 2021-12-27 11:41:37 +02:00
Sveta Smirnova
b2860eee31 PT-1336 pt-stalk removes user files from destination (#524)
* PT-1336 Added file name checks and -maxdepth 1 parameter

* PT-1336 pt-stalk removes user files from the destination directory

* Added check that files to be removed were created by pt-stalk

* Added option -maxdepth 1 to find command, so the tool does not search for files in the nested directories

* Added unit tests

* This should fix PT-1812 also
2021-12-10 09:18:18 -03:00
Lenz Grimmer
fde683fb5d PT-1887: Fixed pt-diskstats to work on 5.x kernels (#526)
The amount of fields returned for disk statistics
changed in newer Linux kernel versions to 20 and
caused `pt-diskstat` to simply not provide any output
on these systems. Updated the check in the diskstats
parsing code to proceed with 20 fields as well.

Signed-off-by: Lenz Grimmer <lenz.grimmer@percona.com>
2021-12-03 13:19:36 -03:00
Carlos Salguero
a019907e6e PT-2023 Set out mode to utf8 (#523) 2021-11-18 14:41:35 -03:00
Robert Lankford
60ed28ab31 remove depedency on github.com/prometheus/common/log (#520)
* remove depedency on github.com/prometheus/common/log

* go mod tidy
2021-11-09 09:52:55 -03:00
Carlos Salguero
16716b3a7b PMM-7116 incorrect startup state (#519)
* Updated changelog for (WIP) 3.3.2

* Updated changelog

* PT-7116 Updated MyState results

* PT-7116 Updated MyState results

* PT-7116 Updated MyState results

* PMM-7116 Return the error in MyState

Don't manage the error, just bubble it up.
The client must know there was an error, even when the error is no
'real' like in Mongos instances (there is no error because there is no
replicaset for mongos or standalone)
2021-11-08 10:59:54 -03:00
Carlos Salguero
c5a22407a7 PT-2016 pt-table-sync and CRC32 columns (#521)
* PT-2016 CRC32 on key

* PT-2016 Added tests

* Removed commented out line
2021-11-03 13:53:30 -03:00
Carlos Salguero
951a333c81 PT-1398 Updated way of getting MySQL PID (#517) 2021-10-01 09:27:20 -03:00
Carlos Salguero
0d2c48456f PT-1627 Improve pt-mysql-summary jemalloc detection (#514)
* PT-1627 Changed jemalloc detection function

* Updated Tests
2021-10-01 09:19:25 -03:00
Carlos Salguero
9d6508da5f PT-1900 pt-query-digest not hiding parameter properly sometimes when parameter=binary (#510)
* PT-1900 WIP

* Fixed quoted strings regexes

* PT-1900 Fixed query rewriter to properly handle quoted text

* Fixed merge conflicts with 3.x branch
2021-09-27 08:23:23 -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