Skip to content

0.5.0-beta.2

Pre-release
Pre-release
Compare
Choose a tag to compare
@cijothomas cijothomas released this 28 Aug 20:52
465fc09

2nd beta release of all the packages.

Changelog

OpenTelemetry

  • 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)

OpenTelemetry.Api

  • Link and TelemetrySpan are using SpanAttributes instead of
    ActivityTagsCollection or Dictionary
    (#1120)
  • Added RecordException in TelemetrySpan
    (#1116)
  • PropagationContext is now used instead of ActivityContext in the
    ITextFormat API
    (#1048)
  • Added BaggageFormat an ITextFormat implementation for managing Baggage
    propagation via the W3C
    Baggage

    header
    (#1048)
  • Removed DistributedContext as it is no longer part of the spec
    (#1048))
  • Renaming from ot to otel
    (#1046)
  • Added RuntimeContext API
    (#948)
  • Changed Link constructor to accept ActivityTagsCollection instead of
    IDictionary<string, object> attributes
    (#954)
  • Added more TelemetrySpan.SetAttribute overloads with value of type bool,
    int, double (string already existed)
    (#954)
  • Changed TelemetrySpan.SetAttribute to match the spec
    (#954)
    • Setting an attribute with an existing key now results in overwriting it
    • Setting null value has no impact except if null is set to an existing key,
      it gets removed
  • Changed HttpStatusCode in all spans attribute (http.status_code) to use int
    value
    (#998)
  • Added CompositePropagator which accepts a list of ITextFormat to match the
    spec (#923)
  • Replaced ITextFormatActivity with ITextFormat
    (#923)
  • Added StartRootSpan and StartActiveSpan
    (#994)
  • Changed StartSpan to not set the created span as Active to match the spec
    (#994)
  • Updated System.Diagnostics.DiagnosticSource to version 5.0.0-preview.8.20407.11.
  • Removed CorrelationContext and added Baggage, an implementation of the
    Baggage API
    spec
    (#1106)
  • Renamed TraceContextFormat to TextMapPropagator, BaggageFormat to
    BaggagePropagator, and B3Format to B3Propagator
    (#1175)
  • Renamed ITextPropagator to IPropagator
    (#1190)

OpenTelemetry.Exporter.Console

  • Changed UseConsoleExporter to AddConsoleExporter, improved readability
    (#1051)

OpenTelemetry.Exporter.Jaeger

  • Changed JaegerExporter to use BatchExportActivityProcessor by default
    (#1125)

  • Span links will now be sent as FOLLOWS_FROM reference type. Previously they
    were sent as CHILD_OF.
    (#970)

  • Renamed extension method from UseJaegerExporter to AddJaegerExporter.

OpenTelemetry.Exporter.OpenTelemetryProtocol

  • Allow configurable gRPC channel options
    (#1033)
  • Renamed extension method from UseOtlpExporter to AddOtlpExporter
    (#1066)
  • Changed OtlpExporter to use BatchExportActivityProcessor by default
    (#1104)

OpenTelemetry.Exporter.Prometheus

OpenTelemetry.Exporter.Zipkin

  • Renamed extension method from UseZipkinExporter to AddZipkinExporter
    (#1066)
  • Changed ZipkinExporter to use BatchExportActivityProcessor by default
    (#1103)
  • Fixed issue when span has both the net.peer.name and net.peer.port
    attributes but did not include net.peer.port in the service address field
    (#1168).

OpenTelemetry.Exporter.ZPages

  • Renamed extension method from UseZPagesExporter to AddZPagesExporter
    (#1066)
  • Changed ZPagesExporter to use ZPagesProcessor by default
    (#1108)

OpenTelemetry.Extensions.Hosting

  • Renamed all extension methods from AddOpenTelemetry to AddOpenTelemetryTracerProvider

OpenTelemetry.Instrumentation.AspNet

  • Added Filter public API on AspNetInstrumentationOptions to allow
    filtering of instrumentation based on HttpContext.

  • Asp.Net Instrumentation automatically populates HttpRequest, HttpResponse in
    Activity custom property

  • Changed the default propagation to support W3C Baggage
    (#1048)

    • The default ITextFormat is now CompositePropagator(TraceContextFormat, BaggageFormat). Baggage sent via the W3C
      Baggage

      header will now be parsed and set on incoming Http spans.
  • Renamed ITextPropagator to IPropagator
    (#1190)

OpenTelemetry.Instrumentation.AspNetCore

  • Added Filter public API on AspNetCoreInstrumentationOptions to allow
    filtering of instrumentation based on HttpContext.

  • Asp.Net Core Instrumentation automatically populates HttpRequest,
    HttpResponse in Activity custom property

  • Changed the default propagation to support W3C Baggage
    (#1048)

    • The default ITextFormat is now CompositePropagator(TraceContextFormat, BaggageFormat). Baggage sent via the W3C
      Baggage

      header will now be parsed and set on incoming Http spans.
  • Introduced support for Grpc.AspNetCore (#803).

    • Attributes are added to gRPC invocations: rpc.system, rpc.service,
      rpc.method. These attributes are added to an existing span generated by
      the instrumentation. This is unlike the instrumentation for client-side gRPC
      calls where one span is created for the gRPC call and a separate span is
      created for the underlying HTTP call in the event both gRPC and HTTP
      instrumentation are enabled.
  • Renamed ITextPropagator to IPropagator
    (#1190)

OpenTelemetry.Instrumentation.GrpcNetClient

  • NuGet package renamed to OpenTelemetry.Instrumentation.GrpcNetClient to
    more clearly indicate that this package is specifically for gRPC client
    instrumentation. The package was previously named
    OpenTelemetry.Instrumentation.Grpc.
    (#1136)
  • Grpc.Net.Client Instrumentation automatically populates HttpRequest in
    Activity custom property
    (#1099)
    (#1128)

OpenTelemetry.Instrumentation.Http

  • Rename FilterFunc to Filter.

  • HttpClient/HttpWebRequest instrumentation will now add the raw Request,
    Response, and/or Exception objects to the Activity it creates
    (#1099)

  • Changed the default propagation to support W3C Baggage
    (#1048)

    • The default ITextFormat is now CompositePropagator(TraceContextFormat, BaggageFormat). Outgoing Http request will now send Baggage using the W3C
      Baggage

      header. Previously Baggage was sent using the Correlation-Context header,
      which is now outdated.
  • Removed AddHttpInstrumentation and AddHttpWebRequestInstrumentation (.NET
    Framework) TracerProviderBuilderExtensions. AddHttpClientInstrumentation
    will now register HttpClient instrumentation on .NET Core and HttpClient +
    HttpWebRequest instrumentation on .NET Framework.

  • Renamed ITextPropagator to IPropagator
    (#1190)

OpenTelemetry.Instrumentation.SqlClient

  • .NET Core SqlClient instrumentation will now add the raw Command object to the
    Activity it creates
    (#1099)
  • Renamed from AddSqlClientDependencyInstrumentation to
    AddSqlClientInstrumentation

OpenTelemetry.Instrumentation.StackExchangeRedis

OpenTelemetry.Shims.OpenTracing

  • Renamed ITextPropagator to IPropagator
    (#1190)