GeorgeJahad
c26aeb871d
Remove package level vars from sqlserver and mysql input plugins ( #6468 )
2019-10-04 12:18:34 -07:00
Daniel Nelson
84139cf890
Use gofmt from Go 1.11 ( #5259 )
2019-01-07 17:14:07 -08:00
Greg
46b340c899
Handle non-tls columns for mysql input ( #4973 )
2018-11-15 15:45:18 -08:00
Daniel Nelson
9fcd279b7e
Run gofmt with Go 1.10
2018-10-29 16:12:37 -07:00
Daniel Nelson
f38da90329
Run `make fmt` with Go 1.11
2018-10-29 16:00:54 -07:00
Ayrdrie
9fe90d71f4
Add plugin development framework ( #4324 )
2018-07-02 16:34:40 -07:00
Greg
54056f3808
Handle mysql input variations in the user_statistics collecting ( #4306 )
2018-06-29 18:16:52 -07:00
Greg
1bd41ef3ce
Update vendoring to dep from gdm ( #4314 )
2018-06-19 11:55:38 -07:00
Daniel Nelson
de355b76d6
Simplify testing with TLS ( #4095 )
2018-05-04 16:33:23 -07:00
Daniel Nelson
8b687a8e21
Only lowercase mysql slave metrics with metric_version = 2
2018-05-04 14:31:16 -07:00
Nicolas Steinmetz
81620c69c5
Fix name_override example in mysql rreadme ( #4100 )
2018-05-04 14:20:34 -07:00
Daniel Nelson
82448a9dd1
Add metric_version option to mysql input ( #3954 )
2018-04-02 13:10:43 -07:00
Daniel Nelson
ef776f120b
Make error loading tls config fatal in mysql input
2018-01-19 12:16:28 -08:00
Mike Danko
df9c7590b3
Fix various mysql data type conversions ( #3554 )
2017-12-12 13:22:11 -08:00
Laurent Gosselin
f758d0c6c3
Fix global variable collection when using interval_slow option in mysql input ( #3500 )
2017-11-27 12:29:51 -08:00
xin053
273d0b85b0
Correct spelling of toml field in mysql input ( #3051 )
2017-07-25 10:57:27 -07:00
Eugene Shilin
cb5a12de3d
Add standard SSL options to mysql input ( #2933 )
2017-06-19 11:42:43 -07:00
Matteo Cerutti
02d168705c
MySQL input: log and continue on field parse error ( #2855 )
2017-05-26 12:09:43 -07:00
Patrick Hemmer
06baf7cf78
use AddError everywhere ( #2372 )
2017-04-24 11:13:26 -07:00
Cameron Sparr
e5349393f8
Check for errors in user stats & process list
...
closes #2414
2017-02-17 15:38:33 +00:00
Cameron Sparr
e0c6262e0b
mysql build fixup and changelog update
2017-01-13 14:44:28 +00:00
Pierre Fersing
9b2f6499e7
Added more InnoDB metric to MySQL plugin ( #2179 )
2017-01-13 14:28:56 +00:00
Cameron Sparr
9262712f0a
Changelog update and go fmt
2017-01-13 14:27:20 +00:00
acezellponce
0c9da0985a
Added userstats to mysql input plugin ( #2137 )
...
* Added GatherUserStatistics, row Uptime in gatherGlobalStatuses, and version fields & tags
* Updated README file
* pulling in latest from master
* ran go fmt to fix formatting
* fix unreachable code
* few fixes
* cleaning up and applying suggestions from sparrc
2017-01-13 14:25:25 +00:00
Ken Dilley
eb96443a34
Update MySQL Readme to clarify connection string examples. ( #2175 )
...
* Update MySQL Readme to clarify connection string examples.
* Update mysql sample config to clarify connection string examples
2016-12-20 10:17:00 +00:00
Pierre Tessier
4a83c8c518
Add Questions status variable for issue: #1988 ( #2004 )
2016-12-16 13:47:47 +00:00
Johannes Rudolph
7a9fef80f5
Update README.md ( #1868 )
...
I think this is a copy paste bug? ;-)
2016-11-03 18:28:24 +00:00
John Hu
babd37bf35
Typo ( #1924 )
2016-10-21 14:11:03 +01: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
lost_z
2cf1db0837
add mysql uptime ( #1735 )
2016-09-23 15:59:22 +01:00
Cameron Sparr
6dbbe65897
Remove Add() function from accumulator
2016-09-02 16:35:27 +01:00
David Caldwell
0f6d317a8e
Fix MySQL plugin not sending 0 value fields ( #1695 )
...
closes #1695
2016-09-02 15:22:30 +01:00
Robert Kánia
b022b5567d
Added missing column, refs #1646 ( #1647 )
2016-08-22 15:35:39 +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
Shashank Sahni
4651ab88ad
Fetching galera status metrics in MySQL
...
These are useful for Percona Xtradb cluster.
closes #1437
2016-07-14 15:02:45 -06:00
Adrian Moisey
4d242836ee
Fix typo ( #1367 )
...
* Fix typo
* Fix another typo
2016-06-13 10:38:58 +01:00
Baptiste Mille-Mathias
a59bf7246a
Don't use root user as example
...
Using root as user is a bad habit.
closes #1177
2016-05-17 18:30:15 +01:00
Lukasz Jagiello
4c28f15b35
Fix #1148 - chatty MySQL
...
Two additional config options to reduce MySQL metrics
With:
- gather_table_lock_waits = false
- gather_event_waits = false
```
| wc -l
34
```
With:
- gather_table_lock_waits = true
- gather_event_waits = true
```
| wc -l
50040
```
closes #1148
closes #1149
2016-05-04 10:23:54 -06:00
Pierre Fersing
85ee66efb9
"DELAYED" Inserts were deprecated in MySQL 5.6.6
...
closes #1136
2016-05-02 11:23:28 -06:00
Maksadbek
b95a90dbd6
updated README for mysql input plugin
...
closes #889
closes #403
2016-04-18 17:21:25 -06:00
Maksadbek
a2d1ee08d4
transposed the matrix of tags/fields for Lock Waits stats gathering
2016-04-18 17:11:26 -06:00
Maksadbek
7e64dc380f
preventing tags from mutation by creating new tag for each metric
2016-04-18 17:11:26 -06:00
Maksadbek
046cb6a564
changed types to decrease needless uint64 to float64 casts
2016-04-18 17:11:26 -06:00
Maksadbek
644ce9edab
fixed code regarding needless type casting; single creation of map
2016-04-18 17:11:26 -06:00
Maksadbek
059b601b13
mysql plugin conf field names are lowercase-underscored
2016-04-18 17:11:26 -06:00
Maksadbek
d59999f510
improvements on queries and additional comments
2016-04-18 17:11:26 -06:00
Maksadbek
c5d31e7527
statics that lack on MySQL 5.5 is turned off by default
2016-04-18 17:11:26 -06:00
Maksadbek
c121e38da6
mysql plugin, check for existence of table before scanning
2016-04-18 17:11:26 -06:00
Maksadbek
b16bc3d2e3
remove duplicate function; Mysql plugin GatherTableSchema is configurable
2016-04-18 17:11:26 -06: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