Prometheus 6

[Prometheus] Prometheus

https://prometheus.io/docs/introduction/overview/ Overview | Prometheus An open-source monitoring system with a dimensional data model, flexible query language, efficient time series database and modern alerting approach. prometheus.io 정의 모니터링 / 알람 툴킷 time series data로 metric을 수집 / 저장 기능 Multi-dimensional time series data model PromQL 분산 스토리지에 의존 X HTTP를 이용한 pull 방식 Gateway를 통한 push 방식 지원 Target..

[EagleEye][서비스구축] K8s에 배포한 사용자 svc의 metrics를 prometheus로 수집하기

https://twofootdog.tistory.com/22 Actuator & Prometheus를 활용한 Spring Boot 애플리케이션 모니터링 이번 글에서는 Actuator와 Prometheus를 활용하여 쿠버네티스 클러스터 내에서 실행 중인 스프링부트 애플리케이션 모니터링을 하는 방법에 대해 알아볼 것이다. Prometheus Server도 쿠버네티스 클러스 twofootdog.tistory.com https://jongmin92.github.io/2019/12/04/Spring/prometheus/ SpringBoot Application의 monitoring 시스템 구축하기 Spring Boot를 사용하고 있는 애플리케이션에서 이전에 살펴본 Micrometer를 이용해서 metric을 생성..

만들기/EagleEye 2022.05.18

[EagleEye][환경세팅] K8s Promehteus metrics 연결 문제 해결 (connection refused, connection reset by peer)

[에러] serviceMonitor/prometheus : Get - dial tcp - connect: connection refused - 몇몇 메트릭을 수집하지 못하는 문제 발생 kube-proxy metricsBindAddress 수정 >> kubectl -n kube-system edit cm kube-proxy - metricsBidnAddress: "" -> metricsBidnAddress: 0.0.0.0:10249 (이것 덕분에 해결되는건지 확실하진 않음) reboot (control plane, worker nodes) >> sudo reboot (reboot을 안해도 기다리면 해결되는 항목도 있는 듯) reboot 후 상태 그 외 kube-system 해결되지 않은 항목 kube-co..

만들기/EagleEye 2022.05.17

[EagleEye][환경세팅] Grafana - Prometheus 연동

https://gruuuuu.github.io/cloud/monitoring-02/ Kubernetes Monitoring - Prometheus 실습 Overview 이번 포스팅에서는 쿠버네티스 클러스터의 메트릭들을 프로메테우스로 수집하고 web UI를 통해 시각화 시키는 작업을 해보겠습니다. 참고 링크 : 쿠버네티스 시작하기(11) - Prometheus & Node-Ex gruuuuu.github.io Grafana에서 Data Source / Prometheus 추가 K8s에서 Prometheus IP 확인 >> kubectl get svc -n prometheus URL 수정 후 save & test 대시보드 template 다운받기 홈페이지 접속 : https://grafana.com/ Gra..

만들기/EagleEye 2022.05.17

[EagleEye][환경세팅] Kubernetes Prometheus-stack 설치

https://ekwkqk12.tistory.com/48 [Monitoring] Prometheus-Stack Helm helm repo add prometheus-community https://prometheus-community.github.io/helm-charts helm repo update helm pull prometheus-community/kube-prometheus-stack --untar ktl create ns proemtheus-stac.. ekwkqk12.tistory.com https://jerryljh.tistory.com/9 15. Kube 교육 - Prometheus Stack 설치 실습 prometheus-stack 설치 grafana 기본 모니터링 페이지 확인 Why..

만들기/EagleEye 2022.05.17

[EagleEye][환경세팅] 쿠버네티스 설치 4 - 애드온 설치 (Dashboard, Metric Server, Prometheus and Grafana 설명)

https://computingforgeeks.com/deploy-kubernetes-cluster-on-ubuntu-with-kubeadm/ Install Kubernetes Cluster on Ubuntu 20.04 with kubeadm | ComputingForGeeks Kubernetes is a tool for orchestrating and managing containerized applications at scale on on-premise server or across hybrid cloud environments. Kubeadm is a computingforgeeks.com Kubernetes Dashboard https://computingforgeeks.com/how-to-ins..

만들기/EagleEye 2022.05.16