[#13] dev-env: Add tracing support
Add Jaeger service as tracing collector. Signed-off-by: Dmitrii Stepanov <d.stepanov@yadro.com>
This commit is contained in:
parent
37507199e2
commit
93435bfb63
7 changed files with 37 additions and 0 deletions
|
@ -2,3 +2,4 @@
|
|||
# Will start from top to bottom and stop in reverse
|
||||
basenet
|
||||
morph_chain
|
||||
jaeger
|
||||
|
|
4
.env
4
.env
|
@ -52,3 +52,7 @@ FROSTFS_ADM_URL=https://http.t5.fs.neo.org/AQgse8bPCZx4zScMuAKxowJdZPbKHp8NDcp15
|
|||
FROSTFS_CONTRACTS_VERSION=4f3c08f5
|
||||
FROSTFS_CONTRACTS_URL=https://http.t5.fs.neo.org/AQgse8bPCZx4zScMuAKxowJdZPbKHp8NDcp15o6VUNmk/c1nGtturFrSeygYP3AyNHDDLNbs7HhJiH2BQkgZxEmZ
|
||||
#FROSTFS_CONTRACTS_PATH=/path/to/unpacked/frostfs-contracts-dir
|
||||
|
||||
# Jaeger tracing
|
||||
JAEGER_VERSION=1.42.0
|
||||
JAEGER_IMAGE=jaegertracing/all-in-one
|
1
services/jaeger/.env
Symbolic link
1
services/jaeger/.env
Symbolic link
|
@ -0,0 +1 @@
|
|||
../../.env
|
1
services/jaeger/.hosts
Normal file
1
services/jaeger/.hosts
Normal file
|
@ -0,0 +1 @@
|
|||
IPV4_PREFIX.120 jaeger.LOCAL_DOMAIN
|
1
services/jaeger/.int_test.env
Symbolic link
1
services/jaeger/.int_test.env
Symbolic link
|
@ -0,0 +1 @@
|
|||
../../.int_test.env
|
0
services/jaeger/.jaeger.env
Normal file
0
services/jaeger/.jaeger.env
Normal file
29
services/jaeger/docker-compose.yml
Normal file
29
services/jaeger/docker-compose.yml
Normal file
|
@ -0,0 +1,29 @@
|
|||
version: '2.4'
|
||||
services:
|
||||
jaeger:
|
||||
image: ${JAEGER_IMAGE}:${JAEGER_VERSION}
|
||||
domainname: ${LOCAL_DOMAIN}
|
||||
hostname: jaeger
|
||||
container_name: jaeger
|
||||
restart: on-failure
|
||||
networks:
|
||||
jaeger_int:
|
||||
internet:
|
||||
ipv4_address: ${IPV4_PREFIX}.120
|
||||
volumes:
|
||||
- ./../../vendor/hosts:/etc/hosts
|
||||
ports:
|
||||
- '4317:4317' #OTLP over gRPC
|
||||
- '4318:4318' #OTLP over HTTP
|
||||
- '16686:16686' #frontend
|
||||
stop_signal: SIGKILL
|
||||
env_file: [ ".env", ".jaeger.env", ".int_test.env" ]
|
||||
environment:
|
||||
- COLLECTOR_OTLP_ENABLED=true
|
||||
- MEMORY_MAX_TRACES=100000
|
||||
|
||||
networks:
|
||||
jaeger_int:
|
||||
internet:
|
||||
external: true
|
||||
name: basenet_internet
|
Loading…
Reference in a new issue