From ac291d6e290852c4a181bb662dc7928ea7312b47 Mon Sep 17 00:00:00 2001 From: Daniel Li Date: Tue, 8 Oct 2024 07:59:25 -0700 Subject: [PATCH] Change the codec's name to opentelemetry_logs (#5028) Signed-off-by: Daniel Li --- .../dataprepper/plugins/otel/codec/OTLPJsonLogsCodec.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data-prepper-plugins/otel-proto-common/src/main/java/org/opensearch/dataprepper/plugins/otel/codec/OTLPJsonLogsCodec.java b/data-prepper-plugins/otel-proto-common/src/main/java/org/opensearch/dataprepper/plugins/otel/codec/OTLPJsonLogsCodec.java index f9d4bc0bfc..6d2227afa3 100644 --- a/data-prepper-plugins/otel-proto-common/src/main/java/org/opensearch/dataprepper/plugins/otel/codec/OTLPJsonLogsCodec.java +++ b/data-prepper-plugins/otel-proto-common/src/main/java/org/opensearch/dataprepper/plugins/otel/codec/OTLPJsonLogsCodec.java @@ -14,7 +14,7 @@ import java.io.InputStream; import java.util.function.Consumer; -@DataPrepperPlugin(name = "otlp_json_logs", pluginType = InputCodec.class) +@DataPrepperPlugin(name = "opentelemetry_logs", pluginType = InputCodec.class) public class OTLPJsonLogsCodec extends OTLPJsonLogsDecoder implements InputCodec { public void parse(InputStream inputStream, Consumer> eventConsumer) throws IOException { parse(inputStream, null, eventConsumer);