Files
tasks/develop/github/docker-compose.yml
T
Stephan BehnkeandGitHub 153f045a06 Export OTEL by test suite (#7941)
## What changed?

Redo of https://github.com/temporalio/temporal/pull/7871.

(1) Instead of collecting OTEL trace across all suites, it tracks it per
suite and only exports traces on failure.
(2) It annotates the test's RPCs with the test name.

## Why?

(1) More efficient.
(2) Allows filtering traces by test name.

## How did you test it?
- [ ] built
- [ ] run locally and tested manually
- [x] covered by existing tests
- [ ] added new unit test(s)
- [ ] added new functional test(s)

Example run with artifacts:
https://github.com/temporalio/temporal/actions/runs/15786189984?pr=7941

<img width="1100" alt="Screenshot 2025-06-20 at 12 37 20 PM"
src="https://github.com/user-attachments/assets/d46668e3-4766-4689-8ebf-b9df4ef9e569"
/>
2025-06-23 15:22:34 -07:00

54 lines
1.4 KiB
YAML

services:
cassandra:
image: cassandra:3.11
ports:
- "9042:9042"
environment:
CASSANDRA_LISTEN_ADDRESS: 127.0.0.1
MAX_HEAP_SIZE: "2G"
HEAP_NEWSIZE: "200M"
mysql:
image: mysql:8.0.29-oracle
ports:
- "3306:3306"
environment:
MYSQL_ROOT_PASSWORD: root
volumes:
- ./mysql-init:/docker-entrypoint-initdb.d
postgresql:
image: postgres:13.5
ports:
- "5432:5432"
environment:
POSTGRES_USER: temporal
POSTGRES_PASSWORD: temporal
volumes:
- ./postgresql-init:/docker-entrypoint-initdb.d
elasticsearch:
image: elasticsearch:7.10.1
ports:
- "9200:9200"
environment:
- cluster.routing.allocation.disk.threshold_enabled=true
- cluster.routing.allocation.disk.watermark.low=512mb
- cluster.routing.allocation.disk.watermark.high=256mb
- cluster.routing.allocation.disk.watermark.flood_stage=128mb
- discovery.type=single-node
- ES_JAVA_OPTS=-Xms1g -Xmx1g
elasticsearch8:
image: elasticsearch:8.0.0
ports:
- "9200:9200"
environment:
- cluster.routing.allocation.disk.threshold_enabled=true
- cluster.routing.allocation.disk.watermark.low=512mb
- cluster.routing.allocation.disk.watermark.high=256mb
- cluster.routing.allocation.disk.watermark.flood_stage=128mb
- discovery.type=single-node
- xpack.security.enabled=false
- ES_JAVA_OPTS=-Xms1g -Xmx1g