Prometheus 3

[Dcoker] Zipkin, Monitoring(Prometheus + Grafana) Container Create Example

Zipkin https://zipkin.io/pages/quickstart Quickstart · OpenZipkin Quickstart In this section we’ll walk through building and starting an instance of Zipkin for checking out Zipkin locally. There are three options: using Java, Docker or running from source. If you are familiar with Docker, this is the preferred method t zipkin.io 컨테이너 생성 docker run -d -p 9411:9411 --network gugbab-network --name ..

DevOps 2023.05.31

[MSA] Prometheus, Grafana 란? Grafana연동Example

Prometheus Metrics를 수집하고 모니터링에 사용되는 오픈소스 애플리케이션 시계열 데이터베이스에 Metrics를 저장하고 조회 가능 https://prometheus.io/ Prometheus - Monitoring system & time series database An open-source monitoring system with a dimensional data model, flexible query language, efficient time series database and modern alerting approach. prometheus.io prometheus.yml target 정보 추가 job_name : 이름 설정 scrape_interval : 수집 데이터 간격 시간 설..

MSA 2023.05.16

[MSA] Spring Boot - Micrometer란? Micrometer Timer example

https://micrometer.io/ Micrometer Application Observability micrometer.io Micrometer JVM기반의 애플리케이션의 Metrics 제공, 처리 Prometheus 등 다양한 모니터링 시스템을 지원한다. Timer 지연시간, 이벤트의 사용 빈도 측정 시계열의 이벤트 시간, 호출 빈도 제공 의존성 주입 (build.gradle) dependencies { ... implementation 'io.micrometer:micrometer-registry-prometheus:1.10.5' } 설정값 변경 (application.yml) endpoint 추가 metrics prometheus management: endpoints: web: exposu..

MSA 2023.05.15