fix(dev): broken traces with latest OTEL libraries

OTEL changed the Trace HTTP API, which broke the integration with tempo.

In the referenced nightly build of tempo, the new api is implemented.

This should be replaced by an actual tempo release, once a new one is available.
This commit is contained in:
Julian Tölle 2022-09-28 10:11:37 +02:00
parent d7856d32e5
commit 515c80a6e3

View file

@ -34,7 +34,7 @@ services:
APP_URL: "http://localhost:3000"
NODE_ENV: local # pretty logs
OTEL_EXPORTER_OTLP_ENDPOINT: http://tempo:4318/v1/traces
OTEL_EXPORTER_OTLP_ENDPOINT: http://tempo:4318
env_file: .env
volumes:
- ./src:/app/src
@ -110,7 +110,7 @@ services:
APP_URL: "http://localhost:3000"
NODE_ENV: local # pretty logs
OTEL_EXPORTER_OTLP_ENDPOINT: http://tempo:4318/v1/traces
OTEL_EXPORTER_OTLP_ENDPOINT: http://tempo:4318
env_file: .env
volumes:
- ./src:/app/src
@ -173,7 +173,7 @@ services:
tempo:
profiles: ["observability"]
image: grafana/tempo:1.5.0
image: grafana/tempo:main-53d34ee-amd64
command: ["-config.file=/etc/tempo.yaml"]
volumes:
- ./observability/tempo/tempo.yaml:/etc/tempo.yaml