Skip to content

Latest commit

 

History

History
231 lines (194 loc) · 11.5 KB

File metadata and controls

231 lines (194 loc) · 11.5 KB

Changelog

Experimental - Metrics

Note: the metrics work is happening in the metrics feature branch, please check the latest changes here.

Unreleased

  • Added TracerProviderOptions and SetErrorStatusOnException. (#1858)

  • Added ForceFlush to TracerProvider. (#1837)

  • Added a TracerProvierBuilder extension method called AddLegacyActivityOperationName which 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 ParentBasedSampler behavior. (#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)

1.0.1

Released 2021-Feb-10

1.0.0-rc4

Released 2021-Feb-09

1.0.0-rc3

Released 2021-Feb-04

  • Default Resource will now contain service.name instead of Telemetry SDK. #1744
  • Added GetDefaultResource() method to Provider. #1768

1.0.0-rc2

Released 2021-Jan-29

  • The following extension methods on ResourceBuilder has been moved from the OpenTelemetry namespace to the OpenTelemetry.Resources namespace: AddEnvironmentVariableDetector, AddAttributes, AddService, and AddTelemetrySdk. (#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 Obsolete attribute. 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 ActivitySourceAdapter class for root activity if traceid is overridden by calling SetParentId (#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)
  • BatchExportProcessor will now flush any remaining spans left in a Batch after 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.

1.0.0-rc1.1

Released 2020-Nov-17

  • Removed GetResource and SetResource Activity extension methods. Added GetResource extension method on BaseProvider (#1463)
  • Added ParentProvider property on BaseProcessor and BaseExporter classes. (#1463)
  • Resource is no longer added to observed Activity objects as a CustomProperty. (#1463)
  • Removed ReentrantExportProcessor as it is not required by spec. (#1496)
  • ActivitySourceAdapter supports setting ActivitySource for Activities created without ActivitySource. (#1515)
  • Implemented Shutdown for TracerProvider. (#1489)
  • Resources.CreateServiceResource has been removed in favor of the ResourceBuilder API. (#1533)
  • TracerProviderBuilder.SetResource has been changed to TracerProviderBuilder.SetResourceBuilder. (#1533)
  • By default TracerProvider will set a Resource containing Telemetry SDK details (#1533):
    • telemetry.sdk.name = opentelemetry
    • telemetry.sdk.language = dotnet
    • telemetry.sdk.version = [SDK version]
  • Resource constructor marked as internal, as ResourceBuilder is 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)

0.8.0-beta.1

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.

0.7.0-beta.1

Released 2020-Oct-16

  • Changed ActivityExporter.OnShutdown, ActivityExporter.Shutdown, ActivityProcessor.OnShutdown and ActivityProcessor.Shutdown to return boolean value (#1282) (#1285)
  • Renamed SamplingDecision options (NotRecord to Drop, Record to RecordOnly, and RecordAndSampled to RecordAndSample) (#1297)
  • Added ILogger/Microsoft.Extensions.Logging integration (#1308) (#1315)
  • Changed exporter and processor to generic types (#1328):
    • ActivityExporter changed to BaseExporter<Activity>
    • ActivityProcessor changed to BaseProcessor<Activity>
    • BatchExportActivityProcessor changed to BatchExportProcessor<Activity>
    • ReentrantExportActivityProcessor changed to ReentrantExportProcessor<Activity>
    • SimpleExportActivityProcessor changed to SimpleExportProcessor<Activity>

0.6.0-beta.1

Released 2020-Sep-15

  • Fixes 953
  • Changes arising from DiagnosticSource changes (#1203)
  • PropertyFetcher is now public (#1232)
  • PropertyFetcher changed to PropertyFetcher<T> (#1238)

0.5.0-beta.2

Released 2020-08-28

  • Changed ActivityProcessor to implement IDisposable (#975)
  • Samplers now get the actual TraceId of the Activity to be created. (#1007)
  • Changed the default sampler from AlwaysOn to ParentOrElse(AlwaysOn) to match the spec (#1013)
  • Added SuppressInstrumentationScope API (#988 #1067)
  • Changed BroadcastActivityProcessor to FanOutActivityProcessor (#1015)
  • Changed TracerProviderBuilder and TracerProviderSdk design to simply the flow and usage (#1008 #1027 #1035)
  • Changed AddActivitySource to AddSource with 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 MeterProviderBuilder and MeterProviderSdk design to simply the flow and usage (#1149)
  • Renamed ParentOrElseSampler to ParentBasedSampler (#1173)
  • Renamed ProbabilitySampler to TraceIdRatioBasedSampler (#1174)

0.4.0-beta.2

Released 2020-07-24

  • First beta release

0.3.0-beta

Released 2020-07-23

  • Initial release