File tree Expand file tree Collapse file tree 2 files changed +11
-5
lines changed Expand file tree Collapse file tree 2 files changed +11
-5
lines changed Original file line number Diff line number Diff line change @@ -2,6 +2,9 @@ version: "3"
22x-common : &common
33 networks :
44 - signoz-net
5+ # Local monitoring
6+ extra_hosts :
7+ host.docker.internal : host-gateway
58 restart : unless-stopped
69 logging :
710 options :
@@ -154,7 +157,10 @@ services:
154157 volumes :
155158 - ./otel-collector-config.yaml:/etc/otel-collector-config.yaml
156159 - ./common/signoz/otel-collector-opamp-config.yaml:/etc/manager-config.yaml
160+ - /:/hostfs:ro
161+ - /var/run/docker.sock:/var/run/docker.sock
157162 environment :
163+ - SIGNOZ_COLLECTOR_ENDPOINT=http://host.docker.internal:4317
158164 - OTEL_RESOURCE_ATTRIBUTES=host.name=signoz-host,os.type=linux
159165 - LOW_CARDINAL_EXCEPTION_GROUPING=false
160166 ports :
@@ -194,4 +200,4 @@ volumes:
194200 sqlite :
195201 name : signoz-sqlite
196202 zookeeper-1 :
197- name : signoz-zookeeper-1
203+ name : signoz-zookeeper-1
Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ receivers:
2727 network :
2828 paging :
2929 processes :
30-
30+
3131processors :
3232 batch :
3333 send_batch_size : 10000
@@ -94,9 +94,9 @@ service:
9494 processors : [signozspanmetrics/delta, batch]
9595 exporters : [clickhousetraces]
9696 metrics :
97- receivers : [otlp, hostmetrics]
98- processors : [batch]
99- exporters : [signozclickhousemetrics,otlp ]
97+ receivers : [otlp,hostmetrics]
98+ processors : [resourcedetection, batch]
99+ exporters : [signozclickhousemetrics]
100100 metrics/prometheus :
101101 receivers : [prometheus]
102102 processors : [batch]
You can’t perform that action at this time.
0 commit comments