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 alt](https:// "title") | 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.
Syncing
xxxxxxxxxx
Slide: https://www.slideshare.net/hongweiqiu/learn-o11y-from-grafana-ecosystem
Youtube: https://www.youtube.com/watch?v=MY2e3rjD1sA
{%hackmd @coscup/S1EDiCRcn %}
o11y → Observability (可觀測性)
當微服務興起,比起單體性架構觀測更困難:
透過 Grafana 的開源專案來做
潛在的挑戰:
Grafana Lab
metrics
prometheus 的限制
Prometheus 主要簡單化,不是一個長期的解決方案
但現在的架構幾乎都會支援 prometheus
Grafana Mimir
主要元件
目前的擴展方式是把上面全部都整合至 one container 內 (
mimir
),若要精打細算一點需要把比較需要資源的元件拉出來放Grafana Agent
Logging
EFK 的限制
大部分的人不需要,大部分都只是需要搜尋 Logging
Elaticsearch 維運困難,且強項是在分析等等的功能
promtail (Grafana Agent) -> Grafana Loki -> Grafana
Loki 跟 Mimir 架構都差不多,學一套管理所有 Grafana 產品
Tracing
Grafana Tempo
Profiling
Grafana Phlare (archived since 2023-03-15)
收集 APP 的資料,查看某個 function 的火焰圖
Demo
demo 是透過 docker-compose 建立起來的系統,都可以在官方 github 上面找到: