Note: the metrics work is happening in the metrics feature branch, please check the latest changes here.
-
Added
TracerProviderOptionsandSetErrorStatusOnException. (#1858) -
Added
ForceFlushtoTracerProvider. (#1837) -
Added a TracerProvierBuilder extension method called
AddLegacyActivityOperationNamewhich is used by instrumentation libraries that use DiagnosticSource to get activities processed without ActivitySourceAdapter. (#1836) -
Added new constructor with optional parameters to allow customization of
ParentBasedSamplerbehavior. (#1727) -
The application base directory is now tested after the current directory when searching for the self diagnostic configuration file. (#1865)
-
Resource Attributes now accept primitive arrays as values. (#1852)
Released 2021-Feb-10
Released 2021-Feb-09
Released 2021-Feb-04
- Default
Resourcewill now contain service.name instead of Telemetry SDK. #1744 - Added GetDefaultResource() method to
Provider. #1768
Released 2021-Jan-29
- The following extension methods on
ResourceBuilderhas been moved from theOpenTelemetrynamespace to theOpenTelemetry.Resourcesnamespace:AddEnvironmentVariableDetector,AddAttributes,AddService, andAddTelemetrySdk. (#1576) - Metrics API/SDK support is in an experimental state and is not recommended for
production use. All metric APIs have been marked with the
Obsoleteattribute. See #1501 for more information. (#1611) - Modified SimpleExportProcessor and BatchExportProcessor to abstract classes; Added SimpleActivityExportProcessor, SimpleLogRecordExportProcessor, BatchActivityExportProcessor, BatchLogRecordExportProcessor; Added the check for Activity.Recorded in SimpleActivityExportProcessor and BatchActivityExportProcessor (#1622)
- Added check in
ActivitySourceAdapterclass for root activity if traceid is overridden by callingSetParentId(#1355) - Resource Attributes now accept int, short, and float as values, converting them to supported data types (long for int/short, double for float). For invalid attributes we now throw an exception instead of logging an error. (#1720)
- Merging "this" resource with an "other" resource now prioritizes the "other" resource's attributes in a conflict. We've rectified to follow a recent change to the spec. We previously prioritized "this" resource's tags. (#1728)
BatchExportProcessorwill now flush any remaining spans left in aBatchafter the export operation has completed. (#1726)- Fixed a bug to allow the Self Diagnostics log file to be opened simutaneously by another process in read-only mode for .NET Framework. (#1693)
- Metrics removed as it is not part 1.0.0 release. See issue #1501 for details on Metric release plans.
- Fix Resource attribute telemetry.sdk.version to have correct file version.
Released 2020-Nov-17
- Removed
GetResourceandSetResourceActivityextension methods. AddedGetResourceextension method onBaseProvider(#1463) - Added
ParentProviderproperty onBaseProcessorandBaseExporterclasses. (#1463) Resourceis no longer added to observedActivityobjects as aCustomProperty. (#1463)- Removed
ReentrantExportProcessoras it is not required by spec. (#1496) ActivitySourceAdaptersupports settingActivitySourcefor Activities created withoutActivitySource. (#1515)- Implemented
ShutdownforTracerProvider. (#1489) Resources.CreateServiceResourcehas been removed in favor of theResourceBuilderAPI. (#1533)TracerProviderBuilder.SetResourcehas been changed toTracerProviderBuilder.SetResourceBuilder. (#1533)- By default
TracerProviderwill set aResourcecontaining Telemetry SDK details (#1533):telemetry.sdk.name=opentelemetrytelemetry.sdk.language=dotnettelemetry.sdk.version= [SDK version]
Resourceconstructor marked as internal, asResourceBuilderis the recommended API to build resources. (#1566)- Changed BaseExportProcessor to have it override OnExport instead of OnEnd; Added check for ActivityTraceFlags to BaseExportProcessor OnEnd (#1574)
Released 2020-Nov-5
- TracerProviderBuilder API changes Renamed AddInstrumentation to AddDiagnosticSourceInstrumentation and made internal. Added AddInstrumentation (#1454)
- DiagnosticSource subscription helper classes (DiagnosticSourceSubscriber, ListenerHandler,PropertyFetcher) are made internal.
Released 2020-Oct-16
- Changed
ActivityExporter.OnShutdown,ActivityExporter.Shutdown,ActivityProcessor.OnShutdownandActivityProcessor.Shutdownto return boolean value (#1282) (#1285) - Renamed
SamplingDecisionoptions (NotRecordtoDrop,RecordtoRecordOnly, andRecordAndSampledtoRecordAndSample) (#1297) - Added
ILogger/Microsoft.Extensions.Loggingintegration (#1308) (#1315) - Changed exporter and processor to generic types
(#1328):
ActivityExporterchanged toBaseExporter<Activity>ActivityProcessorchanged toBaseProcessor<Activity>BatchExportActivityProcessorchanged toBatchExportProcessor<Activity>ReentrantExportActivityProcessorchanged toReentrantExportProcessor<Activity>SimpleExportActivityProcessorchanged toSimpleExportProcessor<Activity>
Released 2020-Sep-15
- Fixes 953
- Changes arising from
DiagnosticSourcechanges (#1203) PropertyFetcheris now public (#1232)PropertyFetcherchanged toPropertyFetcher<T>(#1238)
Released 2020-08-28
- Changed
ActivityProcessorto implementIDisposable(#975) - Samplers now get the actual TraceId of the Activity to be created. (#1007)
- Changed the default sampler from
AlwaysOntoParentOrElse(AlwaysOn)to match the spec (#1013) - Added
SuppressInstrumentationScopeAPI (#988 #1067) - Changed
BroadcastActivityProcessortoFanOutActivityProcessor(#1015) - Changed
TracerProviderBuilderandTracerProviderSdkdesign to simply the flow and usage (#1008 #1027 #1035) - Changed
AddActivitySourcetoAddSourcewith params support (#1036) - Modified Sampler implementation to match the spec (#1037)
- Refactored simple export and batch export APIs (#1078 #1081 #1083 #1085 #1087 #1094 #1113 #1127 #1129 #1135)
- Changed
MeterProviderBuilderandMeterProviderSdkdesign to simply the flow and usage (#1149) - Renamed
ParentOrElseSamplertoParentBasedSampler(#1173) - Renamed
ProbabilitySamplertoTraceIdRatioBasedSampler(#1174)
Released 2020-07-24
- First beta release
Released 2020-07-23
- Initial release