OpenTelemetry.Exporter.Console
1.11.0-rc.1
Prefix Reserved
dotnet add package OpenTelemetry.Exporter.Console --version 1.11.0-rc.1
NuGet\Install-Package OpenTelemetry.Exporter.Console -Version 1.11.0-rc.1
<PackageReference Include="OpenTelemetry.Exporter.Console" Version="1.11.0-rc.1" />
paket add OpenTelemetry.Exporter.Console --version 1.11.0-rc.1
#r "nuget: OpenTelemetry.Exporter.Console, 1.11.0-rc.1"
// Install OpenTelemetry.Exporter.Console as a Cake Addin #addin nuget:?package=OpenTelemetry.Exporter.Console&version=1.11.0-rc.1&prerelease // Install OpenTelemetry.Exporter.Console as a Cake Tool #tool nuget:?package=OpenTelemetry.Exporter.Console&version=1.11.0-rc.1&prerelease
Console Exporter for OpenTelemetry .NET
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:
- Logs: ASP.NET Core | Console
- Metrics: ASP.NET Core | Console
- Traces: ASP.NET Core | Console
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 | Versions 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. |
.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. |
-
.NETFramework 4.6.2
- OpenTelemetry (>= 1.11.0-rc.1)
- System.Text.Encodings.Web (>= 4.7.2)
- System.Text.Json (>= 4.7.2)
-
.NETStandard 2.0
- OpenTelemetry (>= 1.11.0-rc.1)
- System.Text.Encodings.Web (>= 4.7.2)
- System.Text.Json (>= 4.7.2)
-
net8.0
- OpenTelemetry (>= 1.11.0-rc.1)
- System.Text.Json (>= 8.0.5)
-
net9.0
- OpenTelemetry (>= 1.11.0-rc.1)
NuGet packages (131)
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 |
|
Genocs.Tracing
The tracing library to setup OpenTelemetry. |
|
devprime.stack.observability
DevPrime Observability |
|
Genocs.Monitoring
Telemetry and Tracing library. |
GitHub repositories (54)
Showing the top 5 popular GitHub repositories that depend on OpenTelemetry.Exporter.Console:
Repository | Stars |
---|---|
dotnet/runtime
.NET is a cross-platform runtime for cloud, mobile, desktop, and IoT apps.
|
|
dodyg/practical-aspnetcore
Practical samples of ASP.NET Core 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
|
|
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.
|
Version | Downloads | Last updated | |
---|---|---|---|
1.11.0-rc.1 | 487 | 12/12/2024 | |
1.10.0 | 380,286 | 11/12/2024 | |
1.10.0-rc.1 | 2,532 | 11/1/2024 | |
1.10.0-beta.1 | 8,790 | 9/30/2024 | |
1.9.0 | 7,249,943 | 6/14/2024 | |
1.9.0-rc.1 | 122,917 | 6/7/2024 | |
1.9.0-alpha.1 | 22,427 | 5/20/2024 | |
1.8.1 | 3,332,578 | 4/18/2024 | |
1.8.0 | 1,556,216 | 4/3/2024 | |
1.8.0-rc.1 | 10,121 | 3/27/2024 | |
1.8.0-beta.1 | 8,867 | 3/14/2024 | |
1.7.0 | 5,916,635 | 12/9/2023 | |
1.7.0-rc.1 | 48,157 | 11/30/2023 | |
1.7.0-alpha.1 | 192,979 | 10/17/2023 | |
1.6.0 | 5,743,582 | 9/6/2023 | |
1.6.0-rc.1 | 168,351 | 8/21/2023 | |
1.6.0-alpha.1 | 253,125 | 7/12/2023 | |
1.5.1 | 3,482,265 | 6/26/2023 | |
1.5.0 | 973,654 | 6/6/2023 | |
1.5.0-rc.1 | 38,410 | 5/26/2023 | |
1.5.0-alpha.2 | 700,802 | 4/1/2023 | |
1.5.0-alpha.1 | 112,109 | 3/8/2023 | |
1.4.0 | 4,648,067 | 2/24/2023 | |
1.4.0-rc.4 | 589,445 | 2/11/2023 | |
1.4.0-rc.3 | 351,351 | 2/2/2023 | |
1.4.0-rc.2 | 381,187 | 1/9/2023 | |
1.4.0-rc.1 | 241,413 | 12/12/2022 | |
1.4.0-beta.3 | 386,028 | 11/7/2022 | |
1.4.0-beta.2 | 177,842 | 10/17/2022 | |
1.4.0-beta.1 | 84,526 | 9/30/2022 | |
1.4.0-alpha.2 | 318,052 | 8/18/2022 | |
1.4.0-alpha.1 | 371,248 | 8/3/2022 | |
1.3.2 | 1,585,181 | 12/20/2022 | |
1.3.1 | 2,992,524 | 9/8/2022 | |
1.3.0 | 2,635,838 | 6/3/2022 | |
1.3.0-rc.2 | 35,314 | 6/1/2022 | |
1.3.0-beta.2 | 71,507 | 5/17/2022 | |
1.3.0-beta.1 | 161,348 | 4/20/2022 | |
1.2.0 | 1,264,549 | 4/15/2022 | |
1.2.0-rc5 | 67,889 | 4/13/2022 | |
1.2.0-rc4 | 231,389 | 3/30/2022 | |
1.2.0-rc3 | 215,145 | 3/5/2022 | |
1.2.0-rc2 | 270,005 | 2/3/2022 | |
1.2.0-rc1 | 767,039 | 11/30/2021 | |
1.2.0-beta2.1 | 325,598 | 11/19/2021 | |
1.2.0-beta1 | 201,117 | 10/8/2021 | |
1.2.0-alpha4 | 5,087 | 9/23/2021 | |
1.2.0-alpha3 | 4,672 | 9/14/2021 | |
1.2.0-alpha2 | 17,454 | 8/25/2021 | |
1.2.0-alpha1 | 109,813 | 7/23/2021 | |
1.1.0 | 1,370,963 | 7/13/2021 | |
1.1.0-rc1 | 87,818 | 6/26/2021 | |
1.1.0-beta4 | 101,776 | 6/9/2021 | |
1.1.0-beta3 | 6,340 | 5/12/2021 | |
1.1.0-beta2 | 87,821 | 4/23/2021 | |
1.1.0-beta1 | 50,756 | 3/19/2021 | |
1.0.1 | 983,107 | 2/10/2021 | |
1.0.0-rc4 | 9,239 | 2/9/2021 | |
1.0.0-rc3 | 15,631 | 2/5/2021 | |
1.0.0-rc2 | 7,947 | 1/30/2021 | |
1.0.0-rc1.1 | 235,874 | 11/18/2020 | |
0.8.0-beta.1 | 5,563 | 11/5/2020 | |
0.7.0-beta.1 | 5,012 | 10/16/2020 | |
0.6.0-beta.1 | 52,254 | 9/16/2020 | |
0.5.0-beta.2 | 2,352 | 8/28/2020 | |
0.4.0-beta.2 | 120,377 | 7/25/2020 | |
0.3.0-beta.1 | 944 | 7/23/2020 | |
0.2.0-alpha.275 | 96,389 | 5/19/2020 | |
0.2.0-alpha.220 | 10,272 | 5/19/2020 |
For highlights and announcements see: https://github.com/open-telemetry/opentelemetry-dotnet/blob/core-1.11.0-rc.1/RELEASENOTES.md.
For detailed changes see: https://github.com/open-telemetry/opentelemetry-dotnet/blob/core-1.11.0-rc.1/src/OpenTelemetry.Exporter.Console/CHANGELOG.md.