You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+16Lines changed: 16 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,6 +7,22 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
8
8
## [Unreleased]
9
9
10
+
### [Exporter]
11
+
12
+
#### Added
13
+
14
+
- New `opentelemetry_exporter` application environment options:
15
+
-`otlp_protocol`: The transport protocol, supported values: `grpc` and `http_protobuf`. Defaults to `http_protobuf`.
16
+
-`otlp_traces_protocol`: The transport protocol to use for exporting traces, supported values: `grpc` and `http_protobuf`. Defaults to `http_protobuf`.
17
+
-`otlp_compression`: Compression type to use, supported values: `gzip`. Defaults to no compression.
18
+
-`otlp_traces_compression`: Compression type to use for exporting traces, supported values: `gzip`. Defaults to no compression.
19
+
20
+
- New environment variable options:
21
+
-`OTEL_EXPORTER_OTLP_PROTOCOL`: The transport protocol to use, supported values: `grpc` and `http_protobuf`. Defaults to `http_protobuf`
22
+
-`OTEL_EXPORTER_OTLP_TRACES_PROTOCOL`: The transport protocol to use for exporting traces, supported values: `grpc` and `http_protobuf`. Defaults to `http_protobuf`.
23
+
-`OTEL_EXPORTER_OTLP_COMPRESSION`: Compression to use, supported value: gzip. Defaults to no compression.
24
+
-`OTEL_EXPORTER_OTLP_TRACES_COMPRESSION`: Compression to use when exporting traces, supported value: gzip. Defaults to no compression.
-`otlp_endpoint`: The URL to send traces and metrics to, for traces the path `v1/traces` is appended to the path in the URL.
52
52
-`otlp_traces_endpoint`: URL to send only traces to. This takes precedence for exporting traces and the path of the URL is kept as is, no suffix is appended.
53
53
-`otlp_headers`: List of additional headers (`[{unicode:chardata(), unicode:chardata()}]`) to add to export requests.
54
-
-`otlp_traces_headers`: Additional headers (`[{unicode:chardata(), unicode:chardata()}]`) to add to only trace export requests.
unicode:chardata()}]`) to add to only trace export requests.
56
+
-`otlp_protocol`: The transport protocol, supported values: `grpc` and `http_protobuf`. Defaults to `http_protobuf`.
57
+
-`otlp_traces_protocol`: The transport protocol to use for exporting traces, supported values: `grpc` and `http_protobuf`. Defaults to `http_protobuf`.
58
+
-`otlp_compression`: Compression type to use, supported values: `gzip`. Defaults to no compression.
59
+
-`otlp_traces_compression`: Compression type to use for exporting traces, supported values: `gzip`. Defaults to no compression.
@@ -87,11 +95,16 @@ for more information on securing HTTP requests in Erlang.
87
95
-`OTEL_EXPORTER_OTLP_TRACES_ENDPOINT`: URL to send only traces to. This takes precedence for exporting traces and the path of the URL is kept as is, no suffix is appended.
88
96
-`OTEL_EXPORTER_OTLP_HEADERS`: List of additional headers to add to export requests.
89
97
-`OTEL_EXPORTER_OTLP_TRACES_HEADERS`: Additional headers to add to only trace export requests.
98
+
-`OTEL_EXPORTER_OTLP_PROTOCOL`: The transport protocol to use, supported values: `grpc` and `http_protobuf`. Defaults to `http_protobuf`
99
+
-`OTEL_EXPORTER_OTLP_TRACES_PROTOCOL`: The transport protocol to use for exporting traces, supported values: `grpc` and `http_protobuf`. Defaults to `http_protobuf`.
100
+
-`OTEL_EXPORTER_OTLP_COMPRESSION`: Compression to use, supported value: gzip. Defaults to no compression.
101
+
-`OTEL_EXPORTER_OTLP_TRACES_COMPRESSION`: Compression to use when exporting traces, supported value: gzip. Defaults to no compression.
90
102
91
103
Example usage of setting the environment variables:
Copy file name to clipboardExpand all lines: apps/opentelemetry_exporter/src/opentelemetry_exporter.erl
+52-12Lines changed: 52 additions & 12 deletions
Original file line number
Diff line number
Diff line change
@@ -24,14 +24,29 @@
24
24
%% `otlp_endpoint': The URL to send traces and metrics to, for traces the
25
25
%% path `v1/traces' is appended to the path in the URL.
26
26
%% </li>
27
-
%% <li>`otlp_traces_endpoint': URL to send only traces to. This takes precedence
27
+
%% <li>
28
+
%% `otlp_traces_endpoint': URL to send only traces to. This takes precedence
28
29
%% for exporting traces and the path of the URL is kept as is, no suffix is
29
30
%% appended.
30
31
%% </li>
31
-
%% <li>`otlp_headers': List of additional headers (`[{unicode:chardata(), unicode:chardata()}]') to add to export requests.</li>
32
+
%% <li>
33
+
%% `otlp_headers': List of additional headers (`[{unicode:chardata(), unicode:chardata()}]') to add to export requests.
34
+
%% </li>
32
35
%% <li>
33
36
%% `otlp_traces_headers': Additional headers (`[{unicode:chardata(), unicode:chardata()}]') to add to only trace export requests.
34
37
%% </li>
38
+
%% <li>
39
+
%% `otlp_protocol': The transport protocol, supported values: `grpc' and `http_protobuf'. Defaults to `http_protobuf'.
40
+
%% </li>
41
+
%% <li>
42
+
%% `otlp_traces_protocol': The transport protocol to use for exporting traces, supported values: `grpc' and `http_protobuf'. Defaults to `http_protobuf'
43
+
%% </li>
44
+
%% <li>
45
+
%% `otlp_compression': Compression type to use, supported values: `gzip'. Defaults to no compression.
46
+
%% </li>
47
+
%% <li>
48
+
%% `otlp_traces_compression': Compression type to use for exporting traces, supported values: `gzip'. Defaults to no compression.
49
+
%% </li>
35
50
%% </ul>
36
51
%%
37
52
%% There also corresponding OS environment variables can also set those
@@ -42,6 +57,10 @@
42
57
%% <li>`OTEL_EXPORTER_OTLP_TRACES_ENDPOINT': URL to send only traces to. This takes precedence for exporting traces and the path of the URL is kept as is, no suffix is appended.</li>
43
58
%% <li>`OTEL_EXPORTER_OTLP_HEADERS': List of additional headers to add to export requests.</li>
44
59
%% <li>`OTEL_EXPORTER_OTLP_TRACES_HEADERS': Additional headers to add to only trace export requests.</li>
60
+
%% <li>`OTEL_EXPORTER_OTLP_PROTOCOL': The transport protocol to use, supported values: `grpc' and `http_protobuf'. Defaults to `http_protobuf'.</li>
61
+
%% <li>`OTEL_EXPORTER_OTLP_TRACES_PROTOCOL': The transport protocol to use for exporting traces, supported values: `grpc' and `http_protobuf'. Defaults to `http_protobuf'.</li>
62
+
%% <li>`OTEL_EXPORTER_OTLP_COMPRESSION': Compression to use, supported value: gzip. Defaults to no compression./li>
63
+
%% <li>`OTEL_EXPORTER_OTLP_TRACES_COMPRESSION': Compression to use when exporting traces, supported value: gzip. Defaults to no compression.</li>
0 commit comments