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.11.2 12 03/06/2025
1.11.1 12 03/06/2025
1.11.0 12 03/06/2025
1.11.0-rc.1 14 02/18/2025
1.10.0-rc.1 16 02/18/2025
1.10.0-beta.1 13 02/18/2025
1.9.0-rc.1 13 02/18/2025
1.9.0-alpha.1 13 02/18/2025
1.8.1 12 03/12/2025
1.8.0 12 03/09/2025
1.8.0-rc.1 12 02/18/2025
1.8.0-beta.1 13 02/18/2025
1.7.0 12 03/06/2025
1.7.0-rc.1 13 02/18/2025
1.7.0-alpha.1 13 02/18/2025
1.6.0 12 03/09/2025
1.6.0-rc.1 14 02/18/2025
1.6.0-alpha.1 13 02/18/2025
1.5.1 11 03/06/2025
1.5.0 12 03/06/2025
1.5.0-rc.1 12 02/18/2025
1.5.0-alpha.2 12 02/18/2025
1.5.0-alpha.1 14 02/18/2025
1.4.0 12 03/09/2025
1.4.0-rc.4 14 02/18/2025
1.4.0-rc.3 13 06/26/2023
1.4.0-rc.2 13 02/18/2025
1.4.0-rc.1 13 02/18/2025
1.4.0-beta.3 14 02/18/2025
1.4.0-beta.2 14 02/18/2025
1.4.0-beta.1 14 02/18/2025
1.4.0-alpha.2 13 02/18/2025
1.4.0-alpha.1 12 02/18/2025
1.3.2 12 03/06/2025
1.3.0-rc.2 13 02/18/2025
1.3.0-beta.2 14 02/18/2025
1.3.0-beta.1 14 02/18/2025
1.2.0 12 03/06/2025
1.2.0-rc5 13 02/18/2025
1.2.0-rc4 13 02/18/2025
1.2.0-rc3 13 02/18/2025
1.2.0-rc2 13 02/18/2025
1.2.0-rc1 13 02/18/2025
1.2.0-beta2.1 13 02/18/2025
1.2.0-beta1 14 02/18/2025
1.2.0-alpha4 13 02/18/2025
1.2.0-alpha3 13 02/18/2025
1.2.0-alpha2 13 02/18/2025
1.2.0-alpha1 14 02/18/2025
1.1.0-rc1 14 02/18/2025
1.1.0-beta4 13 02/18/2025
1.1.0-beta3 13 02/18/2025
1.1.0-beta2 13 02/18/2025
1.1.0-beta1 13 02/18/2025
1.0.1 11 03/09/2025
1.0.0-rc4 12 02/18/2025
1.0.0-rc3 13 02/18/2025
1.0.0-rc2 12 02/18/2025
1.0.0-rc1.1 14 02/18/2025
0.8.0-beta.1 13 02/18/2025
0.7.0-beta.1 13 02/18/2025
0.6.0-beta.1 13 02/18/2025
0.5.0-beta.2 13 02/18/2025
0.4.0-beta.2 12 02/18/2025
0.3.0-beta.1 14 02/18/2025
0.2.0-alpha.275 13 02/18/2025
0.2.0-alpha.220 13 02/18/2025