자바 어플리케이션 대시보드 구축을 위한 Tomcat + Prometheus + Grafana 적용 방법
jmx-exporter를 실행하려면 yaml 포맷의 config파일이 필요하다. config 파일의 내용을 다음과 같이 작성하자.jmx_config.yaml(옵션에 대한 내용들은 https://github.com/prometheus/jmx_exporter이제
Prometheus 를 다운로드한 폴더에서 prometheus.yml 파일을 다음과 같이 수정한다.prometheus.yml(targets에 jmx-exporter에서 metric을 추출한 "host:port"를 입력)파일을 저장한 뒤 같은 경로에 있는 promethe
http://localhost:3000 로 접속하여 ID: admin / PW: admin 으로 로그인로그인 후 첫 화면 중앙에 Add your first data source 를 클릭한 뒤 첫번째로 보이는 Prometheus를 선택그 후 상세 창에 URL에