Marc Delagrammatikas c7edb8a48c
Dice game example (#173)
* generate a phoenix API only project

* adds /api/rolldice endpoint and opentelemetry configuration

* change span attribute name to match implementations in other langs

---------

Co-authored-by: Tristan Sloughter <t@crashfast.com>
2023-10-27 13:23:07 -06:00

24 lines
536 B
YAML

version: "3"
services:
otel:
image: otel/opentelemetry-collector-contrib:0.76.1
command: ["--config=/conf/otel-collector-config.yaml"]
privileged: true
ports:
- 4317:4317
- 4318:4318
- 55679:55679
volumes:
- ./otel-collector-config.yaml:/conf/otel-collector-config.yaml
links:
- jaeger-all-in-one
jaeger-all-in-one:
image: jaegertracing/all-in-one:1.45
restart: always
environment:
COLLECTOR_OTLP_ENABLED: true
ports:
- "16686:16686"
- "4317"