OpenTelemetry.Exporter.Console 1.14.0

Console Exporter for OpenTelemetry .NET

NuGet NuGet

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

[!WARNING] This exporter is intended for debugging and learning purposes. It is not recommended for production use. The output format is not standardized and can change at any time. If a standardized format for exporting telemetry to stdout is desired, upvote on this feature request.

Installation

dotnet add package OpenTelemetry.Exporter.Console

See the individual "getting started" examples depending on the signal being used:

Configuration

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

You can configure the ConsoleExporter through Options types properties and environment variables. The Options type setters take precedence over the environment variables.

Environment Variables

The following environment variables can be used to override the default values of the PeriodicExportingMetricReaderOptions (following the OpenTelemetry specification.

Environment variable PeriodicExportingMetricReaderOptions property
OTEL_METRIC_EXPORT_INTERVAL ExportIntervalMilliseconds
OTEL_METRIC_EXPORT_TIMEOUT ExportTimeoutMilliseconds

References

No packages depend on OpenTelemetry.Exporter.Console.

For highlights and announcements see: https://github.com/open-telemetry/opentelemetry-dotnet/blob/core-1.14.0/RELEASENOTES.md. For detailed changes see: https://github.com/open-telemetry/opentelemetry-dotnet/blob/core-1.14.0/src/OpenTelemetry.Exporter.Console/CHANGELOG.md.

.NET Framework 4.6.2

.NET 8.0

.NET 9.0

.NET 10.0

.NET Standard 2.0

Version Downloads Last updated
1.14.0 5 11/17/2025
1.14.0-rc.1 5 10/22/2025
1.13.1 5 10/11/2025
1.13.0 4 10/06/2025
1.12.0 20 05/01/2025
1.11.2 22 03/04/2025
1.11.1 32 01/26/2025
1.11.0 36 01/19/2025
1.11.0-rc.1 30 12/16/2024
1.10.0 37 11/14/2024
1.10.0-rc.1 54 11/04/2024
1.10.0-beta.1 41 10/07/2024
1.9.0 44 06/15/2024
1.9.0-rc.1 54 06/11/2024
1.9.0-alpha.1 49 05/27/2024
1.8.1 55 04/20/2024
1.8.0 57 04/04/2024
1.8.0-rc.1 53 03/28/2024
1.8.0-beta.1 52 03/20/2024
1.7.0 52 12/10/2023
1.7.0-rc.1 48 12/06/2023
1.7.0-alpha.1 57 10/19/2023
1.6.0 55 09/07/2023
1.6.0-rc.1 57 08/27/2023
1.6.0-alpha.1 52 08/07/2023
1.5.1 59 07/02/2023
1.5.0 54 08/05/2023
1.5.0-rc.1 50 08/05/2023
1.5.0-alpha.2 48 08/01/2023
1.5.0-alpha.1 49 08/04/2023
1.4.0 55 08/08/2023
1.4.0-rc.4 48 09/29/2023
1.4.0-rc.3 54 07/01/2023
1.4.0-rc.2 60 08/07/2023
1.4.0-rc.1 56 08/06/2023
1.4.0-beta.3 56 08/05/2023
1.4.0-beta.2 51 08/08/2023
1.4.0-beta.1 55 08/06/2023
1.4.0-alpha.2 49 08/06/2023
1.4.0-alpha.1 61 08/06/2023
1.3.2 58 09/24/2023
1.3.1 62 08/07/2023
1.3.0 62 10/19/2022
1.3.0-rc.2 54 08/08/2023
1.3.0-beta.2 64 06/15/2022
1.3.0-beta.1 54 08/27/2023
1.2.0 57 08/07/2023
1.2.0-rc5 49 08/16/2023
1.2.0-rc4 58 11/01/2022
1.2.0-rc3 46 08/15/2023
1.2.0-rc2 49 08/09/2023
1.2.0-rc1 53 10/07/2022
1.2.0-beta2.1 59 11/25/2022
1.2.0-beta1 49 08/18/2023
1.2.0-alpha4 58 08/05/2023
1.2.0-alpha3 54 08/08/2023
1.2.0-alpha2 59 07/26/2023
1.2.0-alpha1 51 07/27/2023
1.1.0 49 08/06/2023
1.1.0-rc1 58 08/10/2023
1.1.0-beta4 54 08/24/2023
1.1.0-beta3 53 09/01/2023
1.1.0-beta2 51 08/04/2023
1.1.0-beta1 55 08/22/2023
1.0.1 58 08/18/2023
1.0.0-rc4 58 07/26/2023
1.0.0-rc3 48 08/11/2023
1.0.0-rc2 49 08/24/2023
1.0.0-rc1.1 50 08/11/2023
0.8.0-beta.1 50 08/11/2023
0.7.0-beta.1 51 08/04/2023
0.6.0-beta.1 49 09/30/2023
0.5.0-beta.2 53 08/05/2023
0.4.0-beta.2 55 08/19/2023
0.3.0-beta.1 55 08/04/2023
0.2.0-alpha.275 45 08/08/2023
0.2.0-alpha.220 62 10/26/2022