$30 off During Our Annual Pro Sale. View Details »

什麼是『監控』? (What is monitoring )

Avatar for Rick Hwang Rick Hwang
December 21, 2017

什麼是『監控』? (What is monitoring )

Avatar for Rick Hwang

Rick Hwang

December 21, 2017
Tweet

More Decks by Rick Hwang

Other Decks in Education

Transcript

  1. 1

  2. 常見的偏義副詞 • 窗戶 偏『窗』義 • 恩仇 偏『仇』義 • 生死 偏『死』義

    • 風雨 偏『雨』義 • 愛恨 偏『恨』義 • 出沒 偏『沒』義 • 監控 偏『控』義 • 維運 偏『維』義 4
  3. 5

  4. 監 控 Watch Monitor Observe Measure Control Command Handle Manage

    13 Dashboard (儀表板) Console (主控台)
  5. 14

  6. Dashboard => Show Something • Health Status • Sum of

    Biz TX • Sys Resources • … 18 Target Services / Systems Watchers Controllers Push or Pull Data (Observability, Measure)
  7. Dashboard => Show Something • Health Status • Sum of

    Biz TX • Sys Resources • … Push or Pull Data (Observability, Measure) 19 Target Services / Systems Watchers Controllers Events (Conditions / Thresholds) Console => Do Something • Reset or Clean Cache • On / Off Functions • Notification • ...
  8. Commands Dashboard => Show Something • Health Status • Sum

    of Biz TX • Sys Resources • … 20 Target Services / Systems Watchers Controllers Events (Conditions / Thresholds) Console => Do Something • Reset or Clean Cache • On / Off Functions • Notification • ... Push or Pull Data (Observability, Measure)
  9. Commands Dashboard => Show Something • Health Status • Sum

    of Biz TX • Sys Resources • … 21 Target Services / Systems Watchers Controllers Events (Conditions / Thresholds) Console => Do Something • Reset or Clean Cache • On / Off Functions • Notification • ... Feedback (Adjust Conditions / Thresholds by ML) Push or Pull Data (Observability, Measure)
  10. Commands Dashboard => Show Something • Health Status • Sum

    of Biz TX • Sys Resources • … 22 Target Services / Systems Watchers Controllers Events (Conditions / Thresholds) Console => Do Something • Reset or Clean Cache • On / Off Functions • Notification • ... Feedback (Adjust Conditions / Thresholds by ML) Push or Pull Data (Observability, Measure) 監
  11. Commands Dashboard => Show Something • Health Status • Sum

    of Biz TX • Sys Resources • … 23 Target Services / Systems Watchers Controllers Events (Conditions / Thresholds) Console => Do Something • Reset or Clean Cache • On / Off Functions • Notification • ... Feedback (Adjust Conditions / Thresholds by ML) Push or Pull Data (Observability, Measure) 監 控
  12. 24 Observability vs Monitoring • 氣象局 ◦ Observability 觀測 ◦

    Measurement 量測 • 政府 ◦ Monitoring ◦ Alert ◦ Action ◦ Feedback
  13. 25

  14. Dashboard - 儀表板 27 • 把觀測 (Observe) 、量測 (Measure) 的訊息透過圖像化呈現出來

    • 儀表板上的資料應該要來自於 Log • 觀測 、量測本身是 Sampling (取樣) 概念,密集度越高越好 ◦ 取樣 (Sapmling):數位概念,用音樂 CD 音質來說,為 44.1k/s,每秒有 44.1k 個取樣 ◦ 一般來說系統的量測頻率可以有 0.5 per second 算是很高的了 ◦ Sampling 是有額外資源需求的,就像是加解密一樣,都會額外吃 Computing • 量測的目的是:呈現系統狀況,用以做分析,進而做決策 (自動化)
  15. Questions 31 • 如何量測 (Measure)?用什麼方法?多久一次? • 如何觀測 (Observe)? • 資料怎麼來的?如何確立正確性?

    • 量測指標 (Metric) 背後代表的意義是什麼? • 量測的數據如何有公信力? • 你相信氣象數據?那些數據怎麼來的?
  16. 32

  17. Console - 主控台 34 • 設定參數 / 改變輸入值的地方 • 輸入值要根據某種條件

    (Condition) 做變化 ◦ 這個變化過程就是 Controller ◦ Controller 可以透過 Human / AI • 輸入方式跟待輸入變數的類型有關,像是整數、字串、選擇、真假 … ◦ UI 的設計也會不一樣: button, select, choice, checkbox ...
  18. 38

  19. 41

  20. • Monitoring vs Observability • 淺談系統監控與 CloudWatch 的應用 • Study

    Notes - CloudWatch • Study Notes - SRE Opening and Chapter 1 • What is Automation? ◦ 『自動化 XXX』的陷阱 • AWS Certified SysOps Administrator - Associate 準備心得 ◦ 什麼是維運? 42 Blog 相關文章
  21. 43