Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

additional badges, fix w3c interop CI and correct the requirements #343

Merged
merged 3 commits into from
Jan 4, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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+
bryannaegele marked this conversation as resolved.
Show resolved Hide resolved

## 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