Skip to content

Commit c04f940

Browse files
committed
fix(fluentbit): fluentbit cpu error
1 parent 163c7f6 commit c04f940

2 files changed

Lines changed: 13 additions & 13 deletions

File tree

README.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -26,24 +26,24 @@ Grafana is a stand alone graphing application. It natively supports Timescaledb
2626
│ │
2727
logs file │
2828
│ │
29-
30-
┌──────────┐ ┌───-─────────┐ logs/metrics ┌──────────────┐
31-
│ App Logs │───Log File───▶ Fluentd │────topics──────│ Redis Stream │
32-
└──────────┘ └────-────────┘ └──────────────┘
29+
v v
30+
┌──────────┐ ┌────────────┐ logs/metrics ┌──────────────┐
31+
│ App Logs │───Log File──> Fluentbit │──────topics────>│ Redis Stream │
32+
└──────────┘ └────────────┘ └──────────────┘
3333
3434
┌──────────┐ │
3535
│ HOST │───┐ │
3636
│ Telegraf │ │ │
3737
└──────────┘ │ │
38-
39-
┌──────────┐ │ ┌───────-─────┐ ┌─────────────┐
40-
│ HOST │───┼──────────│ Timescaledb │──────Wire──────│ Telegraf │
41-
│ Telegraf │ │ └───────────-─┘ Protocol └─────────────┘
38+
v
39+
┌──────────┐ │ ┌────────────┐ ┌─────────────┐
40+
│ HOST │───┼──────────>│ Timescaledb │<──────Wire──────│ Telegraf │
41+
│ Telegraf │ │ └────────────┘ Protocol └─────────────┘
4242
└──────────┘ │ │
4343
│ │
44-
┌──────────┐ │
44+
┌──────────┐ │ v
4545
│ HOST │───┘ ┌─────────────┐ ┌─────────────┐
46-
│ Telegraf │ │ Grafana │────────────────│ Prometheus │
46+
│ Telegraf │ │ Grafana │<────────────────│ Prometheus │
4747
└──────────┘ └─────────────┘ └─────────────┘
4848
4949
```

grafana/rootfs/usr/share/grafana/api/dashboards/drycc_component_health.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1277,7 +1277,7 @@
12771277
{
12781278
"alias": "$tag_pod_name",
12791279
"editorMode": "code",
1280-
"expr": "sum (rate (container_cpu_usage_seconds_total{image!=\"\",pod!=\"\",namespace=\"drycc\",container=~\"^drycc-logger-fluentd.*$\"}[1m])) by (pod) * 1000",
1280+
"expr": "sum (rate (container_cpu_usage_seconds_total{image!=\"\",pod!=\"\",namespace=\"drycc\",container=~\"^drycc-logger-fluentbit.*$\"}[1m])) by (pod) * 1000",
12811281
"groupBy": [
12821282
{
12831283
"params": [
@@ -1386,7 +1386,7 @@
13861386
{
13871387
"alias": "$tag_pod_name",
13881388
"editorMode": "code",
1389-
"expr": "sum (container_memory_working_set_bytes{image!=\"\",pod!=\"\",namespace=\"drycc\",container=~\"^drycc-logger-fluent.*$\"}) by (pod)",
1389+
"expr": "sum (container_memory_working_set_bytes{image!=\"\",pod!=\"\",namespace=\"drycc\",container=~\"^drycc-logger-fluentbit.*$\"}) by (pod)",
13901390
"groupBy": [
13911391
{
13921392
"params": [
@@ -1452,7 +1452,7 @@
14521452
"refId": "A"
14531453
}
14541454
],
1455-
"title": "FLUENTD",
1455+
"title": "FLUENTBIT",
14561456
"type": "row"
14571457
},
14581458
{

0 commit comments

Comments
 (0)