Skip to content

Latest commit

 

History

History
28 lines (19 loc) · 1 KB

File metadata and controls

28 lines (19 loc) · 1 KB

Console Exporter for OpenTelemetry .NET

NuGet NuGet

The console exporter prints data to the Console window. ConsoleExporter supports exporting both traces and logs.

Note: this exporter is intended to be used during learning how telemetry data are created and exported. It is not recommended for any production environment.

Installation

dotnet add package OpenTelemetry.Exporter.Console

See the TestConsoleExporter.cs for an example of how to use the exporter for exporting traces.

See the Program for an example of how to use the exporter for exporting logs.

References