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/changelog.d/proto_codecs.enhancement.md b/changelog.d/proto_codecs.enhancement.md new file mode 100644 index 0000000000000..4c6f3909949a2 --- /dev/null +++ b/changelog.d/proto_codecs.enhancement.md @@ -0,0 +1,3 @@ +The `protobuf` codecs now support all telemetry data types (logs, metrics, traces). + +authors: pront 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.