OpenTelemetry.Exporter.Console 1.11.1

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.1/RELEASENOTES.md.

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