From c0a55775b47524d473f53b8658761a99b55bf807 Mon Sep 17 00:00:00 2001 From: Julius Koval <119529395+juliuskoval@users.noreply.github.com> Date: Wed, 25 Oct 2023 19:42:02 +0200 Subject: [PATCH] making OtlpLogExporter public (#4979) --- .../.publicApi/Stable/PublicAPI.Unshipped.txt | 3 +++ src/OpenTelemetry.Exporter.OpenTelemetryProtocol/CHANGELOG.md | 2 ++ .../OtlpLogExporter.cs | 2 +- 3 files changed, 6 insertions(+), 1 deletion(-) diff --git a/src/OpenTelemetry.Exporter.OpenTelemetryProtocol/.publicApi/Stable/PublicAPI.Unshipped.txt b/src/OpenTelemetry.Exporter.OpenTelemetryProtocol/.publicApi/Stable/PublicAPI.Unshipped.txt index e69de29bb2d..508ace4d8ec 100644 --- a/src/OpenTelemetry.Exporter.OpenTelemetryProtocol/.publicApi/Stable/PublicAPI.Unshipped.txt +++ b/src/OpenTelemetry.Exporter.OpenTelemetryProtocol/.publicApi/Stable/PublicAPI.Unshipped.txt @@ -0,0 +1,3 @@ +OpenTelemetry.Exporter.OtlpLogExporter +OpenTelemetry.Exporter.OtlpLogExporter.OtlpLogExporter(OpenTelemetry.Exporter.OtlpExporterOptions options) -> void +override OpenTelemetry.Exporter.OtlpLogExporter.Export(in OpenTelemetry.Batch logRecordBatch) -> OpenTelemetry.ExportResult \ No newline at end of file diff --git a/src/OpenTelemetry.Exporter.OpenTelemetryProtocol/CHANGELOG.md b/src/OpenTelemetry.Exporter.OpenTelemetryProtocol/CHANGELOG.md index f1dfe571404..31d6b8143b4 100644 --- a/src/OpenTelemetry.Exporter.OpenTelemetryProtocol/CHANGELOG.md +++ b/src/OpenTelemetry.Exporter.OpenTelemetryProtocol/CHANGELOG.md @@ -2,6 +2,8 @@ ## Unreleased +* Made `OpenTelemetry.Exporter.OtlpLogExporter` public. ([#4979](https://github.com/open-telemetry/opentelemetry-dotnet/pull/4979)) + ## 1.7.0-alpha.1 Released 2023-Oct-16 diff --git a/src/OpenTelemetry.Exporter.OpenTelemetryProtocol/OtlpLogExporter.cs b/src/OpenTelemetry.Exporter.OpenTelemetryProtocol/OtlpLogExporter.cs index 757691d1702..ec2554fb0d3 100644 --- a/src/OpenTelemetry.Exporter.OpenTelemetryProtocol/OtlpLogExporter.cs +++ b/src/OpenTelemetry.Exporter.OpenTelemetryProtocol/OtlpLogExporter.cs @@ -28,7 +28,7 @@ namespace OpenTelemetry.Exporter; /// Exporter consuming and exporting the data using /// the OpenTelemetry protocol (OTLP). /// -internal sealed class OtlpLogExporter : BaseExporter +public sealed class OtlpLogExporter : BaseExporter { private readonly IExportClient exportClient; private readonly OtlpLogRecordTransformer otlpLogRecordTransformer;