Skip to content

Commit 571e71c

Browse files
committed
use chip ingress witout otel
1 parent 2c2fd91 commit 571e71c

File tree

1 file changed

+7
-11
lines changed

1 file changed

+7
-11
lines changed

framework/components/chip_ingress_set/docker-compose.yml

Lines changed: 7 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1+
# copied from https://github.com/smartcontractkit/atlas/blob/master/chip-ingress/docker-compose.yml
12
services:
23

34
chip-ingress:
45
image: chip-ingress:latest
56
container_name: chip-ingress
67
depends_on:
78
- redpanda-0
8-
- otel-lgtm
99
restart: on-failure
1010
tty: true
1111
command: ["write-service"]
@@ -15,7 +15,9 @@ services:
1515
SERVER_METRICS_PORT: "9090"
1616
SERVER_HEALTHCHECKS_PORT: "9091"
1717
SERVER_METRICS_IMPLEMENTATION: "otel"
18-
SERVER_METRICS_OTEL_EXPORTER_GRPC_ENDPOINT: ${SERVER_METRICS_OTEL_EXPORTER_GRPC_ENDPOINT:-otel-lgtm:4317}
18+
# this has been modified from the original docker-compose.yml to use localhost:4317 as we don't have otel-lgtm service in this stack
19+
# but we have our own observability stack, which is accessible via localhost (after starting it with ctf obs u)
20+
SERVER_METRICS_OTEL_EXPORTER_GRPC_ENDPOINT: ${SERVER_METRICS_OTEL_EXPORTER_GRPC_ENDPOINT:-localhost:4317}
1921
KAFKA_BROKERS: "redpanda-0:9092"
2022
SCHEMA_REGISTRY_URL: "http://redpanda-0:8081"
2123
# this has been modified and default values were removed, somehow we cannot override them in testcontainers-go
@@ -33,8 +35,8 @@ services:
3335
- "9090:9090"
3436
- "9092:9091"
3537
healthcheck:
38+
# this has been modified from the original docker-compose.yml to use grpc_health_probe
3639
test: [ "CMD", "grpc_health_probe", "-addr=localhost:50051" ]
37-
# test: [ "CMD-SHELL", "sleep 1"]
3840
interval: 200ms
3941
timeout: 10s
4042
retries: 10
@@ -96,11 +98,5 @@ services:
9698
depends_on:
9799
- redpanda-0
98100

99-
otel-lgtm:
100-
image: grafana/otel-lgtm
101-
ports:
102-
- "3000:3000"
103-
- "4317:4317"
104-
- "4318:4318"
105-
- "3100:3100"
106-
101+
# removed otel-lgtm service as it's not needed for the stack to work
102+
# and we have our own observability stack

0 commit comments

Comments
 (0)