Releases: open-telemetry/opentelemetry-dotnet
1.0.0-rc5
1.1.0-beta4
No changes since 1.1.0-beta3. Releasing to fix a versioning issue for instrumentation.
1.1.0-beta3 core components
OpenTelemetry
-
AddLegacySource()
moved out ofTracerProviderBuilderExtensions
and into
public API
(#2019) -
Fixed an issue causing inconsistent log scopes when using
BatchLogRecordExportProcessor
. To make parsing scopes easier the
LogRecord.ForEachScope
signature has been changed to receive instances of
LogRecordScope
(a new type which implements
IEnumerator<KeyValuePair<string, object>>
for accessing scope items)
(#2026)
OpenTelemetry.Api
- Adds
AddLegacySource()
toTracerProviderBuilder
(#2019)
OpenTelemetry.Exporter.Console
OpenTelemetry.Exporter.InMemory
OpenTelemetry.Exporter.Jaeger
OpenTelemetry.Exporter.OpenTelemetryProtocol
OpenTelemetry.Exporter.Zipkin
1.0.0-rc4 of all non-core components
OpenTelemetry.Extensions.Hosting
- Added
AddInstrumentation<T>
,AddProcessor<T>
,SetSampler<T>
, and
Configure
extensions to support dependency injection through the
OpenTelemetry.Extensions.HostingTracerProviderBuilder
.
(#1889)
OpenTelemetry.Instrumentation.AspNet
- Sanitize
http.url
attribute. (#1961)
OpenTelemetry.Instrumentation.AspNetCore
- When using OpenTelemetry.Extensions.Hosting you can now bind
AspNetCoreInstrumentationOptions
from DI.
(#1997)
OpenTelemetry.Instrumentation.GrpcNetClient
OpenTelemetry.Instrumentation.Http
- Sanitize
http.url
attribute.
(#1961) - Added
RecordException
to HttpClientInstrumentationOptions and
HttpWebRequestInstrumentationOptions which allows Exception to be reported as
ActivityEvent. - Update
AddHttpClientInstrumentation
extension method for .NET Framework to
use only useHttpWebRequestInstrumentationOptions
(#1982)
OpenTelemetry.Instrumentation.SqlClient
- Instrumentation modified to depend only on the API.
- Activities are now created with the
db.system
attribute set for usage
during sampling. (#1979)
OpenTelemetry.Instrumentation.StackExchangeRedis
- Activities are now created with the
db.system
attribute set for usage
during sampling. (#1984)
1.1.0-beta2 release of core components
OpenTelemetry
- Use
AssemblyFileVersionAttribute
instead ofFileVersionInfo.GetVersionInfo
to get the SDK version attribute to ensure that it works when the assembly
is not loaded directly from a file on disk
(#1908)
OpenTelemetry.Api
BaggagePropagator
now usesbaggage
as the header name instead ofBaggage
toExtract
from andInject
tocarrier
(#2003)
OpenTelemetry.Exporter.Console
OpenTelemetry.Exporter.InMemory
OpenTelemetry.Exporter.Jaeger
- When using OpenTelemetry.Extensions.Hosting you can now bind
JaegerExporterOptions
toIConfiguration
using theConfigure
extension
(ex:
services.Configure<JaegerExporterOptions>(this.Configuration.GetSection("Jaeger"));
).
(#1889) - Fixed data corruption when creating Jaeger Batch messages
(#1372)
OpenTelemetry.Exporter.OpenTelemetryProtocol
-
Resolves
System.TypeInitializationException
exception when using the
exporter with an application that references Google.Protobuf 3.15. The OTLP
exporter now depends on Google.Protobuf 3.15.5 enabling the use of the new
UnsafeByteOperations.UnsafeWrap
to avoid unnecessary allocations.
(#1873) -
Null values in string arrays are preserved according to
spec.
(#1919) and
(#1945). -
When using OpenTelemetry.Extensions.Hosting you can now bind
OtlpExporterOptions
toIConfiguration
using theConfigure
extension (ex:
services.Configure<OtlpExporterOptions>(this.Configuration.GetSection("Otlp"));
).
(#1942)
OpenTelemetry.Exporter.Zipkin
- When using OpenTelemetry.Extensions.Hosting you can now bind
ZipkinExporterOptions
toIConfiguration
using theConfigure
extension
(ex:
services.Configure<ZipkinExporterOptions>(this.Configuration.GetSection("Zipkin"));
).
(#1889)
1.0.0-rc3 of all non-core components
OpenTelemetry.Extensions.Hosting
OpenTelemetry.Instrumentation.AspNet
- Leverages added AddLegacySource API from OpenTelemetry SDK to trigger Samplers
and ActivityProcessors. Samplers, ActivityProcessor.OnStart will now get the
Activity before any enrichment done by the instrumentation.
(#1836) - Performance optimization by leveraging sampling decision and short circuiting
activity enrichment.
(#1903)
OpenTelemetry.Instrumentation.AspNetCore
- Leverages added AddLegacySource API from OpenTelemetry SDK to trigger Samplers
and ActivityProcessors. Samplers, ActivityProcessor.OnStart will now get the
Activity before any enrichment done by the instrumentation.
(#1836) - Performance optimization by leveraging sampling decision and short circuiting
activity enrichment.Filter
andEnrich
are now only called if
activity.IsAllDataRequested
istrue
(#1899)
OpenTelemetry.Instrumentation.GrpcNetClient
- Leverages added AddLegacySource API from OpenTelemetry SDK to trigger Samplers
and ActivityProcessors. Samplers, ActivityProcessor.OnStart will now get the
Activity before any enrichment done by the instrumentation.
(#1836) - Performance optimization by leveraging sampling decision and short circuiting
activity enrichment.
(#1903)
OpenTelemetry.Instrumentation.Http
- Leverages added AddLegacySource API from OpenTelemetry SDK to trigger Samplers
and ActivityProcessors. Samplers, ActivityProcessor.OnStart will now get the
Activity before any enrichment done by the instrumentation.
(#1836) - Performance optimization by leveraging sampling decision and short circuiting
activity enrichment.
(#1903)
OpenTelemetry.Instrumentation.SqlClient
OpenTelemetry.Instrumentation.StackExchangeRedis
OpenTelemetry.Shims.OpenTracing
1.1.0-beta1 release of core components
OpenTelemetry
-
Removed SuppressScope Increment/Decrement from DiagnosticSourceListeners.
(1893) -
Added
TracerProviderBuilder.SetErrorStatusOnException
which automatically
sets the activity status toError
when exception happened.
(#1858
#1875) -
Added
ForceFlush
toTracerProvider
.
(#1837) -
Added a TracerProviderBuilder extension method called
AddLegacySource
which
is used by instrumentation libraries that use DiagnosticSource to get
activities processed without ActivitySourceAdapter.
#1836
#1860 -
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) -
Fixed
#1846:
ParentBasedSampler
will no longer explicitly consider Activity links.
(#1851) -
Added
IncludeScopes
,IncludeFormattedMessage
, &ParseStateValues
on
OpenTelemetryLoggerOptions
. AddedFormattedMessage
,StateValues
, &
ForEachScope
onLogRecord
.
(#1869 &
#1883) -
Added
SetResourceBuilder
support toOpenTelemetryLoggerOptions
.
(#1913)
OpenTelemetry.Api
OpenTelemetry.Exporter.Console
- Removed code that prints Baggage information
(#1825) - LogRecordExporter exports Message, Scope, StateValues from LogRecord.
(#1871
#1895) - Added Resource support.
(#1913)
OpenTelemetry.Exporter.InMemory
OpenTelemetry.Exporter.Jaeger
OpenTelemetry.Exporter.OpenTelemetryProtocol
OpenTelemetry.Exporter.Zipkin
1.0 release of core components
This is the 1st stable release of core components. This implements the 1.0 of the OpenTelemetry specification.
This has no change since the last release-candidate (rc4).
Following lists the components released:
OpenTelemetry
OpenTelemetry.Api
OpenTelemetry.Exporter.Console
OpenTelemetry.Exporter.InMemory
OpenTelemetry.Exporter.Jaeger
OpenTelemetry.Exporter.OpenTelemetryProtocol
OpenTelemetry.Exporter.Zipkin
Please note that the actual nuget version is 1.0.1
1.0.0-rc4
This is the same bits as rc3 for all the packages, except for OTLPExporter which has added TLS support.
OpenTelemetry
OpenTelemetry.Api
OpenTelemetry.Exporter.Console
OpenTelemetry.Exporter.InMemory
OpenTelemetry.Exporter.Jaeger
OpenTelemetry.Exporter.OpenTelemetryProtocol
- Add back support for secure gRPC connections over https.
(#1804)
OpenTelemetry.Exporter.Zipkin
1.0.0-rc3
1.0.0-rc3 is the final "ReleaseCandidate" before 1.0.0 stable release. Only those components which have its spec marked stable are included in this release.
OpenTelemetry
- Default
Resource
will now contain service.name instead of Telemetry SDK.
#1744 - Added GetDefaultResource() method to
Provider
.
#1768
OpenTelemetry.Api
- Relax System.* packages version requirement to remove upper bound.
- Require System.Diagnostics.DiagnosticSource package 5.0.1.
OpenTelemetry.Exporter.Console
- Moved
ConsoleActivityExporter
andConsoleLogRecordExporter
classes to
OpenTelemetry.Exporter
namespace.
(#1770)
OpenTelemetry.Exporter.InMemory
OpenTelemetry.Exporter.Jaeger
- Moved
JaegerExporter
andJaegerExporterOptions
classes to
OpenTelemetry.Exporter
namespace.
(#1770) - Default ServiceName, if not found in Resource is obtained from SDK
using GetDefaultResource().
#1768 - Removed ProcessTags from JaegerExporterOptions. The alternate option is
to use Resource attributes.
OpenTelemetry.Exporter.OpenTelemetryProtocol
- Moved
OtlpTraceExporter
andOtlpExporterOptions
classes to
OpenTelemetry.Exporter
namespace.
(#1770) - Changed default port for OTLP Exporter from 55680 to 4317
- Default ServiceName, if not found in Resource, is obtained from SDK using
GetDefaultResource(). - Modified the data type of Headers option to string; Added a new option called
TimeoutMilliseconds for computing thedeadline
to be used by gRPC client for
Export
(#1781) - Removes Grpc specific options from OTLPExporterOptions, which removes support
for secure connections. See 1778
for details. - Endpoint is made Uri for all target frameworks.
OpenTelemetry.Exporter.Zipkin