or
or
By clicking below, you agree to our terms of service.
New to HackMD? Sign up
Syntax | Example | Reference | |
---|---|---|---|
# Header | Header | 基本排版 | |
- Unordered List |
|
||
1. Ordered List |
|
||
- [ ] Todo List |
|
||
> Blockquote | Blockquote |
||
**Bold font** | Bold font | ||
*Italics font* | Italics font | ||
~~Strikethrough~~ | |||
19^th^ | 19th | ||
H~2~O | H2O | ||
++Inserted text++ | Inserted text | ||
==Marked text== | Marked text | ||
[link text](https:// "title") | Link | ||
 | Image | ||
`Code` | Code |
在筆記中貼入程式碼 | |
```javascript var i = 0; ``` |
|
||
:smile: | ![]() |
Emoji list | |
{%youtube youtube_id %} | Externals | ||
$L^aT_eX$ | LaTeX | ||
:::info This is a alert area. ::: |
This is a alert area. |
On a scale of 0-10, how likely is it that you would recommend HackMD to your friends, family or business associates?
Please give us some advice and help us improve HackMD.
Do you want to remove this version name and description?
Syncing
xxxxxxxxxx
前端可觀測性 - Grafana 在下的一盤大棋 - 許宏翔 (Mike Hsu)
歡迎來到 DevOpsDay Taipei 2024 共筆
- The image file may be corrupted
- The server hosting the image is unavailable
- The image path is incorrect
- The image format is not supported
Learn More →共筆入口:https://hackmd.io/@DevOpsDay/2024
手機版請點選上方 按鈕展開議程列表。
》議程介紹
》填寫議程滿意度問卷|回饋建言給辛苦的講者
What is Frontend Observability
什麼是前端可觀測性?
幾乎大家都說是: == Grafana or ELK or Datadog === 監控
Why we need Frontend Observability
humans are impatient, 任何造成延遲的原因都可能導致application失去潛在客戶
目的是什麼? 服務行為是什麼?,又串接到哪一個服務、如果出現系統的效能變慢,哪一個函數在作怪,錯誤在哪一個階段壞去?
請求時間變長,這些問題是在前端發生還是後端發生的?
………………
以上都是可觀測性都是要解決的問題,目前都是後端。 必須延伸到前端,
真實體感時間是USER從前端按下按鈕開始
Performance Golden Rule
企業角度來看,人類很不耐煩,反應時間延遲和業務績效有絕對關係!
這些精確監控非常重要吧
前端效能是使用者體驗的一部分、甚至網頁畫出來的時間也要考量。
可能很難在本地發現錯誤,在 production 才出現問題
訂票那瞬間卡住情況,讓許多客戶都認為絕對買不到了,就是會卡。
Leverage Real User Monitoring (RUM 工具)監測使用者真實使用情況
RUM 工具用在 production 是右移測試的延伸。 (下一堂是測試左移)
Grafana and Their Frontend Observability
Grafana 小知識
Grafana 的無限寶石 Labs
從資料搜集 -> 處理 -> 儲存 -> 進而萃取精華
依靠個服務資訊信號聚合出來的 Grafana,
Grafana Faro Web SDK
Grafana Cloud: Application Performance
Grafana Faro RUM Architecture
Sentry RUM Architectiure
維運門檻高(多個資料庫)
結論: 太貴
Grafana Faro RUM RECAP
Grafana Scenes
source: https://github.com/grafana/scenes
Build highly interactive Grafana Apps
Grafan Scenes Demo
Log Volume Explore Demo
tags:
DevOpsDays Taipei 2024
=聊天區=
講者兩個禮拜前去了瑞士,推薦去看冰河
可觀測性是