diff --git a/.github/workflows/erlang.yml b/.github/workflows/erlang.yml index 731cce18..0ded82bc 100644 --- a/.github/workflows/erlang.yml +++ b/.github/workflows/erlang.yml @@ -20,7 +20,7 @@ jobs: runs-on: ${{ matrix.os }} strategy: matrix: - otp_version: ["26.1.2", "25.3.2.7", "24.3.4.14"] + otp_version: ["27.1", "26.1.2", "25.3.2.7", "24.3.4.14"] rebar3_version: ["3.22.1"] os: [ubuntu-20.04] include: diff --git a/CHANGELOG.md b/CHANGELOG.md index f916db1d..0d6f0b22 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,7 +7,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] -## Exporter +## Exporter 1.8.0 - 2024-10-05 ### Fixes @@ -18,6 +18,20 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 adding to the attributes](https://github.com/open-telemetry/opentelemetry-erlang/pull/737) +## API 1.4.0 - 2024-10-05 + +### Changes + +- [Hard code semconv 0.2 values](https://github.com/open-telemetry/opentelemetry-erlang/pull/780) + +## SDK 1.5.0 - 2024-10-05 + +### Changes + +- [Fix invalid warning log causing FORMATTER + CRASH](https://github.com/open-telemetry/opentelemetry-erlang/pull/774) +- [Hard code semconv 0.2 values](https://github.com/open-telemetry/opentelemetry-erlang/pull/780) + ## API 1.3.1 - 2024-09-03 ### Fixes diff --git a/apps/opentelemetry/src/opentelemetry.app.src b/apps/opentelemetry/src/opentelemetry.app.src index 7841e49a..242306dc 100644 --- a/apps/opentelemetry/src/opentelemetry.app.src +++ b/apps/opentelemetry/src/opentelemetry.app.src @@ -1,6 +1,6 @@ {application, opentelemetry, [{description, "Implementation of stable OpenTelemetry signals"}, - {vsn, "1.4.1"}, + {vsn, "1.5.0"}, {registered, [ %% global tracer provider supervisor for use by the API otel_tracer_provider_sup diff --git a/apps/opentelemetry/src/otel_exporter_traces.erl b/apps/opentelemetry/src/otel_exporter_traces.erl index cfdf40d4..c74a5a28 100644 --- a/apps/opentelemetry/src/otel_exporter_traces.erl +++ b/apps/opentelemetry/src/otel_exporter_traces.erl @@ -38,8 +38,8 @@ init(Opts) -> otel_exporter:init(Opts). -export({ExporterModule, Config}, Metrics, Resource) -> - ExporterModule:export(Metrics, Resource, Config). +export({ExporterModule, Config}, SpansTid, Resource) -> + ExporterModule:export(SpansTid, Resource, Config). shutdown(Exporter) -> otel_exporter:shutdown(Exporter). diff --git a/apps/opentelemetry/test/opentelemetry_SUITE.erl b/apps/opentelemetry/test/opentelemetry_SUITE.erl index cb527585..5a7deb95 100644 --- a/apps/opentelemetry/test/opentelemetry_SUITE.erl +++ b/apps/opentelemetry/test/opentelemetry_SUITE.erl @@ -679,6 +679,9 @@ multiple_tracer_providers(_Config) -> receive {span, Span} -> ?assertEqual(<<"span-1">>, Span#span.name) + after + 1000 -> + ct:fail(failed) end, %% now a span with the tracer from the non-global tracer provider diff --git a/apps/opentelemetry_api/src/opentelemetry_api.app.src b/apps/opentelemetry_api/src/opentelemetry_api.app.src index c9c61202..a6f5080f 100644 --- a/apps/opentelemetry_api/src/opentelemetry_api.app.src +++ b/apps/opentelemetry_api/src/opentelemetry_api.app.src @@ -1,6 +1,6 @@ {application, opentelemetry_api, [{description, "OpenTelemetry API"}, - {vsn, "1.3.2"}, + {vsn, "1.4.0"}, {registered, []}, {applications, [kernel, diff --git a/apps/opentelemetry_exporter/rebar.config b/apps/opentelemetry_exporter/rebar.config index 5f5a820d..df842aa3 100644 --- a/apps/opentelemetry_exporter/rebar.config +++ b/apps/opentelemetry_exporter/rebar.config @@ -1,8 +1,8 @@ {erl_opts, [debug_info]}. {deps, [{grpcbox, ">= 0.0.0"}, {tls_certificate_check, "~> 1.18"}, - {opentelemetry, "~> 1.4.0"}, - {opentelemetry_api, "~> 1.3.0"}]}. + {opentelemetry, "~> 1.5.0"}, + {opentelemetry_api, "~> 1.4.0"}]}. {grpc, [{protos, ["opentelemetry-proto/opentelemetry/proto/collector/trace/v1", "opentelemetry-proto/opentelemetry/proto/collector/metrics/v1", diff --git a/apps/opentelemetry_exporter/src/opentelemetry_exporter.app.src b/apps/opentelemetry_exporter/src/opentelemetry_exporter.app.src index 898eac63..dc79ed41 100644 --- a/apps/opentelemetry_exporter/src/opentelemetry_exporter.app.src +++ b/apps/opentelemetry_exporter/src/opentelemetry_exporter.app.src @@ -1,6 +1,6 @@ {application, opentelemetry_exporter, [{description, "OpenTelemetry Protocol Exporter"}, - {vsn, "1.7.0"}, + {vsn, "1.8.0"}, {registered, []}, {applications, [kernel, diff --git a/docs.sh b/docs.sh index 54935652..81716862 100755 --- a/docs.sh +++ b/docs.sh @@ -9,11 +9,11 @@ set -e rebar3 compile rebar3 edoc -sdk_version=1.4.1 -api_version=1.3.2 +sdk_version=1.5.0 +api_version=1.4.0 exp_sdk_version=0.5.1 exp_api_version=0.5.1 -otlp_version=1.7.0 +otlp_version=1.8.0 zipkin_version=1.1.0 semconv_version=0.2.0