bundle install
export DATADOG_API_KEY=foo
In one terminal:
erb config.yml.erb > config.yml && otel-collector --config config.yml
# or with docker
erb config.yml.erb > config.yml && docker-compose up
In another terminal:
# for jaeger
bundle exec ruby script.rb
# for otlp
OTLP=true bundle exec ruby script.rb