Hi,
I have following sample statistics which need to be injected into Prometheus.
"Connection_errors_tcpwrap": 0,
"Connections": 234,
"Delayed_insert_threads": 0,
"Innodb_buffer_pool_dump_status": "Dumping",
"Innodb_buffer_pool_load_status": "Buffer",
"Innodb_buffer_pool_resize_status": "",
"Innodb_buffer_pool_pages_data": 1802,
"Innodb_buffer_pool_bytes_data": 29523968
I need entire statistics to be sent in the same form to Prometheus. Ex: "Connections": 234, "Delayed_insert_threads": 0 etc.
Can mtail be used for this scenario? If yes, what could be my program look like? Also, What would be the approach to scrap few other elements from other files? Will i be able to run multiple programs?
thanks and regards,
saveetha