Skip to content

Commit ac7d15e

Browse files
authored
Merge pull request #2 from opencensus-beam/up-oc-0.8.0
upgrade opencensus to 0.8.0
2 parents 6dfab1f + 90497c8 commit ac7d15e

3 files changed

Lines changed: 7 additions & 7 deletions

File tree

‎README.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ To use, add `opencensus_zipkin` dependency as a runtime application (in rebar3 t
88

99
``` erlang
1010
{opencensus, [
11-
{reporter, {oc_reporter_zipkin, [{address, "http://localhost:9411/api/v2/spans"},
12-
{local_endpoint, #{<<"serviceName">> => <<"service">>}]}}}
11+
{reporters, [{oc_reporter_zipkin, [{address, "http://localhost:9411/api/v2/spans"},
12+
{local_endpoint, #{<<"serviceName">> => <<"service">>}]}}]}
1313
...]}
1414
```
1515

‎rebar.lock‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,15 @@
22
[{<<"counters">>,{pkg,<<"counters">>,<<"0.2.1">>},1},
33
{<<"ctx">>,{pkg,<<"ctx">>,<<"0.5.0">>},1},
44
{<<"jsx">>,{pkg,<<"jsx">>,<<"2.9.0">>},0},
5-
{<<"opencensus">>,{pkg,<<"opencensus">>,<<"0.7.0">>},0},
5+
{<<"opencensus">>,{pkg,<<"opencensus">>,<<"0.8.0">>},0},
66
{<<"rfc3339">>,{pkg,<<"rfc3339">>,<<"0.9.0">>},2},
77
{<<"wts">>,{pkg,<<"wts">>,<<"0.3.0">>},1}]}.
88
[
99
{pkg_hash,[
1010
{<<"counters">>, <<"AA3D97E88F92573488987193D0F48EFCE0F3B2CD1443BF4EE760BC7F99322F0C">>},
1111
{<<"ctx">>, <<"78E0F16712E12D707A7F34277381B8E193D7C71EAA24D37330DC02477C09EDA5">>},
1212
{<<"jsx">>, <<"D2F6E5F069C00266CAD52FB15D87C428579EA4D7D73A33669E12679E203329DD">>},
13-
{<<"opencensus">>, <<"B4C5F6A96F2BA2154570F24BB08B65D6EE0FF5B61518ACF706CA760B7696A4E1">>},
13+
{<<"opencensus">>, <<"2F16103D1E25DC6AD245F71810D0A80F78D495C06B13224E7A361F327DA16176">>},
1414
{<<"rfc3339">>, <<"2075653DC9407541C84B1E15F8BDA2ABE95FB17C9694025E079583F2D19C1060">>},
1515
{<<"wts">>, <<"5CDF22C775CB1EBAE24C326A5DB6074D753C42F4BD12A9AA47CC62D3E2C71AD1">>}]}
1616
].

‎test/oc_reporter_zipkin_SUITE.erl‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,9 @@ end_per_suite(_Config) ->
2323
ok.
2424

2525
init_per_testcase(zipkin_reporter, Config) ->
26-
application:set_env(opencensus, reporter, {oc_reporter_zipkin, [{address, "http://ct-host:9411/endpoint"},
27-
{local_endpoint,
28-
#{<<"serviceName">> => "ct-service"}}]}),
26+
application:set_env(opencensus, reporters, [{oc_reporter_zipkin, [{address, "http://ct-host:9411/endpoint"},
27+
{local_endpoint,
28+
#{<<"serviceName">> => "ct-service"}}]}]),
2929
application:set_env(opencensus, sampler, {oc_sampler_always, []}),
3030

3131
{ok, _} = application:ensure_all_started(opencensus),

0 commit comments

Comments
 (0)