-
Notifications
You must be signed in to change notification settings - Fork 5.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Critical/Major Bug related to MySQL Input -- "field type conflict" on ssl_verify_depth / ssl_ctx_verify_depth #5529
Comments
Error in Telegraf logs: Showing there are in fact multiple fields, with different fieldTypes:
|
1546447340000000000 -9223372036854775808
1546447340000000000 18446744073709552000
1546447340000000000 18446744073709552000
1546447340000000000 -9223372036854775808 |
This is related to #5055, as a workaround you can use the metric filtering options to remove the field. |
That worked, thank you. |
My fix for this should ensure that [[inputs.mysql]]
fielddrop = ["ssl_ctx_verify_depth", "ssl_verify_depth"] # Workaround #5529 |
Fixes influxdata#8319, influxdata#5711, influxdata#5055, influxdata#7421 See influxdata#5529, influxdata#6624 This could be easily extended to fix influxdata#6671 as well
Fixes influxdata#8319, influxdata#5711, influxdata#5055, influxdata#7421 See influxdata#5529, influxdata#6624 This could be easily extended to fix influxdata#6671 as well
Over the weekend, without any user changing either the telegraf version, Influxdb version, or any configuration, our active thread mysql data started not reporting to influxdb. After a bit of work tracking down the issue, we tracked it back to two fields being created within out influxdb database with the same name as fields that already existed, but having the wrong fieldType. This causes Telegraf to be unable to write any metrics related to this to Influxdb, thus making our monitoring one legged, and not reporting all useful data needed to drive monitoring.
After searching and searching, there is no method to fix this as far as I can tell, either. If InfluxDB allowed us to either alter table, or delete fields, then this would be fixed with no issue, but it appears neither of these are supported within influxdb. The only method I have seemed to run across is to delete the entire mysql measurement (losing all data, for all hosts, for all time for MySQL), and then allowing the telegraf agent to recreate it when writing new metrics to the DB. This seems crazy, and there MUST be a better way. Please tell me there is a better way to recover from such a simple error (at least in my mind, but I am used to MySQL..)
This user seems to have the same issue as we have, yet there seems to be no fix presented to them: #5055
ANY HELP WOULD BE USEFUL!
Thank you!
The text was updated successfully, but these errors were encountered: