Skip to content

Commit

Permalink
feat(process-compose): add OTLP collector
Browse files Browse the repository at this point in the history
In the telemetry overlay for suzuka-full-node, add
an OTLP collector start job running a docker container.
  • Loading branch information
mzabaluev committed Oct 10, 2024
1 parent ea57348 commit 72a369b
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions process-compose/suzuka-full-node/process-compose.telemetry.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,22 @@ version: "3"
environment:

processes:
otlp-collector:
is_daemon: true
command: |
docker run -d --name suzuka-otlp-collector -p16686:16686 -p4317:4317 -e COLLECTOR_OTLP_ENABLED=true jaegertracing/all-in-one:latest
shutdown:
command: |
docker stop suzuka-otlp-collector
suzuka-full-node:
depends_on:
otlp-collector:
condition: process_started
env:
MOVEMENT_OTLP: http://localhost:4317
m1-da-light-node:
depends_on:
otlp-collector:
condition: process_started
env:
MOVEMENT_OTLP: http://localhost:4317

0 comments on commit 72a369b

Please sign in to comment.