OpenTelemetry.Exporter.Console 1.11.2

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.11.2/RELEASENOTES.md. For detailed changes see: https://github.com/open-telemetry/opentelemetry-dotnet/blob/core-1.11.2/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 4 05/01/2025
1.11.2 6 03/04/2025
1.11.1 15 01/26/2025
1.11.0 13 01/19/2025
1.11.0-rc.1 15 12/16/2024
1.10.0 16 11/14/2024
1.10.0-rc.1 34 11/04/2024
1.10.0-beta.1 20 10/07/2024
1.9.0 25 06/15/2024
1.9.0-rc.1 29 06/11/2024
1.9.0-alpha.1 29 05/27/2024
1.8.1 32 04/20/2024
1.8.0 35 04/04/2024
1.8.0-rc.1 35 03/28/2024
1.8.0-beta.1 32 03/20/2024
1.7.0 34 12/10/2023
1.7.0-rc.1 32 12/06/2023
1.7.0-alpha.1 34 10/19/2023
1.6.0 37 09/07/2023
1.6.0-rc.1 41 08/27/2023
1.6.0-alpha.1 34 08/07/2023
1.5.1 38 07/02/2023
1.5.0 37 08/05/2023
1.5.0-rc.1 33 08/05/2023
1.5.0-alpha.2 28 08/01/2023
1.5.0-alpha.1 30 08/04/2023
1.4.0 36 08/08/2023
1.4.0-rc.4 31 09/29/2023
1.4.0-rc.3 32 07/01/2023
1.4.0-rc.2 39 08/07/2023
1.4.0-rc.1 36 08/06/2023
1.4.0-beta.3 36 08/05/2023
1.4.0-beta.2 32 08/08/2023
1.4.0-beta.1 34 08/06/2023
1.4.0-alpha.2 32 08/06/2023
1.4.0-alpha.1 41 08/06/2023
1.3.2 38 09/24/2023
1.3.1 39 08/07/2023
1.3.0 41 10/19/2022
1.3.0-rc.2 34 08/08/2023
1.3.0-beta.2 42 06/15/2022
1.3.0-beta.1 35 08/27/2023
1.2.0 35 08/07/2023
1.2.0-rc5 32 08/16/2023
1.2.0-rc4 37 11/01/2022
1.2.0-rc3 27 08/15/2023
1.2.0-rc2 27 08/09/2023
1.2.0-rc1 35 10/07/2022
1.2.0-beta2.1 33 11/25/2022
1.2.0-beta1 30 08/18/2023
1.2.0-alpha4 35 08/05/2023
1.2.0-alpha3 32 08/08/2023
1.2.0-alpha2 36 07/26/2023
1.2.0-alpha1 35 07/27/2023
1.1.0 32 08/06/2023
1.1.0-rc1 37 08/10/2023
1.1.0-beta4 35 08/24/2023
1.1.0-beta3 34 09/01/2023
1.1.0-beta2 34 08/04/2023
1.1.0-beta1 34 08/22/2023
1.0.1 35 08/18/2023
1.0.0-rc4 37 07/26/2023
1.0.0-rc3 31 08/11/2023
1.0.0-rc2 28 08/24/2023
1.0.0-rc1.1 31 08/11/2023
0.8.0-beta.1 29 08/11/2023
0.7.0-beta.1 35 08/04/2023
0.6.0-beta.1 28 09/30/2023
0.5.0-beta.2 33 08/05/2023
0.4.0-beta.2 35 08/19/2023
0.3.0-beta.1 34 08/04/2023
0.2.0-alpha.275 25 08/08/2023
0.2.0-alpha.220 43 10/26/2022