Skip to content

Commit 3a13acc

Browse files
authored
Use *Data proto messages for file exporter (#3809)
Fixes #2390 ## Changes The `*Request` proto messages are design for RPC/REST communication (request, response style) and may contain in the future information specific to this type of communication. The `*Data` proto messages are design for cases where only the telemetry data must be encoded without ony OTLP specific metadata. Signed-off-by: Bogdan Drutu <[email protected]>
1 parent c6520a7 commit 3a13acc

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,8 @@ release.
5454

5555
### OpenTelemetry Protocol
5656

57+
- Use `TracesData`, `MetricsData` and `LogsData` proto messages for file exporter.
58+
5759
### Compatibility
5860

5961
### SDK Configuration

specification/protocol/file-exporter.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ This defines the first version of the serialization scheme.
4848
The data must be encoded according to the format specified in the
4949
[OTLP JSON Encoding](https://github.com/open-telemetry/opentelemetry-proto/blob/main/docs/specification.md#json-protobuf-encoding).
5050

51-
Only top-level objects, `ExportTraceServiceRequest`, `ExportMetricsServiceRequest`, and `ExportLogsServiceRequest` are supported.
51+
Only top-level objects, `TracesData`, `MetricsData`, and `LogsData` are supported.
5252

5353
Files must contain exactly one type of data: traces, metrics, or logs.
5454

0 commit comments

Comments
 (0)