Skip to content

Commit d34693a

Browse files
committed
update
1 parent ade2f13 commit d34693a

File tree

6 files changed

+84
-12
lines changed

6 files changed

+84
-12
lines changed

docs/infra/.nav.yml

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,12 @@ ignore: "*.hidden.md"
1515

1616
nav:
1717
- 概述: index.md
18-
19-
- 服务发现: discovery
20-
- 配置中心: config
21-
- 负载均衡: loadbalancer
22-
- 链路追踪: tracing
23-
- 日志系统: logging
24-
- 监控系统: monitoring
25-
- 告警系统: alerting
26-
- 消息队列: queue
18+
- 📡 服务发现: discovery # emoji: 📡
19+
- 🌐 配置中心: config # emoji: 🌐
20+
- 🌊 负载均衡: loadbalancer # emoji: 分发 🌊
21+
- 🎯 链路追踪: tracing # emoji: 🎯
22+
- 📝 日志系统: logging # emoji: 📝
23+
- 📊 监控系统: monitoring # emoji: 📊
24+
- 🚨 告警系统: alerting # emoji: 🚨
25+
- 📨 消息队列: queue # emoji: 📨
2726
- "*"

docs/infra/config/etcd.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# ETCD
1+
# Etcd
22

33
## Reference
44

docs/infra/loadbalancer/istio.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# Istio
2+
3+
## Reference
4+
5+
- [istio](https://istio.io/)

docs/infra/loadbalancer/traefik.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# traefik
1+
# Traefik
22

33
## Reference
44

docs/infra/logging/fluent-bit.md

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,3 +25,49 @@
2525
- [fluent-bit](https://github.com/fluent/fluent-bit)
2626
- <https://fluentbit.io/how-it-works/>
2727
- <https://docs.fluentbit.io/manual/about/what-is-fluent-bit>
28+
29+
> 教程
30+
31+
- [Kubernetes日志采集——Fluent Bit详细介绍(一)](https://www.cnblogs.com/zhangmingcheng/p/15784496.html)
32+
- [使用fluent bit+ClickHouse 实现K8s日志采集](https://cloud.tencent.com/developer/article/1926584)
33+
- [使用 Fluentbit 采集夜莺日志写入 ElasticSearch](https://flashcat.cloud/blog/collect-n9e-logs-by-fluentbit/)
34+
- <https://docs.docker.com/engine/logging/drivers/fluentd/>
35+
36+
```ruby
37+
38+
docker run --log-driver=fluentd --log-opt fluentd-address=fluentdhost:24224
39+
```
40+
41+
- <https://kevcodez.de/posts/2019-08-10-fluent-bit-docker-logging-driver-elasticsearch/>
42+
43+
```ruby
44+
45+
version: "3.5"
46+
services:
47+
elasticsearch:
48+
image: elasticsearch:7.3.0
49+
ports:
50+
- "9200:9200"
51+
- "9300:9300"
52+
environment:
53+
- "ES_JAVA_OPTS=-Xms512m -Xmx512m"
54+
- discovery.type=single-node
55+
56+
fluentbit:
57+
build: .
58+
ports:
59+
- "24224:24224"
60+
- "24224:24224/udp"
61+
depends_on:
62+
- elasticsearch
63+
64+
ubuntu:
65+
image: ubuntu
66+
command: [/bin/echo, "Kevcodez"]
67+
depends_on:
68+
- fluentbit
69+
logging: # 日志 driver
70+
driver: fluentd
71+
options:
72+
tag: docker-ubuntu
73+
```

docs/infra/logging/loki.md

Lines changed: 23 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,32 @@
22

33
## 方案
44

5-
-[Grafana](https://github.com/grafana/grafana) + [Loki](https://github.com/grafana/loki)
5+
- ✅ ALG = [Alloy](https://github.com/grafana/alloy) + [Grafana](https://github.com/grafana/grafana) + [Loki](https://github.com/grafana/loki)
6+
7+
- `Promtail` 现已弃用,并将于 2025 年 2 月 13 日进入长期支持 (LTS) 阶段。
8+
- 所有未来功能的开发都将在 Grafana Alloy 中进行。
9+
- 如果您目前正在使用 Promtail,则应该计划迁移到 Alloy。
10+
- Alloy 迁移文档中包含一个迁移工具,可使用单个命令将 Promtail 配置转换为 Alloy 配置。
11+
12+
## Alloy
13+
14+
-[alloy](https://github.com/grafana/alloy)
15+
- alloy + loki + grafana
16+
17+
## Fluentbit
18+
19+
- fluentbit + loki + grafana
20+
-[fluentbit](https://github.com/fluent/fluent-bit)
21+
- <https://grafana.com/docs/loki/latest/send-data/fluentbit/>
622

723
## Reference
824

925
-[loki](https://github.com/grafana/loki)
1026
-[grafana](https://grafana.com/)
1127
-[alloy](https://github.com/grafana/alloy)
28+
-[Promtail](https://grafana.com/docs/loki/latest/send-data/promtail/)
29+
- 官方已经弃用, 请迁移到 alloy.
30+
31+
> 教程:
32+
33+
-[Promtail+Loki+Grafana搭建轻量级日志管理平台](https://www.cnblogs.com/cao-lei/p/16848665.html)

0 commit comments

Comments
 (0)