Skip to content

Commit 8d8fd9b

Browse files
committed
Go again
1 parent 9216091 commit 8d8fd9b

File tree

2 files changed

+11
-5
lines changed

2 files changed

+11
-5
lines changed

signoz/deploy/docker/docker-compose.yaml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@ version: "3"
22
x-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

signoz/deploy/docker/otel-collector-config.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ receivers:
2727
network:
2828
paging:
2929
processes:
30-
30+
3131
processors:
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]

0 commit comments

Comments
 (0)