Skip to content

Commit

Permalink
Change the codec's name to opentelemetry_logs (opensearch-project#5028)
Browse files Browse the repository at this point in the history
Signed-off-by: Daniel Li <[email protected]>
  • Loading branch information
danhli committed Oct 8, 2024
1 parent e3c5b91 commit ac291d6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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<Record<Event>> eventConsumer) throws IOException {
parse(inputStream, null, eventConsumer);
Expand Down

0 comments on commit ac291d6

Please sign in to comment.