From 8407ad98bd43328a8a50dd4d2b61742487087e58 Mon Sep 17 00:00:00 2001 From: Bryan Naegele Date: Fri, 1 Dec 2023 13:48:32 -0700 Subject: [PATCH] Update to opentelemetry_api 1.2 (#232) Co-authored-by: Tristan Sloughter --- .../opentelemetry_grpcbox/rebar.config | 4 ++-- .../opentelemetry_grpcbox/rebar.lock | 18 +++++++++--------- .../src/opentelemetry_grpcbox.app.src | 2 +- 3 files changed, 12 insertions(+), 12 deletions(-) diff --git a/instrumentation/opentelemetry_grpcbox/rebar.config b/instrumentation/opentelemetry_grpcbox/rebar.config index 3e0e171..97960e3 100644 --- a/instrumentation/opentelemetry_grpcbox/rebar.config +++ b/instrumentation/opentelemetry_grpcbox/rebar.config @@ -1,7 +1,7 @@ {erl_opts, [debug_info]}. {deps, [grpcbox, - {opentelemetry_api, "~> 1.0"}, + {opentelemetry_api, "~> 1.2"}, {opentelemetry_semantic_conventions, "~> 0.2.0"}]}. {project_plugins, [{rebar_covertool, "1.1.0"}, @@ -16,7 +16,7 @@ {descriptor, true}, {module_name_suffix, "_pb"}]}]}, - {deps, [{opentelemetry, "~> 1.0"}, + {deps, [{opentelemetry, "~> 1.3"}, {opentelemetry_semantic_conventions, "~> 0.2.0"}, jsx]}]}]}. diff --git a/instrumentation/opentelemetry_grpcbox/rebar.lock b/instrumentation/opentelemetry_grpcbox/rebar.lock index d5d7f73..14e3696 100644 --- a/instrumentation/opentelemetry_grpcbox/rebar.lock +++ b/instrumentation/opentelemetry_grpcbox/rebar.lock @@ -1,31 +1,31 @@ {"1.2.0", [{<<"acceptor_pool">>,{pkg,<<"acceptor_pool">>,<<"1.0.0">>},1}, - {<<"chatterbox">>,{pkg,<<"ts_chatterbox">>,<<"0.11.0">>},1}, + {<<"chatterbox">>,{pkg,<<"ts_chatterbox">>,<<"0.13.0">>},1}, {<<"ctx">>,{pkg,<<"ctx">>,<<"0.6.0">>},1}, {<<"gproc">>,{pkg,<<"gproc">>,<<"0.8.0">>},1}, - {<<"grpcbox">>,{pkg,<<"grpcbox">>,<<"0.14.0">>},0}, + {<<"grpcbox">>,{pkg,<<"grpcbox">>,<<"0.16.0">>},0}, {<<"hpack">>,{pkg,<<"hpack_erl">>,<<"0.2.3">>},2}, - {<<"opentelemetry_api">>,{pkg,<<"opentelemetry_api">>,<<"1.0.2">>},0}, + {<<"opentelemetry_api">>,{pkg,<<"opentelemetry_api">>,<<"1.2.2">>},0}, {<<"opentelemetry_semantic_conventions">>, {pkg,<<"opentelemetry_semantic_conventions">>,<<"0.2.0">>}, 0}]}. [ {pkg_hash,[ {<<"acceptor_pool">>, <<"43C20D2ACAE35F0C2BCD64F9D2BDE267E459F0F3FD23DAB26485BF518C281B21">>}, - {<<"chatterbox">>, <<"B8F372C706023EB0DE5BF2976764EDB27C70FE67052C88C1F6A66B3A5626847F">>}, + {<<"chatterbox">>, <<"6F059D97BCAA758B8EA6FFFE2B3B81362BD06B639D3EA2BB088335511D691EBF">>}, {<<"ctx">>, <<"8FF88B70E6400C4DF90142E7F130625B82086077A45364A78D208ED3ED53C7FE">>}, {<<"gproc">>, <<"CEA02C578589C61E5341FCE149EA36CCEF236CC2ECAC8691FBA408E7EA77EC2F">>}, - {<<"grpcbox">>, <<"3EB321BCD2275BAF8B54CF381FEB7B0559A50C02544DE28FDA039C7F2F9D1A7A">>}, + {<<"grpcbox">>, <<"B83F37C62D6EECA347B77F9B1EC7E9F62231690CDFEB3A31BE07CD4002BA9C82">>}, {<<"hpack">>, <<"17670F83FF984AE6CD74B1C456EDDE906D27FF013740EE4D9EFAA4F1BF999633">>}, - {<<"opentelemetry_api">>, <<"91353EE40583B1D4F07D7B13ED62642ABFEC6AAA0D8A2114F07EDAFB2DF781C5">>}, + {<<"opentelemetry_api">>, <<"693F47B0D8C76DA2095FE858204CFD6350C27FE85D00E4B763DEECC9588CF27A">>}, {<<"opentelemetry_semantic_conventions">>, <<"B67FE459C2938FCAB341CB0951C44860C62347C005ACE1B50F8402576F241435">>}]}, {pkg_hash_ext,[ {<<"acceptor_pool">>, <<"0CBCD83FDC8B9AD2EEE2067EF8B91A14858A5883CB7CD800E6FCD5803E158788">>}, - {<<"chatterbox">>, <<"722FE2BAD52913AB7E87D849FC6370375F0C961FFB2F0B5E6D647C9170C382A6">>}, + {<<"chatterbox">>, <<"B93D19104D86AF0B3F2566C4CBA2A57D2E06D103728246BA1AC6C3C0FF010AA7">>}, {<<"ctx">>, <<"A14ED2D1B67723DBEBBE423B28D7615EB0BDCBA6FF28F2D1F1B0A7E1D4AA5FC2">>}, {<<"gproc">>, <<"580ADAFA56463B75263EF5A5DF4C86AF321F68694E7786CB057FD805D1E2A7DE">>}, - {<<"grpcbox">>, <<"E24159B7B6D3F9869BBE528845C0125FED2259366BA908FD04A1F45FE81D0660">>}, + {<<"grpcbox">>, <<"294DF743AE20A7E030889F00644001370A4F7CE0121F3BBDAF13CF3169C62913">>}, {<<"hpack">>, <<"06F580167C4B8B8A6429040DF36CC93BBA6D571FAEAEC1B28816523379CBB23A">>}, - {<<"opentelemetry_api">>, <<"2A8247F85C44216B883900067478D59955D11E58E5CFCA7C884CD4F203ACE3AC">>}, + {<<"opentelemetry_api">>, <<"DC77B9A00F137A858E60A852F14007BB66EDA1FFBEB6C05D5FE6C9E678B05E9D">>}, {<<"opentelemetry_semantic_conventions">>, <<"D61FA1F5639EE8668D74B527E6806E0503EFC55A42DB7B5F39939D84C07D6895">>}]} ]. diff --git a/instrumentation/opentelemetry_grpcbox/src/opentelemetry_grpcbox.app.src b/instrumentation/opentelemetry_grpcbox/src/opentelemetry_grpcbox.app.src index b79f63d..b2475b6 100644 --- a/instrumentation/opentelemetry_grpcbox/src/opentelemetry_grpcbox.app.src +++ b/instrumentation/opentelemetry_grpcbox/src/opentelemetry_grpcbox.app.src @@ -1,6 +1,6 @@ {application, opentelemetry_grpcbox, [{description, "grpcbox interceptor for OpenTelemetry instrumentation"}, - {vsn, "0.2.0"}, + {vsn, "0.3.0"}, {registered, []}, {applications, [kernel,