influxDB-Grafana

컴퓨터 2019. 5. 10. 16:24

influxDB-Grafana
https://swalloow.github.io/influx-grafana1

graphite : python 기반 수집 tool
influxDB : go 기반 수집 tool ; 1초 단위 수집이 가능해 짐
Prometheus 의 Metric

yum install https://dl.grafana.com/oss/release/grafana-5.4.2-1.x86_64.rpm

https://grafana.com/docs/installation/rpm/



grafana-모니터링

잠시 몇달동안 일을 하면서 팀장님에게 배운 것 중 가장 기억에 남는것이 있다면 바로 모니터링이다.



모니터링이 누구에게는 따분할 수 있지만..

모니터링을 잘 활용하면 얼마든지 개선할 수 도 있고, 패턴을 익혀 프로그램의 주기를 변경할 수 있는 기회가 생긴다.

프로그램의 주기를 변경하면 효율적으로 자원을 활용할 수 있고 자연스럽게 장애도 예방된다.



또한 패턴을 이용해서 해당 시점의 쿼리를 수집하여 튜닝을 할 수도 있고..

무슨일이 어떻게 돌아가는지 익힐 수 있는 기회가 생긴다.



그러니 모니터링을 하찮게 생각하지 않았으면 한다.

경계에 실패한 자는 용서할 수 없듯이.. 모니터링에 실패하는 자는 훌륭한 DBA가 될수 없다고 혼자 생각해 본다-ㅎㅎ


출처: https://hyunki1019.tistory.com/128 [Louis.Kim 의 제 3막]



yum install grafana-server
yum install grafana
yum install https://dl.grafana.com/oss/release/grafana-5.4.2-1.x86_64.rpm
service grafana-server start