1d52d88e42
* Otel 1.0.0-rc.4 updates * Unused module attribute * Missed oban test |
||
---|---|---|
.. | ||
config | ||
lib | ||
test | ||
.dockerignore | ||
.formatter.exs | ||
.gitignore | ||
Dockerfile | ||
README.md | ||
docker-compose.yml | ||
mix.exs | ||
mix.lock | ||
otel-collector-config.yaml |
README.md
Basic Elixir Example
This is a sample repository that demo how to setup a basic Elixir application
with opentelemetry-api
and opentelemetry_exporter
. Here, we are using
opentelemetry_exporter
to export the traces to OpenTelemetry Collector.
The collector in turn export the traces to Zipkin and Jaeger
respectively.
Getting Stated
Assuming you already have Docker and Docker Compose installed:
- Run
docker-compose up
to start the application, OpenTelemetry Collector, Zipkin and Jaeger. - Visit Zipkin at http://localhost:9411 and hit
Run Query
to look the the sample trace. - Visit Jaeger UI at http://localhost:16686 and click
Find Trace
to look at the sample trace.