Current section

30 Versions

Jump to

Compare versions

32 files changed
+317 additions
-153 deletions
  @@ -194,7 +194,6 @@ in the Resource.
194 194 |:-------------------------------|:--------------------------|:-----------------------------------------------|:----------------|
195 195 | OTEL_RESOURCE_DETECTORS | resource_detectors | [otel_resource_env_var, otel_resource_app_env] | list of modules |
196 196 | OTEL_RESOURCE_DETECTOR_TIMEOUT | resource_detector_timeout | 5000 | integer |
197 - | | | | |
198 197
199 198 The default detectors read resource attributes from the OS environment variable
200 199 `OTEL_RESOURCE_ATTRIBUTES` and Application environment variable `resource`.
  @@ -209,11 +208,11 @@ length limit are truncated.
209 208 | OS | Application | Default | Type |
210 209 |:---------------------------------------|:-----------------------------|:---------|:------------------------|
211 210 | OTEL_SPAN_ATTRIBUTE_COUNT_LIMIT | attribute_count_limit | 128 | integer |
212 - | OTEL_SPAN_ATTRIBUTE_VALUE_LENGTH_LIMIT | attribute_value_length_limit | infinity | integer | infinity |
211 + | OTEL_SPAN_ATTRIBUTE_VALUE_LENGTH_LIMIT | attribute_value_length_limit | infinity | integer \| infinity |
213 212 | OTEL_SPAN_EVENT_COUNT_LIMIT | event_count_limit | 128 | integer |
214 213 | OTEL_SPAN_LINK_COUNT_LIMIT | link_count_limit | 128 | integer |
215 214 | OTEL_EVENT_ATTRIBUTE_COUNT_LIMIT | attribute_per_event_limit | 128 | integer |
216 - | OTEL_LINK_ATTRIBUTE_COUNT_LIMIT | attribute_per_link_limit | 128 | integer
215 + | OTEL_LINK_ATTRIBUTE_COUNT_LIMIT | attribute_per_link_limit | 128 | integer |
217 216
218 217 Read more in the specification about [Span
219 218 limits](https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/trace/sdk.md#span-limits)
  @@ -232,12 +231,12 @@ attribute `finished_by_sweeper` with value `true` to the Span before calling
232 231
233 232 The sweeper's configuration is a map under environment key `sweeper`.
234 233
235 - | OS | Application | Default | Type |
236 - |:-------------------------------|:-------------|:---------|:-----------------------------------------------------------------------------|
237 - | OTEL_SPAN_SWEEPER_INTERVAL | interval | 600000 | integer | infinity |
238 - | OTEL_SPAN_SWEEPER_STRATEGY | strategy | drop | drop | end_span | failed_attribute_and_end_span | fun/1 |
239 - | OTEL_SPAN_SWEEPER_SPAN_TTL | span_ttl | 1800000 | integer | infinity |
240 - | OTEL_SPAN_SWEEPER_STORAGE_SIZE | storage_size | infinity | integer | infinity |
234 + | OS | Application | Default | Type |
235 + |:-------------------------------|:-------------|:---------|:-----------------------------------------------------------|
236 + | OTEL_SPAN_SWEEPER_INTERVAL | interval | 600000 | integer \| infinity |
237 + | OTEL_SPAN_SWEEPER_STRATEGY | strategy | drop | drop \| end_span \| failed_attribute_and_end_span \| fun/1 |
238 + | OTEL_SPAN_SWEEPER_SPAN_TTL | span_ttl | 1800000 | integer \| infinity |
239 + | OTEL_SPAN_SWEEPER_STORAGE_SIZE | storage_size | infinity | integer \| infinity |
241 240
242 241 ## Contributing
  @@ -3,17 +3,17 @@
3 3 {<<"description">>,<<"Implementation of stable OpenTelemetry signals">>}.
4 4 {<<"files">>,
5 5 [<<"LICENSE">>,<<"README.md">>,<<"include">>,<<"include/otel_sampler.hrl">>,
6 - <<"include/otel_span.hrl">>,<<"rebar.config">>,<<"rebar.lock">>,<<"src">>,
6 + <<"include/otel_span.hrl">>,<<"rebar.config">>,<<"src">>,
7 7 <<"src/opentelemetry.app.src">>,<<"src/opentelemetry_app.erl">>,
8 8 <<"src/opentelemetry_sup.erl">>,<<"src/otel_batch_processor.erl">>,
9 9 <<"src/otel_configuration.erl">>,<<"src/otel_events.erl">>,
10 10 <<"src/otel_exporter.erl">>,<<"src/otel_exporter_pid.erl">>,
11 11 <<"src/otel_exporter_stdout.erl">>,<<"src/otel_exporter_tab.erl">>,
12 - <<"src/otel_id_generator.erl">>,<<"src/otel_links.erl">>,
13 - <<"src/otel_resource.erl">>,<<"src/otel_resource_app_env.erl">>,
14 - <<"src/otel_resource_detector.erl">>,<<"src/otel_resource_env_var.erl">>,
15 - <<"src/otel_sampler.erl">>,<<"src/otel_sampler_always_off.erl">>,
16 - <<"src/otel_sampler_always_on.erl">>,
12 + <<"src/otel_exporter_traces.erl">>,<<"src/otel_id_generator.erl">>,
13 + <<"src/otel_links.erl">>,<<"src/otel_resource.erl">>,
14 + <<"src/otel_resource_app_env.erl">>,<<"src/otel_resource_detector.erl">>,
15 + <<"src/otel_resource_env_var.erl">>,<<"src/otel_sampler.erl">>,
16 + <<"src/otel_sampler_always_off.erl">>,<<"src/otel_sampler_always_on.erl">>,
17 17 <<"src/otel_sampler_parent_based.erl">>,
18 18 <<"src/otel_sampler_trace_id_ratio_based.erl">>,
19 19 <<"src/otel_simple_processor.erl">>,<<"src/otel_span_ets.erl">>,
  @@ -32,9 +32,5 @@
32 32 [{<<"opentelemetry_api">>,
33 33 [{<<"app">>,<<"opentelemetry_api">>},
34 34 {<<"optional">>,false},
35 - {<<"requirement">>,<<"~> 1.3.0">>}]},
36 - {<<"opentelemetry_semantic_conventions">>,
37 - [{<<"app">>,<<"opentelemetry_semantic_conventions">>},
38 - {<<"optional">>,false},
39 - {<<"requirement">>,<<"~> 0.2">>}]}]}.
40 - {<<"version">>,<<"1.4.0">>}.
35 + {<<"requirement">>,<<"~> 1.3">>}]}]}.
36 + {<<"version">>,<<"1.4.1">>}.
  @@ -1,6 +1,5 @@
1 1 {erl_opts, [debug_info]}.
2 - {deps, [{opentelemetry_api, "~> 1.3.0"},
3 - {opentelemetry_semantic_conventions, "~> 0.2"}]}.
2 + {deps, [{opentelemetry_api, "~> 1.3"}]}.
4 3
5 4 {profiles,
6 5 [{docs, [{edoc_opts,
  @@ -1,13 +0,0 @@
1 - {"1.2.0",
2 - [{<<"opentelemetry_api">>,{pkg,<<"opentelemetry_api">>,<<"1.3.0">>},0},
3 - {<<"opentelemetry_semantic_conventions">>,
4 - {pkg,<<"opentelemetry_semantic_conventions">>,<<"0.2.0">>},
5 - 0}]}.
6 - [
7 - {pkg_hash,[
8 - {<<"opentelemetry_api">>, <<"03E2177F28DD8D11AAA88E8522C81C2F6A788170FE52F7A65262340961E663F9">>},
9 - {<<"opentelemetry_semantic_conventions">>, <<"B67FE459C2938FCAB341CB0951C44860C62347C005ACE1B50F8402576F241435">>}]},
10 - {pkg_hash_ext,[
11 - {<<"opentelemetry_api">>, <<"B9E5FF775FD064FA098DBA3C398490B77649A352B40B0B730A6B7DC0BDD68858">>},
12 - {<<"opentelemetry_semantic_conventions">>, <<"D61FA1F5639EE8668D74B527E6806E0503EFC55A42DB7B5F39939D84C07D6895">>}]}
13 - ].
  @@ -1,9 +1,10 @@
1 1 {application,opentelemetry,
2 2 [{description,"Implementation of stable OpenTelemetry signals"},
3 - {vsn,"1.4.0"},
3 + {vsn,"1.4.1"},
4 4 {registered,[otel_tracer_provider_sup]},
5 5 {mod,{opentelemetry_app,[]}},
6 6 {applications,[kernel,stdlib,opentelemetry_api]},
7 + {exclude_paths,["rebar.lock"]},
7 8 {env,[]},
8 9 {modules,[]},
9 10 {doc,"doc"},
Loading more files…