Commit Graph

3 Commits

Author SHA1 Message Date
Edgar Ochoa
7289134757 Add Mysql variables to collector (#562)
* Add Mysql variables to collector

* Cleanup row scanning and a few updates based on feedback

* Close db connection

* Move defer db.close

* Updates based on feedback

* Use vars in loop instead of struct

* Only pull parameters specified in collector config

Co-authored-by: Ethan Mosbaugh <ethan@replicated.com>
2022-05-04 10:42:37 -07:00
Marc Campbell
821a132980 add some omitempty 2020-03-23 08:58:02 -07:00
Marc Campbell
77eba55ee8 Abstract, add mysql 2020-03-20 07:19:03 -07:00