Skip to content
This repository was archived by the owner on Jul 31, 2023. It is now read-only.

Commit 6cf47ea

Browse files
authored
move zipkin and proto for opencensus-service to separate app (#132)
1 parent e7c5d31 commit 6cf47ea

15 files changed

+10
-11050
lines changed

README.md

Lines changed: 4 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -76,9 +76,11 @@ Headers = [{oc_span_ctx_header:field_name(), EncodedSpanCtx}],
7676

7777
#### <a name="Reporters">Reporters</a> ####
7878

79-
[Google Cloud Trace](https://github.com/tsloughter/oc_google_reporter): Support for v1 in master, v2 and grpc coming soon;
79+
[Zipkin](https://github.com/opencensus-beam/opencensus_zipkin): Zipkin v2 reporter.
8080

81-
[Prometheus](https://github.com/deadtrickster/opencensus-erlang-prometheus): Exports spans as Prometheus metrics.
81+
[Google Cloud Trace](https://github.com/opencensus-beam/oc_google_reporter): Support for v1 in master, v2 and grpc coming soon;
82+
83+
[Prometheus](https://github.com/opencensus-beam/prometheus): Exports spans as Prometheus metrics.
8284

8385
[DataDog][oc_datadog]: Export spans to DataDog APM
8486

@@ -185,13 +187,4 @@ Running tests:
185187
$ rebar3 ct
186188
```
187189

188-
#### Updating OpenCensus standard protobuf encoder and decoder
189-
190-
Language independent interface types for Census are found in the `opencensus-proto` repo. The opencensus Erlang app provides functionality for converting from the apps internal representation to the standard protobuf interface. Below are the steps to update the Erlang module and header for encoding and decoding the protobufs:
191-
192-
```sh
193-
$ git clone https://github.com/census-instrumentation/opencensus-proto priv/opencensus-proto
194-
$ rebar3 protobuf compile
195-
```
196-
197190
[oc_datadog]: https://github.com/hauleth/oc_datadog

include/oc_trace_config_pb.hrl

Lines changed: 0 additions & 42 deletions
This file was deleted.

include/oc_trace_pb.hrl

Lines changed: 0 additions & 238 deletions
This file was deleted.

rebar.config

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -5,30 +5,13 @@
55

66
{deps, [{wts, "~> 0.3"},
77
{ctx, "~> 0.5"},
8-
{jsx, "~> 2.9"},
98
{counters, "~> 0.2.1"}]}.
109

1110
{project_plugins, [covertool,
12-
{rebar3_gpb_plugin, "~> 2.6.1"},
1311
rebar3_lint]}.
1412

1513
{plugins, [rebar3_proper]}.
1614

17-
{gpb_opts, [
18-
{i, "priv/opencensus-proto/src/opencensus/proto/trace"},
19-
{module_name_suffix, "_pb"},
20-
{module_name_prefix, "oc_"},
21-
{o_erl, "src"},
22-
{o_hrl, "include"},
23-
mapfields_as_maps,
24-
use_packages,
25-
{rename,{msg_name,snake_case}},
26-
{rename,{msg_fqname,base_name}},
27-
{msg_name_suffix, "_pb"},
28-
defs_as_proplists,
29-
{strings_as_binaries, true},
30-
{type_specs, true}]}.
31-
3215
{profiles, [
3316
{test, [{erl_opts, [nowarn_export_all]},
3417
{deps, [{meck, "0.8.11"},

rebar.lock

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,12 @@
11
{"1.1.0",
22
[{<<"counters">>,{pkg,<<"counters">>,<<"0.2.1">>},0},
33
{<<"ctx">>,{pkg,<<"ctx">>,<<"0.5.0">>},0},
4-
{<<"jsx">>,{pkg,<<"jsx">>,<<"2.9.0">>},0},
54
{<<"rfc3339">>,{pkg,<<"rfc3339">>,<<"0.9.0">>},1},
65
{<<"wts">>,{pkg,<<"wts">>,<<"0.3.0">>},0}]}.
76
[
87
{pkg_hash,[
98
{<<"counters">>, <<"AA3D97E88F92573488987193D0F48EFCE0F3B2CD1443BF4EE760BC7F99322F0C">>},
109
{<<"ctx">>, <<"78E0F16712E12D707A7F34277381B8E193D7C71EAA24D37330DC02477C09EDA5">>},
11-
{<<"jsx">>, <<"D2F6E5F069C00266CAD52FB15D87C428579EA4D7D73A33669E12679E203329DD">>},
1210
{<<"rfc3339">>, <<"2075653DC9407541C84B1E15F8BDA2ABE95FB17C9694025E079583F2D19C1060">>},
1311
{<<"wts">>, <<"5CDF22C775CB1EBAE24C326A5DB6074D753C42F4BD12A9AA47CC62D3E2C71AD1">>}]}
1412
].

0 commit comments

Comments
 (0)