Skip to content

Commit

Permalink
Merge pull request #343 from tsloughter/badges-w3c
Browse files Browse the repository at this point in the history
additional badges, fix w3c interop CI and correct the requirements
  • Loading branch information
tsloughter authored Jan 4, 2022
2 parents f12732d + 9b59e3c commit 4d031fd
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 10 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/w3c_interop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,17 +32,20 @@ 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:
python-version: 3.6
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
16 changes: 10 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -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.
Expand All @@ -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

Expand Down Expand Up @@ -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:
Expand Down

0 comments on commit 4d031fd

Please sign in to comment.