This file contains individual changes for the OpenTelemetry.Exporter.Console package. For highlights and announcements covering all components see: Release Notes.
Released 2024-Nov-12
Released 2024-Nov-01
-
Added direct reference to
System.Text.Json
for thenet8.0
target with minimum version of8.0.5
in response to CVE-2024-30105 & CVE-2024-43485. (#5874, #5891) -
Added support for Instrumentation Scope Attributes (i.e ActivitySource.Tags) when writing traces to the console. (#5935)
Released 2024-Sep-30
Released 2024-Jun-14
Released 2024-Jun-07
- The experimental APIs previously covered by
OTEL1000
(LoggerProviderBuilder.AddConsoleExporter
extension) are now part of the public API and supported in stable builds. (#5648)
Released 2024-May-20
Released 2024-Apr-17
Released 2024-Apr-02
- Added support for
ActivitySource.Version
property. (#5472)
Released 2024-Mar-27
Released 2024-Mar-14
Released 2023-Dec-08
Released 2023-Nov-29
- Added support for Instrumentation Scope Attributes (i.e Meter.Tags), when writing metrics to the console, fixing issue #4563. (#5089)
Released 2023-Oct-16
Released 2023-Sep-05
Released 2023-Aug-21
Released 2023-Jul-12
-
Experimental (pre-release builds only):
-
Note: See #4735 for the introduction of experimental api support.
-
Add back support for Exemplars. See exemplars for instructions to enable exemplars. (#4553)
-
Updated to display
Severity
andSeverityText
text instead ofILogger.LogLevel
when exportingLogRecord
instances. (#4568) -
Added
LoggerProviderBuilder.AddConsoleExporter
registration extension. (#4583)
-
Released 2023-Jun-26
Released 2023-Jun-05
- Remove support for exporting
Exemplars
. This would be added back in the1.6.*
prerelease versions right after1.5.0
stable version is released. (#4533)
Released 2023-May-25
-
Add display of bucket boundaries when using exponential histograms. (#4507)
-
Added direct reference to
System.Text.Encodings.Web
with minimum version of4.7.2
in response to CVE-2021-26701. (#4390) -
Updated
LogRecord
console output:Body
is now shown (if set),StateValues
are now written asAttributes
, andState
is no longer processed. (#4334)
Released 2023-Mar-31
Released 2023-Mar-07
- Added Exemplar support. See exemplars for instructions to enable exemplars.
Released 2023-Feb-24
- Updated OTel SDK dependency to 1.4.0
Released 2023-Feb-10
Released 2023-Feb-01
Released 2023-Jan-09
Released 2022-Dec-12
- Bug fix to prevent ConsoleExporter from failing when exporting an
ActivityLink
without Tags. (#3932)
Released 2022-Nov-07
- Bumped the minimum required version of
System.Text.Json
to 4.7.2 in response to CVE-2021-26701. (#3789)
LogRecordExporter to print full exception details instead of just Message, when
using ILogger
to log exception.
(#3784)
Added support to print Histogram Min, Max in MetricExporter.
Released 2022-Oct-17
Released 2022-Sep-29
-
Changed the behavior of
ConsoleExporter
, the exporter will stop outputting the data if it is disposed. (#3578) -
Added overloads which accept a name to the
MeterProviderBuilder
AddConsoleExporter
extension to allow for more fine-grained options management (#3648) -
Added overloads which accept a name to the
TracerProviderBuilder
AddConsoleExporter
extension to allow for more fine-grained options management (#3657)
Released 2022-Aug-18
Released 2022-Aug-02
- The
MetricReaderOptions
defaults can be overridden usingOTEL_METRIC_EXPORT_INTERVAL
andOTEL_METRIC_EXPORT_TIMEOUT
environmental variables as defined in the specification. (#3424)
Released 2022-Jun-03
Released 2022-June-1
- Improve the conversion and formatting of attribute values.
The list of data types that must be supported per the
OpenTelemetry specification
is more narrow than what the .NET OpenTelemetry SDK supports. Numeric
built-in value types
are supported by converting to a
long
ordouble
as appropriate except for numeric types that could cause overflow (ulong
) or rounding (decimal
) which are converted to strings. Non-numeric built-in types -string
,char
,bool
are supported. All other types are converted to astring
. Array values are also supported. (#3311) - Fix conversion of array-valued attributes. They were previously converted to a string like "System.String[]". (#3311)
Released 2022-May-16
Released 2022-Apr-15
- Removes .NET Framework 4.6.1. The minimum .NET Framework version supported is .NET 4.6.2. (#3190)
Released 2022-Apr-15
Released 2022-Apr-12
Released 2022-Mar-30
-
Added StatusCode, StatusDescription support to
ConsoleActivityExporter
. (#2929 #3061) -
AddConsoleExporter
extension method by default sets up exporter to export metrics every 10 seconds.
Released 2022-Mar-04
- Removes metric related configuration options from
ConsoleExporterOptions
.MetricReaderType
,PeriodicExporterMetricReaderOptions
, andTemporality
are now configurable via theMetricReaderOptions
. (#2929)
Released 2022-Feb-02
Fix MetricExporter to respect Console and Debug flags.
Added Activity.Links
support to ConsoleActivityExporter
.
Released 2021-Nov-29
- Added configuration options for
MetricReaderType
to allow for configuring theConsoleMetricExporter
to export either manually or periodically. (#2648)
Released 2021-Nov-19
Released 2021-Oct-08
Released 2021-Sep-23
Released 2021-Sep-13
Released 2021-Aug-24
- Add Histogram Metrics support.
- Changed default temporality to be cumulative.
Released 2021-Jul-23
- Removes .NET Framework 4.5.2, .NET 4.6 support. The minimum .NET Framework version supported is .NET 4.6.1. (#2138)
- Add Metrics support.(#2174)
Released 2021-Jul-12
- Supports OpenTelemetry.Extensions.Hosting based configuration for
of
ConsoleExporterOptions
.
Released 2021-Jun-25
Released 2021-Jun-09
Released 2021-May-11
Released 2021-Apr-23
Released 2021-Mar-19
- Removed code that prints Baggage information (#1825)
- LogRecordExporter exports Message, Scope, StateValues from LogRecord. (#1871 #1895)
- Added Resource support. (#1913)
Released 2021-Feb-10
Released 2021-Feb-09
Released 2021-Feb-04
- Moved
ConsoleActivityExporter
andConsoleLogRecordExporter
classes toOpenTelemetry.Exporter
namespace. (#1770)
Released 2021-Jan-29
-
AddConsoleExporter
extension method for logs moved fromOpenTelemetry.Trace
namespace toOpenTelemetry.Logs
namespace. (#1576) -
Added
ConsoleActivityExporter
andConsoleLogExporter
. RefactoredConsoleExporter
to get rid of type specific check in the class (#1593) -
Replaced Debug.WriteLine with Trace.WriteLine to display the logs to the Debug window with Release configuration (#1719)
Released 2020-Nov-17
Released 2020-Nov-5
-
Add extension method to add
ConsoleExporter
for logs (#1452) -
Generalized
ConsoleExporter
to add support for logs (#1438)
Released 2020-Oct-16
Released 2020-Sep-15
Released 2020-08-28
- Changed
UseConsoleExporter
toAddConsoleExporter
, improved readability (#1051)
Released 2020-07-24
Released 2020-07-23
- Initial release