mirror of
https://github.com/temporalio/temporal.git
synced 2026-08-30 18:41:49 -07:00
## What changed? <!-- Describe what has changed in this PR --> Added Grafana Tempo - an OTEL collector - to the developer setup. Since we're already using Grafana, Tempo seemed like a logical choice. ## Why? <!-- Tell your future self why have you made these changes --> It allows developers to see all the RPC calls they are making (e.g. when running the server locally or a functional test). Tempo allows filtering by workflow ID. _(note that not _all_ places are tagged yet, but lots of them)_ ## How did you test it? <!-- How have you verified this change? Tested locally? Added a unit test? Checked in staging env? --> ``` make start-grafana-tempo make OTEL=true start ``` ``` tctl --ns default namespace register tctl wf start --tq test --wid test -wt test ``` <img width="3352" alt="image" src="https://github.com/user-attachments/assets/5809691a-da32-4a04-8e80-700f8acd47e5" /> And running a functional test from the IDE: <img width="3346" alt="image" src="https://github.com/user-attachments/assets/061bfaf3-0a34-4b4e-a06c-497dfa3a948a" /> ## Potential risks <!-- Assuming the worst case, what can be broken when deploying this change to production? --> ## Documentation <!-- Have you made sure this change doesn't falsify anything currently stated in `docs/`? If significant new behavior is added, have you described that in `docs/`? --> Updated docs/development/tracing.md ## Is hotfix candidate? <!-- Is this PR a hotfix candidate or does it require a notification to be sent to the broader community? (Yes/No) -->
30 lines
586 B
YAML
30 lines
586 B
YAML
# Overrides for Mac/Darwin users.
|
|
services:
|
|
prometheus:
|
|
volumes:
|
|
- ./prometheus-darwin:/etc/prometheus
|
|
ports:
|
|
- "9090:9090"
|
|
networks:
|
|
- temporal-dev-network
|
|
grafana:
|
|
ports:
|
|
- "3000:3000"
|
|
networks:
|
|
- temporal-dev-network
|
|
tempo:
|
|
depends_on:
|
|
- grafana
|
|
ports:
|
|
- "3200:3200" # tempo
|
|
- "4317:4317" # otlp grpc
|
|
networks:
|
|
- temporal-dev-network
|
|
temporal-ui:
|
|
environment:
|
|
- TEMPORAL_ADDRESS=host.docker.internal:7233
|
|
ports:
|
|
- "8080:8080"
|
|
networks:
|
|
- temporal-dev-network
|