Monitoring MySQL running within a docker container? -


i running mysql (percona) within docker container. our normal operations fine, once in while when using 1000s of insert operations consecutively, db connection lost , results in application crash.

how monitor mysql instance running inside docker container? solutions available me? ideally, monitor mysql host environment, see logs , notice when hit application error.

any suggestions?

you can collect logs container's output: docker logs -f container_id

or run bash inside container , work want: docker exec -it container_id bash


Comments

Popular posts from this blog

php - Wordpress website dashboard page or post editor content is not showing but front end data is showing properly -

How to get the ip address of VM and use it to configure SSH connection dynamically in Ansible -

javascript - Get parameter of GET request -