728x90
반응형
Grafana 설치 및 대시보드 활용 방법1. Grafana 설치Prometheus를 Helm 차트로 설치하면 Grafana도 함께 설치된다.Prometheus Helm 차트는 아래 GitHub 저장소에서 확인할 수 있다.https://github.com/prometheus-community/helm-charts GitHub - prometheus-community/helm-charts: Prometheus community Helm chartsPrometheus community Helm charts. Contribute to prometheus-community/helm-charts development by creating an account on GitHub.github.com 설치가 완료되면, ..
ArgoCD 헬름차트 메트릭 노출 및 서비스 모니터 활성화프로젝트 진행 중에 온프레미스를 개발 및 테스트 환경으로 사용하기 위해 설정들을 체계화 하여 구축하는 과정에서,argocd 설치 시 네임스페이스를 우리가 원하는대로 지정하기 위해 직접 헬름 차트를 수정하여 설치하였다.이전에 작성했던 글은 온프레미스로 사용할 서버를 받기 전에 EKS에서 구축했던 실습(이라고 하자)이다.[관측가능성] 프로메테우스로 ArgoCD 메트릭 수집하기 [관측가능성] 프로메테우스로 ArgoCD 메트릭 수집하기프로메테우스 이용하여 ArgoCD 메트릭 수집하기⚙️ 구현 환경Amazon EKS 클러스터 1. 프로메테우스 설치1) Prometheus 네임스페이스 생성kubectl create namespace monitoring2) P..
프로메테우스 이용하여 Spring Boot 메트릭 수집하기Spring Boot 애플리케이션의 메트릭을 Prometheus로 수집하려면 Spring Boot Actuator와 Micrometer 라이브러리를 사용한다.1. 스프링부트 애플리케이션에서 메트릭 노출스프링 부트의 내장 라이브러리인 Actuator와 Micrometer를 사용하여 프로메테우스가 읽을 수 있는 메트릭 형식으로 메트릭을 노출한다.1) 의존성 추가스프링 부트 애플리케이션에 메트릭 노출을 위한 엑추에이터와 메트릭 수집을 위한 Micrometer 의존성을 추가한다.implementation 'org.springframework.boot:spring-boot-starter-actuator'implementation 'io.micrometer:..
프로메테우스 이용하여 ArgoCD 메트릭 수집하기⚙️ 구현 환경Amazon EKS 클러스터 1. 프로메테우스 설치1) Prometheus 네임스페이스 생성kubectl create namespace monitoring2) Prometheus 설치monitoring 네임스페이스 안에 프로메테우스 헬름 차트를 이용하여 프로메테우스를 설치한다.https://github.com/prometheus-community/helm-charts/ GitHub - prometheus-community/helm-charts: Prometheus community Helm chartsPrometheus community Helm charts. Contribute to prometheus-community/helm-charts..