Skip to content

Commit f3bd368

Browse files
committed
Update default export format, closes #108
1 parent 689d772 commit f3bd368

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

exporters/otlp/+opentelemetry/+exporters/+otlp/OtlpHttpLogRecordExporter.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
properties
99
Endpoint (1,1) string = "http://localhost:4318/v1/logs" % Export destination
10-
Format (1,1) string = "JSON" % Data format, JSON or binary
10+
Format (1,1) string = "binary" % Data format, JSON or binary
1111
JsonBytesMapping (1,1) string = "hexId" % What to convert JSON bytes to
1212
UseJsonName (1,1) logical = false % Whether to use JSON name of protobuf field to set the key of JSON
1313
Timeout (1,1) duration = seconds(10) % Maximum time above which exports will abort

exporters/otlp/+opentelemetry/+exporters/+otlp/OtlpHttpMetricExporter.m

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@
33
% HTTP. By default, it exports to the default address of the OpenTelemetry
44
% Collector.
55

6-
% Copyright 2023 The MathWorks, Inc.
6+
% Copyright 2023-2024 The MathWorks, Inc.
77

88
properties
99
Endpoint (1,1) string = "http://localhost:4318/v1/metrics" % Export destination
10-
Format (1,1) string = "JSON" % Data format, JSON or binary
10+
Format (1,1) string = "binary" % Data format, JSON or binary
1111
JsonBytesMapping (1,1) string = "hexId" % What to convert JSON bytes to
1212
UseJsonName (1,1) logical = false % Whether to use JSON name of protobuf field to set the key of JSON
1313
Timeout (1,1) duration = seconds(10) % Maximum time above which exports will abort

exporters/otlp/+opentelemetry/+exporters/+otlp/OtlpHttpSpanExporter.m

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@
33
% HTTP. By default, it exports to the default address of the OpenTelemetry
44
% Collector.
55

6-
% Copyright 2023 The MathWorks, Inc.
6+
% Copyright 2023-2024 The MathWorks, Inc.
77

88
properties
99
Endpoint (1,1) string = "http://localhost:4318/v1/traces" % Export destination
10-
Format (1,1) string = "JSON" % Data format, JSON or binary
10+
Format (1,1) string = "binary" % Data format, JSON or binary
1111
JsonBytesMapping (1,1) string = "hexId" % What to convert JSON bytes to
1212
UseJsonName (1,1) logical = false % Whether to use JSON name of protobuf field to set the key of JSON
1313
Timeout (1,1) duration = seconds(10) % Maximum time above which exports will abort

0 commit comments

Comments
 (0)