Skip to content

Commit

Permalink
Add CL monitoring via using jaeger tracing
Browse files Browse the repository at this point in the history
- also update submodules

fixes Inphi#3
  • Loading branch information
Inphi committed Jun 15, 2022
1 parent cb2aaba commit ffdace1
Show file tree
Hide file tree
Showing 4 changed files with 25 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
devnet-up:
docker-compose up -d execution-node beacon-node validator-node
docker-compose up -d execution-node beacon-node validator-node jaeger-tracing

devnet-clean:
docker-compose down
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,4 @@ Everytime you need to test a change in prysm or geth, run `git submodule update
## Running the Devnet
1. (_Optional_) Run `make devnet-clean` to start from a clean slate
2. Run `make devnet-up`
3. Visit http://127.0.0.1:16686 to visualize beacon and validator node traces
22 changes: 22 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ services:
beacon-node:
depends_on:
- execution-node
- jaeger-tracing
build:
context: .
dockerfile: ./Dockerfile.prysm
Expand All @@ -40,6 +41,10 @@ services:
--grpc-gateway-host 0.0.0.0
--grpc-gateway-port 3500
--enable-debug-rpc-endpoints
--enable-tracing
--tracing-endpoint http://jaeger-tracing:14268/api/traces
--tracing-process-name beacon-node
--verbosity debug
ports:
- "3500:3500"
- "4000:4000"
Expand All @@ -50,6 +55,7 @@ services:
validator-node:
depends_on:
- beacon-node
- jaeger-tracing
build:
context: .
dockerfile: ./Dockerfile.prysm
Expand All @@ -62,5 +68,21 @@ services:
--force-clear-db
--chain-config-file=/config/prysm-chain-config.yml
--suggested-fee-recipient 0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b
--enable-tracing
--tracing-endpoint http://jaeger-tracing:14268/api/traces
--tracing-process-name validator-node
volumes:
- ${PWD}/prysm-chain-config.yml:/config/prysm-chain-config.yml

jaeger-tracing:
image: jaegertracing/all-in-one:1.6
environment:
COLLECTOR_ZIPKIN_HTTP_PORT: 9411
ports:
- "5775:5775/udp"
- "6831:6831/udp"
- "6832:6832/udp"
- "5778:5778"
- "16686:16686"
- "14268:14268"
- "9411:9411"
2 changes: 1 addition & 1 deletion prysm

0 comments on commit ffdace1

Please sign in to comment.