Mysql exports


(Clay Gorman) #1

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!


(ruflin) #2

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


(Clay Gorman) #3

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


(ruflin) #4

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


(system) #5

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