From b4be3a22b5a44c84ab9440edd50a9b3304f05074 Mon Sep 17 00:00:00 2001 From: Pavlos Rontidis Date: Thu, 7 Aug 2025 10:37:02 -0400 Subject: [PATCH 1/3] chore(codecs protobuf): allow all telemetry types --- .github/workflows/semantic.yml | 1 + lib/codecs/src/decoding/format/protobuf.rs | 2 +- lib/codecs/src/encoding/format/protobuf.rs | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/semantic.yml b/.github/workflows/semantic.yml index f1833a830bc26..9a8644b375e60 100644 --- a/.github/workflows/semantic.yml +++ b/.github/workflows/semantic.yml @@ -40,6 +40,7 @@ jobs: ci cli codecs + codecs protobuf compression config core diff --git a/lib/codecs/src/decoding/format/protobuf.rs b/lib/codecs/src/decoding/format/protobuf.rs index 26330028d26aa..cacd7912b9cbc 100644 --- a/lib/codecs/src/decoding/format/protobuf.rs +++ b/lib/codecs/src/decoding/format/protobuf.rs @@ -33,7 +33,7 @@ impl ProtobufDeserializerConfig { /// Return the type of event build by this deserializer. pub fn output_type(&self) -> DataType { - DataType::Log + DataType::all_bits() } /// The schema produced by the deserializer. diff --git a/lib/codecs/src/encoding/format/protobuf.rs b/lib/codecs/src/encoding/format/protobuf.rs index c014a529455e1..9d65ede9f7f60 100644 --- a/lib/codecs/src/encoding/format/protobuf.rs +++ b/lib/codecs/src/encoding/format/protobuf.rs @@ -30,7 +30,7 @@ impl ProtobufSerializerConfig { /// The data type of events that are accepted by `ProtobufSerializer`. pub fn input_type(&self) -> DataType { - DataType::Log + DataType::all_bits() } /// The schema required by the serializer. From 9dc33b80a178ec3db94cce2f3e7256c61a5aa664 Mon Sep 17 00:00:00 2001 From: Pavlos Rontidis Date: Thu, 7 Aug 2025 11:04:03 -0400 Subject: [PATCH 2/3] changelog --- changelog.d/proto_codecs.enhancement.md | 1 + 1 file changed, 1 insertion(+) create mode 100644 changelog.d/proto_codecs.enhancement.md diff --git a/changelog.d/proto_codecs.enhancement.md b/changelog.d/proto_codecs.enhancement.md new file mode 100644 index 0000000000000..b7c5f6d65701d --- /dev/null +++ b/changelog.d/proto_codecs.enhancement.md @@ -0,0 +1 @@ +The `protobuf` codecs now support all telemetry data types (logs, metrics, traces). From d40bf180ded01d0260fa972d4fe555634b328db2 Mon Sep 17 00:00:00 2001 From: Pavlos Rontidis Date: Thu, 7 Aug 2025 11:07:39 -0400 Subject: [PATCH 3/3] fix --- changelog.d/proto_codecs.enhancement.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/changelog.d/proto_codecs.enhancement.md b/changelog.d/proto_codecs.enhancement.md index b7c5f6d65701d..4c6f3909949a2 100644 --- a/changelog.d/proto_codecs.enhancement.md +++ b/changelog.d/proto_codecs.enhancement.md @@ -1 +1,3 @@ The `protobuf` codecs now support all telemetry data types (logs, metrics, traces). + +authors: pront