diff --git a/.github/workflows/w3c_interop.yml b/.github/workflows/w3c_interop.yml index 1e8c1989..85e77a7f 100644 --- a/.github/workflows/w3c_interop.yml +++ b/.github/workflows/w3c_interop.yml @@ -32,8 +32,9 @@ jobs: run: rebar3 as interop compile - uses: actions/checkout@v2 - repository: 'https://github.com/w3c/trace-context' - path: 'trace-context' + with: + repository: 'w3c/trace-context' + path: 'trace-context' - name: Setup python uses: actions/setup-python@v2 with: @@ -41,8 +42,10 @@ jobs: architecture: x64 - run: pip install aiohttp - run: | - erl -noinput -pa ./_build/interop/extras/interop/ $(rebar3 as interop path) -s w3c_trace_context_interop & + rebar3 as interop compile + erl -noinput -pa ./_build/interop/extras/interop/ $(rebar3 as interop path) -s w3c_trace_context_interop & + sleep 1 cd trace-context/test - python3 test.py http://127.0.0.1:5000/test + STRICT_LEVEL=1 python3 test.py http://127.0.0.1:5000/test shell: bash diff --git a/README.md b/README.md index 71b7e4a3..fc1bbdea 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,12 @@ -OpenTelemetry +OpenTelemetry Erlang/Elixir ===== -[![EEF Observability WG project](https://img.shields.io/badge/EEF-Observability-black)](https://github.com/erlef/eef-observability-wg) -![Build Status](https://github.com/open-telemetry/opentelemetry-erlang/workflows/Common%20Test/badge.svg) +[![Hex.pm](https://img.shields.io/hexpm/v/opentelemetry_api?label=API&style=for-the-badge)](https://hex.pm/packages/opentelemetry_api) +[![Hex.pm](https://img.shields.io/hexpm/v/opentelemetry?label=SDK&style=for-the-badge)](https://hex.pm/packages/opentelemetry) +[![Hex.pm](https://img.shields.io/hexpm/v/opentelemetry_exporter?label=OTLP%20Exporter&style=for-the-badge)](https://hex.pm/packages/opentelemetry_exporter) +[![EEF Observability WG +project](https://img.shields.io/badge/EEF-Observability-black?style=for-the-badge)](https://github.com/erlef/eef-observability-wg) +[![GitHub Workflow Status](https://img.shields.io/github/workflow/status/open-telemetry/opentelemetry-erlang/Erlang?style=for-the-badge)](https://github.com/open-telemetry/opentelemetry-erlang/actions) [OpenTelemetry](https://opentelemetry.io/) distributed tracing framework for Erlang and Elixir. @@ -15,11 +19,11 @@ for a list of features supported. ## Requirements -- OTP 21.3+ +- Erlang/OTP 22+ If using the Elixir API: -- Elixir 1.8+ +- Elixir 1.11+ ## Contacting Us @@ -151,7 +155,7 @@ Start the interop web server in a shell: ``` shell $ rebar3 as interop shell -> w3c_trace_context_interop:run(). +> w3c_trace_context_interop:start(). ``` Then, clone the [W3C Trace Context repo](https://github.com/w3c/trace-context) and run the tests: