Open post
Monitoring MySQL, MariaDB/Galera Cluster ด้วย Prometheus + Grafana

Monitor MySQL, MariaDB Galera Cluster ด้วย Prometheus + Grafana

ก่อนหน้าผู้เขียนก็มีโพสต์เกี่ยวกับเรื่อง Grafana ไปหลายบทความแล้วดูได้ที่นี่ และบทความนี้เราจะมาทำระบบ Monitoring ด้วย Prometheus และ Grafana กันครับ โดยจะใช้ Prometheus ซึ่งเป็น open-source เป็นฐานข้อมูล และใช้ตัว Grafana ทำหน้าที่แสดงค่าต่างๆ โดยใช้ Exporter ดึงข้อมูลหรือ query เพื่อนำมาแสดงค่า ซึ่งเราจะเพิ่ม Exporter หลักๆ 2 ตัวเข้ามาใน Prometheus และ deploy stack ด้วย docker-compose. 1. node-exporter (Server system data collection)2. mysqld_exporter (MySQL server data collection) node-exporter เป็น Exporter ตัวหนึ่งใน Prometheus ที่เอาไว้ดึงค่าต่างๆ ของฮาร์ดแวร์ภายในเครื่องเซิร์ฟเวอร์ เช่น CPU, Disk, Memory […]

Continue readingMore Tag
Open post

PHP Application Modernization with Container

โพสต์นี้แอดอยากชวนคุยแนวทางในการปรับปรุงแอปพลิเคชันให้ทันสมัยด้วย Container technology ครับ (ไม่ใช่เรื่องใหม่อะไร แต่อยากเขียน 555++) หลายทานที่ทำงานด้านไอที ปกติก็อยู่กับเซิร์ฟเวอร์แบบ bare metal ที่ติดตั้งระบบปฏิบัติการทั้ง Windows และ Linux รวมไปถึงเครื่อง Storage และ virtual machine ประสบการณ์ทั้งหมดนี้มัดรวม ๆ กันแล้ว แอดเรียกว่าสาย IT infrastructure (มัดรวม Software และ Network hardware) หรือหากแบ่งตามหน้าที่ความรับผิดชอบก็เรียกว่า  IT Generalist ล่ะกัน ส่วนใหญ่หน้าที่การงานเราก็จะ operate ทั้ง on-premise และ cloud พร้อมเรียนรู้ทักษะใหม่ container platform และ DevOps ครับ (Containerized + Kubernetes environment) หากถามว่ามีอะไรเป็น common principle ไหม? […]

Continue readingMore Tag
Scroll to top