From c78f6bd5a6e3d54d34f20668ee43389497e10346 Mon Sep 17 00:00:00 2001 From: Pavlos Rontidis Date: Mon, 18 Aug 2025 15:46:46 -0400 Subject: [PATCH 1/4] Revert "chore(codecs protobuf): allow all telemetry types (#23550)" This reverts commit f9d2800d873d2e5a15b1920ad49c7e357702a890. --- .github/workflows/semantic.yml | 1 - lib/codecs/src/decoding/format/protobuf.rs | 2 +- lib/codecs/src/encoding/format/protobuf.rs | 2 +- 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/semantic.yml b/.github/workflows/semantic.yml index 99c6cf0d66b83..b7d6edf2b5212 100644 --- a/.github/workflows/semantic.yml +++ b/.github/workflows/semantic.yml @@ -37,7 +37,6 @@ jobs: ci cli codecs - codecs protobuf compression config config provider diff --git a/lib/codecs/src/decoding/format/protobuf.rs b/lib/codecs/src/decoding/format/protobuf.rs index cacd7912b9cbc..26330028d26aa 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::all_bits() + DataType::Log } /// 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 9d65ede9f7f60..c014a529455e1 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::all_bits() + DataType::Log } /// The schema required by the serializer. From 045939e021f4d9db300ef1f9a05a4872828fdc8a Mon Sep 17 00:00:00 2001 From: Pavlos Rontidis Date: Mon, 18 Aug 2025 15:59:02 -0400 Subject: [PATCH 2/4] add known issue --- website/cue/reference/releases/0.49.0.cue | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/website/cue/reference/releases/0.49.0.cue b/website/cue/reference/releases/0.49.0.cue index 02067f0901c3f..b734b494ad555 100644 --- a/website/cue/reference/releases/0.49.0.cue +++ b/website/cue/reference/releases/0.49.0.cue @@ -6,6 +6,16 @@ releases: "0.49.0": { whats_next: [] + known_issues: [ + """ + The protobuf codecs do not support all telemetry types. Specifically the current status is the following: + - Decoder: supports logs. + - Encoder: supports logs and traces. + + Metrics are not supported. Any future updates will be noted in changelogs. + """, + ] + description: """ The Vector team is excited to announce version `0.49.0`! From 35fcbc9fdae98cf1bc9a80f55bb7557029e99a4a Mon Sep 17 00:00:00 2001 From: Pavlos Rontidis Date: Mon, 18 Aug 2025 15:59:19 -0400 Subject: [PATCH 3/4] encoder supports traces too --- lib/codecs/src/encoding/format/protobuf.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/codecs/src/encoding/format/protobuf.rs b/lib/codecs/src/encoding/format/protobuf.rs index c014a529455e1..f2dbd8f942dec 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::Log | DataType::Trace } /// The schema required by the serializer. From 676beac1b0e7a7e52989af1d75dabe1b4f7474e4 Mon Sep 17 00:00:00 2001 From: Pavlos Rontidis Date: Mon, 18 Aug 2025 16:22:09 -0400 Subject: [PATCH 4/4] Update website/cue/reference/releases/0.49.0.cue Co-authored-by: Rosa Trieu <107086888+rtrieu@users.noreply.github.com> --- website/cue/reference/releases/0.49.0.cue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/cue/reference/releases/0.49.0.cue b/website/cue/reference/releases/0.49.0.cue index b734b494ad555..89e09b1023b45 100644 --- a/website/cue/reference/releases/0.49.0.cue +++ b/website/cue/reference/releases/0.49.0.cue @@ -8,7 +8,7 @@ releases: "0.49.0": { known_issues: [ """ - The protobuf codecs do not support all telemetry types. Specifically the current status is the following: + The protobuf codecs do not support all telemetry types. Specifically, the following applies: - Decoder: supports logs. - Encoder: supports logs and traces.