Skip to content

Commit 5934920

Browse files
Penty-dACaiCat
andauthored
chore: update alloy and cadvisor config (#514)
* chore:update config * Update docker/docker-compose.yml Co-authored-by: Cai <13110818005@qq.com> Signed-off-by: Pentyd <69415577+Penty-d@users.noreply.github.com> * Update docker/docker-compose.yml Co-authored-by: Cai <13110818005@qq.com> Signed-off-by: Pentyd <69415577+Penty-d@users.noreply.github.com> --------- Signed-off-by: Pentyd <69415577+Penty-d@users.noreply.github.com> Co-authored-by: Cai <13110818005@qq.com>
1 parent 24514d3 commit 5934920

2 files changed

Lines changed: 13 additions & 3 deletions

File tree

config/alloy/config.alloy

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,8 @@ loki.write "grafana_loki" {
6767

6868
otelcol.receiver.otlp "ingest" {
6969
grpc {
70-
endpoint = "0.0.0.0:4317"
70+
endpoint = "0.0.0.0:4317"
71+
max_recv_msg_size = "16MiB"
7172
}
7273

7374
http {

docker/docker-compose.yml

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -229,19 +229,28 @@ networks:
229229
# restart: always
230230
# ports:
231231
# - 9100:9100
232+
# volumes:
233+
# - /:/host:ro,rslave
234+
# command:
235+
# - "--path.rootfs=/host"
232236
# networks:
233237
# - fzuhelper
234238
#
235239
# cadvisor:
236-
# image: google/cadvisor:latest
240+
# image: ghcr.io/google/cadvisor:latest
237241
# container_name: fzuhelper-cadvisor
238242
# restart: always
239243
# platform: linux/amd64
244+
# privileged: true
240245
# volumes:
241246
# - /:/rootfs:ro
242-
# - /var/run:/var/run:rw
247+
# - /var/run/docker.sock:/var/run/docker.sock:rw
243248
# - /sys:/sys:ro
244249
# - /var/lib/docker/:/var/lib/docker:ro
250+
# - /dev/disk/:/dev/disk:ro
251+
# - /run/containerd/containerd.sock:/run/containerd/containerd.sock:ro
252+
# devices:
253+
# - /dev/kmsg
245254
# ports:
246255
# - 8899:8080
247256
# networks:

0 commit comments

Comments
 (0)