Commit Graph

28 Commits

Author SHA1 Message Date
Sven Rebhan 53ae9841d0
fix(inputs.mysql): Handle custom TLS configs correctly (#15493) 2024-06-17 12:12:51 -05:00
Sven Rebhan 8c4fd53bc0
fix(inputs.mysql): Parse boolean values in metric v1 correctly (#15063) 2024-03-27 10:04:19 -05:00
Sven Rebhan 13c786bdfa
fix(inputs.mysql): Use correct column-types for Percona 8 userstats (#15012) 2024-03-18 16:03:49 -05:00
Sven Rebhan f8a991b829
fix(secretstores): Handle array of secrets correctly (#12919) 2023-04-03 07:03:38 -06:00
Sven Rebhan 177ce5eea3
feat(inputs.mysql): add secret-store support (#12591) 2023-02-01 16:09:58 -07:00
Sven Rebhan e6655d534e
fix(inputs.mysql): avoid side-effects for TLS between plugin instances (#12576) 2023-01-31 11:29:45 -07:00
Paweł Żak 6816aefcd5
chore: fix linter findings for unparam and revive.unused-parameter (#12150) 2022-11-08 12:04:12 -07:00
Joshua Powers c5e2c7aa00
test: add additional checks, waits in integration tests (#12056) 2022-10-19 09:54:00 -06:00
Joshua Powers 9daefaba11
test: harden running of testcontainer integration tests (#11245) 2022-06-03 10:29:08 -06:00
Joshua Powers 1200f3c87e
test: refactor testcontainer port lookup (#11198) 2022-05-27 10:24:31 -06:00
Joshua Powers db3beab38b
test: add generic test-container code for re-use, migrate mysql (#11157) 2022-05-23 11:08:53 -06:00
Felix Edelmann 1d659f5fbe
test: add test for mysql gatherGlobalVariables using sql-mock (#10987) 2022-05-16 15:11:25 -06:00
Felix Edelmann f7827a0408
fix: mysql: type conversion follow-up (#9966) 2021-11-09 16:30:42 -06:00
Paweł Żak c1d4ce4dd5
fix: Linter fixes for plugins/inputs/m* (#10006) 2021-11-02 08:49:26 -06:00
Helen Weller d41569caed
Integration test audit (#8725) 2021-01-26 11:06:12 -07:00
Steven Soroka f8daed0597 misc tests 2020-11-03 16:02:34 -05:00
GeorgeJahad c26aeb871d Remove package level vars from sqlserver and mysql input plugins (#6468) 2019-10-04 12:18:34 -07:00
Greg 1bd41ef3ce Update vendoring to dep from gdm (#4314) 2018-06-19 11:55:38 -07:00
Mike Danko df9c7590b3 Fix various mysql data type conversions (#3554) 2017-12-12 13:22:11 -08:00
Cameron Sparr a65447d22e Use mysql.ParseDSN func instead of url.Parse
The MySQL DB driver has it's own DSN parsing function. Previously we
were using the url.Parse function, but this causes problems because a
valid MySQL DSN can be an invalid http URL, namely when using some
special characters in the password.

This change uses the MySQL DB driver's builtin ParseDSN function and
applies a timeout parameter natively via that.

Another benefit of this change is that we fail earlier if given an
invalid MySQL DSN.

closes #870
closes #1842
2016-10-12 17:10:28 +01:00
Cameron Sparr 82166a36d0 Fix err race condition and partial failure issues
closes #1439
closes #1440
closes #1441
closes #1442
closes #1443
closes #1444
closes #1445
2016-07-19 14:45:55 +01:00
maksadbek c732abbda2 Improved mysql plugin
shows global variables
	shows slave statuses
	shows size and count of binary log files
	shows information_schema.processlist stats
	shows perf table stats
	shows auto increments stats from information schema
	shows perf index stats
	shows table lock waits summary by table
	shows time and operations of event waits
	shows file event statuses
	shows events statements stats from perf_schema
	shows schema statistics
	refactored plugin, provided multiple fields per insert
2016-04-18 17:11:26 -06:00
Pierre Fersing fe43fb47e1 Fix test
closes #771
2016-03-01 09:44:52 +00:00
Pierre Fersing ca3a80fbe1 Fix invalid DSN after dsnAddTimeout and "" DSN 2016-03-01 09:43:28 +00:00
Pierre Fersing f0747e76da Fix newly added test 2016-03-01 09:43:28 +00:00
Pierre Fersing 7416d6ea71 Improve timeout in input plugins 2016-03-01 09:43:28 +00:00
Jack Zampolin 0cdf1b07e9 Fix issue 524 2016-01-20 10:57:35 -08:00
Cameron Sparr 9c5db1057d renaming plugins -> inputs 2016-01-07 15:04:30 -07:00