OpenTelemetry.Exporter.Console 1.11.2

Prefix Reserved
dotnet add package OpenTelemetry.Exporter.Console --version 1.11.2
                    
NuGet\Install-Package OpenTelemetry.Exporter.Console -Version 1.11.2
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="OpenTelemetry.Exporter.Console" Version="1.11.2" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="OpenTelemetry.Exporter.Console" Version="1.11.2" />
                    
Directory.Packages.props
<PackageReference Include="OpenTelemetry.Exporter.Console" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add OpenTelemetry.Exporter.Console --version 1.11.2
                    
#r "nuget: OpenTelemetry.Exporter.Console, 1.11.2"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#addin nuget:?package=OpenTelemetry.Exporter.Console&version=1.11.2
                    
Install OpenTelemetry.Exporter.Console as a Cake Addin
#tool nuget:?package=OpenTelemetry.Exporter.Console&version=1.11.2
                    
Install OpenTelemetry.Exporter.Console as a Cake Tool

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

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 is compatible.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net461 was computed.  net462 is compatible.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (167)

Showing the top 5 NuGet packages that depend on OpenTelemetry.Exporter.Console:

Package Downloads
OpenTelemetry.AutoInstrumentation.Runtime.Managed

Managed components used by the OpenTelemetry.AutoInstrumentation project.

Honeycomb.OpenTelemetry

Honeycomb's OpenTelemetry SDK

Elvia.Telemetry

Common logging/telemetry functionality to used by all services within the Elvia ecosystem.

Genocs.Tracing

The tracing library to setup OpenTelemetry.

devprime.stack.observability

DevPrime Observability

GitHub repositories (63)

Showing the top 20 popular GitHub repositories that depend on OpenTelemetry.Exporter.Console:

Repository Stars
microsoft/semantic-kernel
Integrate cutting-edge LLM technology quickly and easily into your apps
dotnet/runtime
.NET is a cross-platform runtime for cloud, mobile, desktop, and IoT apps.
dodyg/practical-aspnetcore
Practical samples of ASP.NET Core 10 Preview 3, 9, 8.0, 7.0, 6.0, 5.0, 3.1, 2.2, and 2.1,projects you can use. Readme contains explanations on all projects.
MassTransit/MassTransit
Distributed Application Framework for .NET
elsa-workflows/elsa-core
A .NET workflows library
quartznet/quartznet
Quartz Enterprise Scheduler .NET
Azure/azure-sdk-for-net
This repository is for active development of the Azure SDK for .NET. For consumers of the SDK we recommend visiting our public developer docs at https://learn.microsoft.com/dotnet/azure/ or our versioned developer docs at https://azure.github.io/azure-sdk-for-net.
fullstackhero/dotnet-starter-kit
Production Grade Cloud-Ready .NET 9 Starter Kit (Web API + Blazor Client) with Multitenancy Support, and Clean/Modular Architecture that saves roughly 200+ Development Hours! All Batteries Included.
ravendb/ravendb
ACID Document Database
oskardudycz/EventSourcing.NetCore
Examples and Tutorials of Event Sourcing in .NET
Dotnet-Boxed/Templates
.NET project templates with batteries included, providing the minimum amount of code required to get you going faster.
linq2db/linq2db
Linq to database provider.
ZiggyCreatures/FusionCache
FusionCache is an easy to use, fast and robust hybrid cache with advanced resiliency features.
exceptionless/Exceptionless
Exceptionless application
Squidex/squidex
Headless CMS and Content Managment Hub
BrighterCommand/Brighter
A framework for building messaging apps with .NET and C#.
Azure/durabletask
Durable Task Framework allows users to write long running persistent workflows in C# using the async/await capabilities.
dotnetcore/AgileConfig
基于.NET Core开发的轻量级分布式配置中心 / .NET Core lightweight configuration server
DuendeSoftware/products
The most flexible and standards-compliant OpenID Connect and OAuth 2.x framework for ASP.NET Core
JasperFx/wolverine
Supercharged .NET server side development!
Version Downloads Last updated
1.11.2 1,198,688 2 months ago
1.11.1 1,299,999 3 months ago
1.11.0 249,773 3 months ago
1.11.0-rc.1 17,822 4 months ago
1.10.0 1,913,475 5 months ago
1.10.0-rc.1 3,261 6 months ago
1.10.0-beta.1 13,624 7 months ago
1.9.0 13,574,294 6/14/2024
1.9.0-rc.1 199,226 6/7/2024
1.9.0-alpha.1 28,446 5/20/2024
1.8.1 4,627,354 4/18/2024
1.8.0 1,913,762 4/3/2024
1.8.0-rc.1 10,798 3/27/2024
1.8.0-beta.1 9,294 3/14/2024
1.7.0 7,135,022 12/9/2023
1.7.0-rc.1 53,574 11/30/2023
1.7.0-alpha.1 201,146 10/17/2023
1.6.0 6,392,426 9/6/2023
1.6.0-rc.1 171,774 8/21/2023
1.6.0-alpha.1 274,005 7/12/2023
1.5.1 3,755,588 6/26/2023
1.5.0 1,054,645 6/6/2023 1.5.0 is deprecated.
1.5.0-rc.1 45,801 5/26/2023
1.5.0-alpha.2 738,877 4/1/2023
1.5.0-alpha.1 114,949 3/8/2023
1.4.0 4,944,795 2/24/2023
1.4.0-rc.4 608,896 2/11/2023
1.4.0-rc.3 377,283 2/2/2023
1.4.0-rc.2 392,176 1/9/2023
1.4.0-rc.1 247,279 12/12/2022
1.4.0-beta.3 396,342 11/7/2022
1.4.0-beta.2 190,918 10/17/2022
1.4.0-beta.1 86,579 9/30/2022
1.4.0-alpha.2 323,393 8/18/2022
1.4.0-alpha.1 384,785 8/3/2022
1.3.2 1,720,358 12/20/2022
1.3.1 3,135,086 9/8/2022
1.3.0 2,750,376 6/3/2022
1.3.0-rc.2 35,692 6/1/2022
1.3.0-beta.2 72,383 5/17/2022
1.3.0-beta.1 166,466 4/20/2022
1.2.0 1,327,531 4/15/2022
1.2.0-rc5 68,198 4/13/2022
1.2.0-rc4 239,398 3/30/2022
1.2.0-rc3 217,985 3/5/2022
1.2.0-rc2 283,279 2/3/2022
1.2.0-rc1 789,887 11/30/2021
1.2.0-beta2.1 336,717 11/19/2021
1.2.0-beta1 203,970 10/8/2021
1.2.0-alpha4 5,155 9/23/2021
1.2.0-alpha3 4,752 9/14/2021
1.2.0-alpha2 18,451 8/25/2021
1.2.0-alpha1 111,161 7/23/2021
1.1.0 1,393,426 7/13/2021
1.1.0-rc1 88,902 6/26/2021
1.1.0-beta4 102,163 6/9/2021
1.1.0-beta3 6,438 5/12/2021
1.1.0-beta2 88,264 4/23/2021
1.1.0-beta1 51,219 3/19/2021
1.0.1 1,042,347 2/10/2021
1.0.0-rc4 9,332 2/9/2021
1.0.0-rc3 15,686 2/5/2021
1.0.0-rc2 8,041 1/30/2021
1.0.0-rc1.1 239,343 11/18/2020
0.8.0-beta.1 5,620 11/5/2020
0.7.0-beta.1 5,075 10/16/2020
0.6.0-beta.1 52,504 9/16/2020
0.5.0-beta.2 2,409 8/28/2020
0.4.0-beta.2 121,734 7/25/2020
0.3.0-beta.1 1,019 7/23/2020
0.2.0-alpha.275 97,401 5/19/2020
0.2.0-alpha.220 10,351 5/19/2020