"DELAYED" Inserts were deprecated in MySQL 5.6.6

closes #1136
This commit is contained in:
Pierre Fersing 2016-04-29 18:43:14 +02:00 committed by Cameron Sparr
parent 40dccf5b29
commit 85ee66efb9
3 changed files with 1 additions and 9 deletions

View File

@ -91,6 +91,7 @@ based on _prefix_ in addition to globs. This means that a filter like
- [#1090](https://github.com/influxdata/telegraf/issues/1090): [agent] and [global_tags] config sometimes not getting applied. - [#1090](https://github.com/influxdata/telegraf/issues/1090): [agent] and [global_tags] config sometimes not getting applied.
- [#1133](https://github.com/influxdata/telegraf/issues/1133): Use a timeout for docker list & stat cmds. - [#1133](https://github.com/influxdata/telegraf/issues/1133): Use a timeout for docker list & stat cmds.
- [#1052](https://github.com/influxdata/telegraf/issues/1052): Docker panic fix when decode fails. - [#1052](https://github.com/influxdata/telegraf/issues/1052): Docker panic fix when decode fails.
- [#1136](https://github.com/influxdata/telegraf/pull/1136): "DELAYED" Inserts were deprecated in MySQL 5.6.6. Thanks @PierreF
## v0.12.1 [2016-04-14] ## v0.12.1 [2016-04-14]

View File

@ -117,7 +117,6 @@ The unit of fields varies by the tags.
* write_normal(float, number/milliseconds) * write_normal(float, number/milliseconds)
* write_allow_write(float, number/milliseconds) * write_allow_write(float, number/milliseconds)
* write_concurrent_insert(float, number/milliseconds) * write_concurrent_insert(float, number/milliseconds)
* write_delayed(float, number/milliseconds)
* write_low_priority(float, number/milliseconds) * write_low_priority(float, number/milliseconds)
* read(float, number/milliseconds) * read(float, number/milliseconds)
* write(float, number/milliseconds) * write(float, number/milliseconds)

View File

@ -454,7 +454,6 @@ const (
COUNT_READ_EXTERNAL, COUNT_READ_EXTERNAL,
COUNT_WRITE_ALLOW_WRITE, COUNT_WRITE_ALLOW_WRITE,
COUNT_WRITE_CONCURRENT_INSERT, COUNT_WRITE_CONCURRENT_INSERT,
COUNT_WRITE_DELAYED,
COUNT_WRITE_LOW_PRIORITY, COUNT_WRITE_LOW_PRIORITY,
COUNT_WRITE_NORMAL, COUNT_WRITE_NORMAL,
COUNT_WRITE_EXTERNAL, COUNT_WRITE_EXTERNAL,
@ -465,7 +464,6 @@ const (
SUM_TIMER_READ_EXTERNAL, SUM_TIMER_READ_EXTERNAL,
SUM_TIMER_WRITE_ALLOW_WRITE, SUM_TIMER_WRITE_ALLOW_WRITE,
SUM_TIMER_WRITE_CONCURRENT_INSERT, SUM_TIMER_WRITE_CONCURRENT_INSERT,
SUM_TIMER_WRITE_DELAYED,
SUM_TIMER_WRITE_LOW_PRIORITY, SUM_TIMER_WRITE_LOW_PRIORITY,
SUM_TIMER_WRITE_NORMAL, SUM_TIMER_WRITE_NORMAL,
SUM_TIMER_WRITE_EXTERNAL SUM_TIMER_WRITE_EXTERNAL
@ -1126,7 +1124,6 @@ func (m *Mysql) gatherPerfTableLockWaits(db *sql.DB, serv string, acc telegraf.A
countReadExternal float64 countReadExternal float64
countWriteAllowWrite float64 countWriteAllowWrite float64
countWriteConcurrentInsert float64 countWriteConcurrentInsert float64
countWriteDelayed float64
countWriteLowPriority float64 countWriteLowPriority float64
countWriteNormal float64 countWriteNormal float64
countWriteExternal float64 countWriteExternal float64
@ -1137,7 +1134,6 @@ func (m *Mysql) gatherPerfTableLockWaits(db *sql.DB, serv string, acc telegraf.A
timeReadExternal float64 timeReadExternal float64
timeWriteAllowWrite float64 timeWriteAllowWrite float64
timeWriteConcurrentInsert float64 timeWriteConcurrentInsert float64
timeWriteDelayed float64
timeWriteLowPriority float64 timeWriteLowPriority float64
timeWriteNormal float64 timeWriteNormal float64
timeWriteExternal float64 timeWriteExternal float64
@ -1154,7 +1150,6 @@ func (m *Mysql) gatherPerfTableLockWaits(db *sql.DB, serv string, acc telegraf.A
&countReadExternal, &countReadExternal,
&countWriteAllowWrite, &countWriteAllowWrite,
&countWriteConcurrentInsert, &countWriteConcurrentInsert,
&countWriteDelayed,
&countWriteLowPriority, &countWriteLowPriority,
&countWriteNormal, &countWriteNormal,
&countWriteExternal, &countWriteExternal,
@ -1165,7 +1160,6 @@ func (m *Mysql) gatherPerfTableLockWaits(db *sql.DB, serv string, acc telegraf.A
&timeReadExternal, &timeReadExternal,
&timeWriteAllowWrite, &timeWriteAllowWrite,
&timeWriteConcurrentInsert, &timeWriteConcurrentInsert,
&timeWriteDelayed,
&timeWriteLowPriority, &timeWriteLowPriority,
&timeWriteNormal, &timeWriteNormal,
&timeWriteExternal, &timeWriteExternal,
@ -1190,7 +1184,6 @@ func (m *Mysql) gatherPerfTableLockWaits(db *sql.DB, serv string, acc telegraf.A
"write_normal": countWriteNormal, "write_normal": countWriteNormal,
"write_allow_write": countWriteAllowWrite, "write_allow_write": countWriteAllowWrite,
"write_concurrent_insert": countWriteConcurrentInsert, "write_concurrent_insert": countWriteConcurrentInsert,
"write_delayed": countWriteDelayed,
"write_low_priority": countWriteLowPriority, "write_low_priority": countWriteLowPriority,
} }
acc.AddFields("mysql_perf_schema", sqlLWFields, sqlLWTags) acc.AddFields("mysql_perf_schema", sqlLWFields, sqlLWTags)
@ -1213,7 +1206,6 @@ func (m *Mysql) gatherPerfTableLockWaits(db *sql.DB, serv string, acc telegraf.A
"write_normal": timeWriteNormal / picoSeconds, "write_normal": timeWriteNormal / picoSeconds,
"write_allow_write": timeWriteAllowWrite / picoSeconds, "write_allow_write": timeWriteAllowWrite / picoSeconds,
"write_concurrent_insert": timeWriteConcurrentInsert / picoSeconds, "write_concurrent_insert": timeWriteConcurrentInsert / picoSeconds,
"write_delayed": timeWriteDelayed / picoSeconds,
"write_low_priority": timeWriteLowPriority / picoSeconds, "write_low_priority": timeWriteLowPriority / picoSeconds,
} }
acc.AddFields("mysql_perf_schema", sqlLWSecTotalFields, sqlLWSecTotalTags) acc.AddFields("mysql_perf_schema", sqlLWSecTotalFields, sqlLWSecTotalTags)