Mysql exports

Would it be possible to add threads_connected to the exported fields for mysql plugin?

https://www.elastic.co/guide/en/beats/metricbeat/current/metricbeat-metricset-mysql-status.html

Thanks!

Definitively. I would suggest to directly add all Threads metrics:

| Threads_cached           | 0          |
| Threads_created          | 30022      |
| Threads_connected        | 1          |
| Threads_running          | 1          |

Feel free to either open a feature request on Github or directly a PR agains the beats repo. It should be quite easy to add it here: https://github.com/elastic/beats/blob/master/metricbeat/module/mysql/status/data.go#L11

Thanks!

I have made my very first pull request https://github.com/elastic/beats/pull/2484.

I hope I did it ok. Please let me know if I did anything wrong.

Thanks again,
Clay

@voipoclay Thanks a lot. I left some comments there.

This topic was automatically closed after 21 days. New replies are no longer allowed.