Skip to content

PaaS-TA/monitoring-dashboard-source

Repository files navigation

Related Repositories

ν”Œλž«νΌ μ–΄ν”Œλ¦¬μΌ€μ΄μ…˜ ν”Œλž«νΌ μ»¨ν…Œμ΄λ„ˆ ν”Œλž«νΌ
포털 AP 포털 CP 포털
🚩 λͺ¨λ‹ˆν„°λ§ λŒ€μ‹œλ³΄λ“œ
λͺ¨λ‹ˆν„°λ§ Monitoring InfluxDB Redis
Pinpoint Pinpoint Buildpack Zabbix
AP μ„œλΉ„μŠ€ Cubrid Gateway GlusterFS Lifecycle
Logging MongoDB MySQL Pinpoint APM
Pipeline RabbitMQ Redis Source Control
WEB-IDE
CP μ„œλΉ„μŠ€ Pipeline Source Control
🚩 You are here.

PaaS-TA monitoring-dashboard-source

  1. κ°œμš”
  2. μ„ ν–‰ μš”μ†Œ
  3. μ• ν”Œλ¦¬μΌ€μ΄μ…˜ κ°œλ°œν™˜κ²½ μ„€μ •
  4. λͺ¨λ“ˆ/νŒ¨ν‚€μ§€ λ‹¨μœ„ 및 디렉터리별 λͺ…μ„Έ

1. κ°œμš”

이 λ¬Έμ„œλŠ” λ³Έ μ €μž₯μ†Œλ₯Ό μ΄μš©ν•˜μ—¬ 둜컬 κ°œλ°œν™˜κ²½μ„ κ΅¬μ„±ν•˜κ³ , λͺ¨λ“ˆ/νŒ¨ν‚€μ§€ λ‹¨μœ„ 및 디렉터리별 μ„€λͺ…을 λͺ…μ„Έν•œ κ°€μ΄λ“œλ₯Ό μ œκ³΅ν•˜κΈ° μœ„ν•΄ μž‘μ„±λ˜μ—ˆλ‹€.

2. μ„ ν–‰ μš”μ†Œ

λ³Έ μ €μž₯μ†Œλ₯Ό 톡해 곡개된 λͺ¨λ“ˆ λ˜λŠ” νŒ¨ν‚€μ§€ λ‹¨μœ„μ˜ μ‹€ν–‰ ν”„λ‘œκ·Έλž¨μ˜ μΌλΆ€λŠ” κ°œλ°œν™˜κ²½ μ„€μ •μ‹œμ— μ• ν”Œλ¦¬μΌ€μ΄μ…˜μ„ μ‹€ν–‰ν•˜λŠ”λ° ν•„μš”ν•œ λ‹€λ₯Έ μ£Όλ³€ μ• ν”Œλ¦¬μΌ€μ΄μ…˜(DB λ“±)과의 선행적 μ—°κ²° 수립이 μš”κ΅¬λ˜κΈ°λ„ ν•œλ‹€. λ”°λΌμ„œ κ°œλ°œν™˜κ²½ 섀정에 μ•žμ„œ PaaS-TA μ• ν”Œλ¦¬μΌ€μ΄μ…˜ ν”Œλž«νΌ(AP), μ»¨ν…Œμ΄λ„ˆ ν”Œλž«νΌ(CP), λͺ¨λ‹ˆν„°λ§ ν”Œλž«νΌ(Monitoring Dashboard)의 배포 및 μ„€μΉ˜κ°€ μ„ ν–‰λ˜μ–΄ μžˆμ–΄μ•Ό ν•œλ‹€. 각 ν”Œλž«νΌμ˜ μ„€μΉ˜λŠ” 곡식 κ°€μ΄λ“œμ˜ μ„€μΉ˜ κ°€μ΄λ“œλ₯Ό μ°Έκ³ ν•  수 μžˆλ‹€.

3. μ• ν”Œλ¦¬μΌ€μ΄μ…˜ κ°œλ°œν™˜κ²½ μ„€μ •

λ³Έ λ¬Έμ„œμ˜ κ°œλ°œν™˜κ²½μ€ μœˆλ„μš° 운영체제λ₯Ό κΈ°μ€€μœΌλ‘œ ν•˜κ³  있으며 μ• ν”Œλ¦¬μΌ€μ΄μ…˜ κ°œλ°œμ„ μœ„ν•œ IDEλ‘œλŠ” GoLandλ₯Ό μ‚¬μš©ν•˜κ³  μžˆλ‹€. λ‹€μŒ λ‚΄μš©μ„ 톡해 둜컬 κ°œλ°œν™˜κ²½μ„ μ„€μ •ν•˜λŠ” 방법을 μ°Έκ³ ν•  수 μžˆλ‹€.

3.1. GoLand μ„€μΉ˜

λ‹€μŒ 경둜λ₯Ό 톡해 JetBrains μ‚¬μ—μ„œ μ œκ³΅ν•˜λŠ” 30일간 μ‚¬μš© κ°€λŠ₯ν•œ Goland IDE μ„€μΉ˜ νŒŒμΌμ„ λ‹€μš΄λ‘œλ“œ 받을 수 μžˆλ‹€. μ„€μΉ˜ 파일 λ‹€μš΄λ‘œλ“œ ν›„ μ„€μΉ˜ λ§ˆλ²•μ‚¬μ˜ μ•ˆλ‚΄μ— 따라 μ„€μΉ˜λ₯Ό μ™„λ£Œν•œλ‹€.

GoLand IDE Download

3.2. GoLand μ„€μ •

λ³Έ λ‚΄μš©μ€ PaaS-TA Monitoring Web (Portal) μ• ν”Œλ¦¬μΌ€μ΄μ…˜ κ°œλ°œν™˜κ²½ 섀정을 μ˜ˆμ‹œλ‘œ μž‘μ„±ν•˜μ˜€λ‹€. μ•„λž˜ 원격 μ €μž₯μ†Œλ₯Ό 톡해 μ• ν”Œλ¦¬μΌ€μ΄μ…˜ κ°œλ°œμ— ν•„μš”ν•œ μ†ŒμŠ€μ½”λ“œ 전체λ₯Ό λ‹€μš΄λ‘œλ“œ 받을 수 μžˆλ‹€.

PaaS-TA/monitoring-dashboard-source Download

PaaS-TA Monitoring Web (Portal) κ°œλ°œμ„ μœ„ν•΄ GoLandλ₯Ό μ‹€ν–‰ν•œ ν›„ λ‹€μš΄λ‘œλ“œ 받은 νŒ¨ν‚€μ§€ ꡬ쑰 쀑 paasta-monitoring-portal 디렉터리λ₯Ό ν”„λ‘œμ νŠΈλ‘œ μ—°λ‹€.

config.ini νŒŒμΌμ— '2. μ„ ν–‰ μš”μ†Œ'μ—μ„œ μ–ΈκΈ‰ν–ˆλ˜ μ£Όλ³€ μ‹€ν–‰ ν™˜κ²½μ˜ μ—°κ²° 정보 λ˜λŠ” 접속 정보λ₯Ό μ•Œλ§žκ²Œ μž…λ ₯ν•œλ‹€.

상단 메뉴 λ°”μ˜ [μ‹€ν–‰] > [ꡬ성 νŽΈμ§‘] 메뉴λ₯Ό μ„ νƒν•œλ‹€. μ΄μ–΄μ„œ [μ‹€ν–‰/디버그 ꡬ성] 창의 섀정을 λ‹€μŒμ„ μ°Έκ³ ν•΄ μ„€μ •ν•œλ‹€.

ㆍ [μ‹€ν–‰ μ’…λ₯˜] : 파일
ㆍ [파일] : ...\monitoring-dashboard-source\paasta-monitoring-portal\src\kr\paasta\monitoring\main.go
ㆍ [μž‘μ—… 디렉터리] : ...\monitoring-dashboard-source\paasta-monitoring-portal\src\kr\paasta\monitoring

우츑 μƒλ‹¨μ˜ μ‹€ν–‰ λ²„νŠΌ(Shift + F10)을 눌러 ν”„λ‘œκ·Έλž¨μ„ μ‹€ν–‰ν•œλ‹€. μ •μƒμ μœΌλ‘œ μ‹€ν–‰λ˜λ©΄ IDE ν•˜λ‹¨μ˜ μ‹€ν–‰ λ‘œκ·Έμ— 'Monit Application Started'λΌλŠ” λ©”μ‹œμ§€κ°€ λ…ΈμΆœλœλ‹€.

μ›Ή λΈŒλΌμš°μ €μ—μ„œ 'localhost:8080' 경둜λ₯Ό 톡해 λ‘œμ»¬μ—μ„œ GoLandλ₯Ό 기반으둜 μ‹€ν–‰λœ μ• ν”Œλ¦¬μΌ€μ΄μ…˜μ˜ μ›Ή 화면을 확인할 수 μžˆλ‹€.

4. λͺ¨λ“ˆ/νŒ¨ν‚€μ§€ λ‹¨μœ„ 및 디렉터리별 λͺ…μ„Έ

┃ Agent Modules

γ€€ paasta-agents ― AP diego-cell VM 기반 μ»¨ν…Œμ΄λ„ˆ ν™˜κ²½(Garden-runC)의 λ©”νŠΈλ¦­ 정보λ₯Ό μˆ˜μ§‘/μ „μ†‘ν•˜λŠ” μ—μ΄μ „νŠΈ
γ€€β”œ cadvisor
γ€€β”” rep

γ€€ paasta-monitoring-agent ― BOSH 포함 APλ₯Ό κ΅¬μ„±ν•˜λŠ” VM 기반 ν™˜κ²½μ˜ λ©”νŠΈλ¦­ 정보λ₯Ό μˆ˜μ§‘/μ „μ†‘ν•˜λŠ” μ—μ΄μ „νŠΈ
γ€€β”” src/kr/paasta/monitoring_agent
γ€€γ€€β”œ handler
γ€€γ€€β”” services

┃ Batch Modules

γ€€ paasta-monitoring-batch ― AP μ‹œμŠ€ν…œ λ©”νŠΈλ¦­ 쑰건에 따라 μ•ŒλžŒμ„ μ „μ†‘ν•˜λŠ” 배치 λͺ¨λ“ˆ
γ€€β”” src/kr/paasta/monitoring-batch
γ€€γ€€β”œ alarm
γ€€γ€€β”œ dao
γ€€γ€€β”œ handler
γ€€γ€€β”œ model
γ€€γ€€β”œ service
γ€€γ€€β”” util

γ€€ paasta-caas-monitoring-batch ― CP μ‹œμŠ€ν…œ λ©”νŠΈλ¦­ 쑰건에 따라 μ•ŒλžŒμ„ μ „μ†‘ν•˜λŠ” 배치 λͺ¨λ“ˆ
γ€€β”” src/kr/paasta/monitoring-batch
γ€€γ€€β”œ caas
γ€€γ€€β”œ config
γ€€γ€€β”œ dao
γ€€γ€€β”œ model
γ€€γ€€β”œ notify
γ€€γ€€β”” util

γ€€ paasta-saas-monitoring-batch ― μ• ν”Œλ¦¬μΌ€μ΄μ…˜ μ‹œμŠ€ν…œ λ©”νŠΈλ¦­ 쑰건에 따라 μ•ŒλžŒμ„ μ „μ†‘ν•˜λŠ” 배치 λͺ¨λ“ˆ
γ€€β”” src/kr/paasta/monitoring-batch
γ€€γ€€β”œ dao
γ€€γ€€β”œ model
γ€€γ€€β”œ notify
γ€€γ€€β”œ saas
γ€€γ€€β”” util

γ€€ paasta-iaas-monitoring-batch ― 인프라 μ‹œμŠ€ν…œ λ©”νŠΈλ¦­μ— 쑰건에 따라 μ•ŒλžŒμ„ μ „μ†‘ν•˜λŠ” 배치 λͺ¨λ“ˆ
γ€€β”” src/kr/paasta/iaas-monitoring-batch
γ€€γ€€β”œ config
γ€€γ€€β”œ dao
γ€€γ€€β”œ model
γ€€γ€€β”œ service
γ€€γ€€β”œ util
γ€€γ€€β”” zabbix-client

┃ Interface Modules

γ€€ paasta-monitoring-api ― λͺ¨λ‹ˆν„°λ§ κΈ°λŠ₯을 톡합 μ œκ³΅ν•˜λŠ” API λͺ¨λ“ˆ 및 Swagger 기반 API 가이더
γ€€β”” src/kr/paasta/monitoring-api
γ€€γ€€β”œ apiHelpers
γ€€γ€€β”œ connections
γ€€γ€€β”œ controllers
γ€€γ€€β”œ dao
γ€€γ€€β”œ docs
γ€€γ€€β”œ helpers
γ€€γ€€β”œ middlewares
γ€€γ€€β”œ models
γ€€γ€€β”œ routers
γ€€γ€€β”” services

γ€€ paasta-monitoring-portal ― λͺ¨λ‹ˆν„°λ§ 정보와 수치λ₯Ό μ‹œκ°ν™”ν•œ GUIλ₯Ό μ œκ³΅ν•˜λŠ” μ›Ή μ• ν”Œλ¦¬μΌ€μ΄μ…˜
γ€€β”” src/kr/paasta/monitoring
γ€€γ€€β”œ caas
γ€€γ€€β”œ common
γ€€γ€€β”œ handlers
γ€€γ€€β”œ iaas_new
γ€€γ€€β”œ openstack-client
γ€€γ€€β”œ paas
γ€€γ€€β”œ public
γ€€γ€€β”œ routes
γ€€γ€€β”œ saas
γ€€γ€€β”œ utils
γ€€γ€€β”” zabbix-client

About

Monitoring API & UI for PaaS-TA

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 12