bcf5f600d5
* add roll dice example in Erlang with Elli * cleanup index page template formatting * fix index/1 type spec * remove index.js which gets compiled by npm * roll dice: use 127.0.0.1 for node name to work for everyone |
||
---|---|---|
.. | ||
config | ||
js | ||
priv/static | ||
src | ||
.gitignore | ||
LICENSE | ||
README.md | ||
docker-compose.yml | ||
otel-collector-config.yaml | ||
package-lock.json | ||
package.json | ||
rebar.config | ||
rebar.lock |
README.md
roll_dice
Run the project:
$ OTEL_EXPORTER_OTLP_PROTOCOL=grpc OTEL_EXPORTER_OTLP_ENDPOINT=http://localhost:4317 rebar3 shell
Roll a die:
$ curl localhost:3000/rolldice
4
Or go to localhost:3000
in a browser to roll.