OpenTelemetry.Exporter.Console 1.12.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 component is intended to be used while learning how telemetry data is created and exported. It is not recommended for any production environment.

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.12.0/RELEASENOTES.md. For detailed changes see: https://github.com/open-telemetry/opentelemetry-dotnet/blob/core-1.12.0/src/OpenTelemetry.Exporter.Console/CHANGELOG.md.

.NET Framework 4.6.2

.NET 8.0

.NET 9.0

.NET Standard 2.0

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