Skip to content

Replaced jaeger with tempo and OTLP #132

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 4 additions & 6 deletions .env.sample.holesky
Original file line number Diff line number Diff line change
Expand Up @@ -186,12 +186,10 @@ LIDODVEXIT_EXIT_EPOCH=256
# See available tags https://hub.docker.com/r/bitnami/node-exporter/tags.
#NODE_EXPORTER_VERSION=

# Jaeger docker container image version, e.g. `latest` or `1.42.0`.
# See available tags https://hub.docker.com/r/jaegertracing/all-in-one/tags.
#JAEGER_VERSION=

# Jaeger host exposed port for HTTP query.
#MONITORING_PORT_JAEGER=
# Grafana Tempo docker container image version, e.g. `latest` or `2.7.1`.
# Use Grafana Explore to access Tempo data.
# See available tags https://hub.docker.com/r/grafana/tempo/tags.
#TEMPO_VERSION=

# Grafana Loki docker container image version, e.g. `latest` or `2.8.2`.
# See available tags https://hub.docker.com/r/grafana/loki/tags.
Expand Down
10 changes: 4 additions & 6 deletions .env.sample.hoodi
Original file line number Diff line number Diff line change
Expand Up @@ -186,12 +186,10 @@ LIDODVEXIT_EXIT_EPOCH=256
# See available tags https://hub.docker.com/r/bitnami/node-exporter/tags.
#NODE_EXPORTER_VERSION=

# Jaeger docker container image version, e.g. `latest` or `1.42.0`.
# See available tags https://hub.docker.com/r/jaegertracing/all-in-one/tags.
#JAEGER_VERSION=

# Jaeger host exposed port for HTTP query.
#MONITORING_PORT_JAEGER=
# Grafana Tempo docker container image version, e.g. `latest` or `2.7.1`.
# Use Grafana Explore to access Tempo data.
# See available tags https://hub.docker.com/r/grafana/tempo/tags.
#TEMPO_VERSION=

# Grafana Loki docker container image version, e.g. `latest` or `2.8.2`.
# See available tags https://hub.docker.com/r/grafana/loki/tags.
Expand Down
10 changes: 4 additions & 6 deletions .env.sample.mainnet
Original file line number Diff line number Diff line change
Expand Up @@ -135,12 +135,10 @@ MEVBOOST_RELAYS=https://0xa15b52576bcbf1072f4a011c0f99f9fb6c66f3e1ff321f11f461d1
# See available tags https://hub.docker.com/r/bitnami/node-exporter/tags.
#NODE_EXPORTER_VERSION=

# Jaeger docker container image version, e.g. `latest` or `1.42.0`.
# See available tags https://hub.docker.com/r/jaegertracing/all-in-one/tags.
#JAEGER_VERSION=

# Jaeger host exposed port for HTTP query.
#MONITORING_PORT_JAEGER=
# Grafana Tempo docker container image version, e.g. `latest` or `2.7.1`.
# Use Grafana Explore to access Tempo data.
# See available tags https://hub.docker.com/r/grafana/tempo/tags.
#TEMPO_VERSION=

# Grafana Loki docker container image version, e.g. `latest` or `2.8.2`.
# See available tags https://hub.docker.com/r/grafana/loki/tags.
Expand Down
22 changes: 9 additions & 13 deletions compose-debug.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,18 +23,14 @@ services:
node-exporter:
image: bitnami/node-exporter:${NODE_EXPORTER_VERSION:-1.6.0}

jaeger:
image: jaegertracing/all-in-one:${JAEGER_VERSION:-1.46.0}
ports:
- ${MONITORING_PORT_JAEGER:-16686}:16686
environment:
- SPAN_STORAGE_TYPE=badger
- BADGER_EPHEMERAL=false
- BADGER_DIRECTORY_VALUE=/badger/data
- BADGER_DIRECTORY_KEY=/badger/key
- BADGER_SPAN_STORE_TTL=72h
tempo:
image: grafana/tempo:${TEMPO_VERSION:-2.7.1}
user: ":"
command: -config.file=/etc/tempo/tempo.yaml
volumes:
- ./data/jaeger:/badger
- ./tempo:/etc/tempo
- ./data/tempo:/opt/tempo
restart: unless-stopped

loki:
image: grafana/loki:${LOKI_VERSION:-2.8.2}
Expand All @@ -47,8 +43,8 @@ services:

charon:
environment:
- CHARON_JAEGER_ADDRESS=jaeger:6831 # jaeger UDP agent
- CHARON_JAEGER_SERVICE=charon
- CHARON_OTLP_ADDRESS=tempo:4317
- CHARON_OTLP_SERVICE_NAME=charon
- CHARON_LOKI_ADDRESSES=${CHARON_LOKI_ADDRESSES:-http://loki:3100/loki/api/v1/push}
- CHARON_LOKI_SERVICE=charon

Expand Down
10 changes: 10 additions & 0 deletions grafana/datasource.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,14 @@ datasources:
basicAuth: false
isDefault: false
version: 1
editable: true

- name: Tempo
type: tempo
uid: tempo
orgId: 1
url: http://tempo:3200
basicAuth: false
isDefault: false
version: 1
editable: true
25 changes: 25 additions & 0 deletions tempo/tempo.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
server:
http_listen_port: 3200
grpc_listen_port: 9095

distributor:
receivers:
otlp:
protocols:
grpc:
endpoint: 0.0.0.0:4317

ingester:
trace_idle_period: 10s
max_block_bytes: 1_048_576
max_block_duration: 5m

compactor:
compaction:
block_retention: 24h

storage:
trace:
backend: local
local:
path: /opt/tempo/traces