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