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
Post a Comment