OpenTelemetry.Exporter.Console 1.11.0-rc.1
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
Showing the top 20 packages that depend on OpenTelemetry.Exporter.Console.
Packages | Downloads |
---|---|
Honeycomb.OpenTelemetry
Honeycomb's OpenTelemetry SDK
|
6 |
Honeycomb.OpenTelemetry
Honeycomb's OpenTelemetry SDK
|
7 |
Honeycomb.OpenTelemetry
Honeycomb's OpenTelemetry SDK
|
9 |
Honeycomb.OpenTelemetry
Honeycomb's OpenTelemetry SDK
|
10 |
Honeycomb.OpenTelemetry
Honeycomb's OpenTelemetry SDK
|
11 |
Honeycomb.OpenTelemetry
Honeycomb's OpenTelemetry SDK
|
12 |
.NET Framework 4.6.2
- OpenTelemetry (>= 1.11.0-rc.1)
- System.Text.Encodings.Web (>= 4.7.2)
- System.Text.Json (>= 4.7.2)
.NET 8.0
- OpenTelemetry (>= 1.11.0-rc.1)
- System.Text.Json (>= 8.0.5)
.NET 9.0
- OpenTelemetry (>= 1.11.0-rc.1)
.NET Standard 2.0
- OpenTelemetry (>= 1.11.0-rc.1)
- System.Text.Encodings.Web (>= 4.7.2)
- System.Text.Json (>= 4.7.2)
Version | Downloads | Last updated |
---|---|---|
1.11.0-rc.1 | 2 | 12/24/2024 |
1.10.0 | 7 | 11/14/2024 |
1.10.0-rc.1 | 6 | 12/09/2024 |
1.10.0-beta.1 | 4 | 12/11/2024 |
1.9.0 | 4 | 12/01/2024 |
1.9.0-rc.1 | 4 | 12/11/2024 |
1.9.0-alpha.1 | 10 | 05/29/2024 |
1.8.1 | 9 | 05/29/2024 |
1.8.0 | 7 | 05/29/2024 |
1.8.0-rc.1 | 11 | 05/29/2024 |
1.8.0-beta.1 | 7 | 05/29/2024 |
1.7.0 | 6 | 05/29/2024 |
1.7.0-rc.1 | 6 | 05/29/2024 |
1.7.0-alpha.1 | 5 | 05/29/2024 |
1.6.0 | 5 | 05/29/2024 |
1.6.0-rc.1 | 8 | 05/29/2024 |
1.6.0-alpha.1 | 9 | 05/29/2024 |
1.5.1 | 7 | 07/20/2023 |
1.5.0 | 5 | 05/29/2024 |
1.5.0-rc.1 | 3 | 05/29/2024 |
1.5.0-alpha.2 | 9 | 05/29/2024 |
1.5.0-alpha.1 | 7 | 05/29/2024 |
1.4.0 | 4 | 12/12/2024 |
1.4.0-rc.4 | 5 | 05/29/2024 |
1.4.0-rc.3 | 7 | 05/15/2024 |
1.4.0-rc.2 | 7 | 05/29/2024 |
1.4.0-rc.1 | 6 | 05/29/2024 |
1.4.0-beta.3 | 8 | 05/29/2024 |
1.4.0-beta.2 | 6 | 05/29/2024 |
1.4.0-beta.1 | 3 | 05/29/2024 |
1.4.0-alpha.2 | 7 | 05/29/2024 |
1.4.0-alpha.1 | 5 | 05/29/2024 |
1.3.2 | 12 | 05/29/2024 |
1.3.1 | 8 | 05/29/2024 |
1.3.0 | 6 | 05/29/2024 |
1.3.0-rc.2 | 7 | 05/29/2024 |
1.3.0-beta.2 | 10 | 05/29/2024 |
1.3.0-beta.1 | 6 | 05/29/2024 |
1.2.0 | 5 | 05/29/2024 |
1.2.0-rc5 | 6 | 05/29/2024 |
1.2.0-rc4 | 9 | 05/29/2024 |
1.2.0-rc3 | 9 | 05/29/2024 |
1.2.0-rc2 | 6 | 05/29/2024 |
1.2.0-rc1 | 7 | 05/29/2024 |
1.2.0-beta2.1 | 10 | 05/29/2024 |
1.2.0-beta1 | 6 | 05/29/2024 |
1.2.0-alpha4 | 8 | 05/29/2024 |
1.2.0-alpha3 | 10 | 05/23/2024 |
1.2.0-alpha2 | 6 | 05/29/2024 |
1.2.0-alpha1 | 4 | 12/15/2024 |
1.1.0 | 6 | 05/29/2024 |
1.1.0-rc1 | 6 | 05/29/2024 |
1.1.0-beta4 | 6 | 05/29/2024 |
1.1.0-beta3 | 9 | 05/29/2024 |
1.1.0-beta2 | 8 | 05/29/2024 |
1.1.0-beta1 | 7 | 05/29/2024 |
1.0.1 | 10 | 05/29/2024 |
1.0.0-rc4 | 5 | 05/29/2024 |
1.0.0-rc3 | 6 | 05/29/2024 |
1.0.0-rc2 | 6 | 05/29/2024 |
1.0.0-rc1.1 | 5 | 05/29/2024 |
0.8.0-beta.1 | 8 | 05/29/2024 |
0.7.0-beta.1 | 9 | 05/29/2024 |
0.6.0-beta.1 | 7 | 05/29/2024 |
0.5.0-beta.2 | 5 | 05/29/2024 |
0.4.0-beta.2 | 6 | 05/29/2024 |
0.3.0-beta.1 | 8 | 05/29/2024 |
0.2.0-alpha.275 | 7 | 05/29/2024 |
0.2.0-alpha.220 | 7 | 05/29/2024 |